checkout-sdk-js
checkout-sdk-js copied to clipboard
Stripeupe Payment Initialization Error: The following betas are not recognized for Stripe () Parameter
Describe the bug bigcommerce/checkout-sdk version": "1.346.0
When initializing the stripeupe
gateway using the card
method, an error is thrown from Stripe

In the source code you can see these betas being added:
https://github.com/bigcommerce/checkout-sdk-js/blob/eabb2f3faa02be36dc9beac5f4df3ee6bbedbca2/packages/core/src/payment/strategies/stripe-upe/stripe-upe-script-loader.ts#L29
This is how I am initializing the payment method, which I believe is correct.
const options = {
methodId: 'card',
gatewayId: 'stripeupe',
stripeupe: {
containerId: 'checkoutButton--card',
onError: (error) => {
console.log("stripeupe render error", error)
},
},
}
await service.initializePayment(options);
Hey @AlanMunozN can you please help look at this issue?
Hey @animesh1987, we'll create a ticket to review that
Hi @fresh5447, the error is not related to the betas version, we'll check the options and as soon as possible give an answer
Thanks @AlanMunozN - appreciated!
Hey @fresh5447 I think the issue is related to a missing function called render
could you please try adding a function for render?
@bigcommerce/team-checkout was this looked into and resolved?