#mrfede-reactstripejs-beta
1 messages · Page 1 of 1 (latest)
mrfede-reactstripejs-beta
@split sun no beta version no but it should still just work
Hi @exotic heath !
I cant do this ```const stripe = useStripe();
const handleSubmit = async (event) => {
...
const result = await stripe.updatePaymentIntent({elements});
...
};```
stripe.updatePaymentIntent doesnt seem to exist
Im using the lastest version
how did you initialize Stripe.js? Did you do ```const stripePromise = loadStripe('pk_test_123', {
betas: ['server_side_confirmation_beta_1'],
apiVersion: '2022-11-15;server_side_confirmation_beta=v1',
});
but that doc doesn't use useStripe() right?
ah yeah sorry the tab switching wasn't working. So yeah looks like a bug right now sorry, I'll flag internally to get it fixed
Ok great, thanks!
Any ideas about how long it will take?
Just to decide whether to wait or maybe find another way to do the same thing
I can't tell you, likely a while
@split sun and that's not just a TS error right? You're saying that the call doesn't work even if you suppress/ignore the TS error itself?