-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Description
Describe the bug
I recently upgraded my Stripe API from stripev3 to stripeupe.
checkoutService.initializePayment({
methodId: 'card',
gatewayId:'stripeupe',
stripeupe: {
containerId: 'stripeupe-container',
options: {
cardNumberElementOptions: {
classes: {base: "form-input optimizedCheckout-form-input"},
placeholder: "",
showIcon: false,
containerId: 'stripe-card-number-component-field',
},
cardExpiryElementOptions: {
classes: {base: "form-input optimizedCheckout-form-input"},
containerId: 'stripe-expiry-component-field',
},
cardCvcElementOptions: {
classes: {base: "form-input optimizedCheckout-form-input"},
placeholder: "",
containerId: 'stripe-cvc-component-field',
},
}
},
});
I'm using @bigcommerce/checkout-sdk-js I was using this code to initialize the Stripe card field won't show. Is this the right way to initialize the StripeUPE form fields?
Thank you in advance.