#Dayman
1 messages · Page 1 of 1 (latest)
Can you share the code where you initialise Stripe.js?
{
betas: ["cart_beta_1"],
}
);```
I followed the example in the docs
All the API routes work fine, the cart_session cookie get set and I can see that the cart is initialised properly.
One second
Sure thing
Yeah I think the docs are wrong and the error message is accurate. Specifically:
In order to access this beta feature, you must explicitly specify which version of the beta you want, by passing an HTTP header "Stripe-Version: 2020-08-27;cart_sessions_beta=v1\
const stripe = Stripe("pk_test_xxx", {
apiVersion: "2020-08-27;cart_sessions_beta=v1"
betas: ["cart_beta_1"],
});
Should work
I am still getting the same error unfortunately.
Then I recommend you speak with the team directly (you should of got an email address when you were added to the beta). We don't really support betas directly here
Gotcha, thanks for the help anyway 😄 I'll see if I can get in touch with them
Sorry, not familiar with that beta/feature otherwise I'd have known