diff --git a/class-rcp-payment-gateway-stripe-elements.php b/class-rcp-payment-gateway-stripe-elements.php index 7e6c194..83b7fb0 100644 --- a/class-rcp-payment-gateway-stripe-elements.php +++ b/class-rcp-payment-gateway-stripe-elements.php @@ -29,7 +29,7 @@ public function fields() { 'style' => array( 'base' => array( 'fontFamily' => 'Arial, sans-serif', - 'fontSize' => '15px', + 'fontSize' => '16px', 'color' => 'black', ), 'invalid' => array( @@ -42,7 +42,7 @@ public function fields() {
-
+

@@ -56,7 +56,7 @@ public function fields() { elementsArgs = ; // Create and mount the card - card = elements.create( 'card', ); + card = elements.create( 'card', elementsArgs ); card.mount( '#card-element' ); // Listen for errors during type in Stripe Elements @@ -146,4 +146,4 @@ public function scripts() { * @return void */ public function validate_fields() {} -} \ No newline at end of file +}