#dangthanhtuan1997
1 messages · Page 1 of 1 (latest)
Vợ Iu ❤️, [29 Jan 2024 at 21:50:51]:
...mport { Elements, LinkAuthenticationElement, PaymentElement, useElements, useStripe } from '@stripe/react-stripe-js';
<LinkAuthenticationElement options={{ defaultValues: { email: email?.trim() || '' } }} />
<PaymentElement
id='payment-element'
options={paymentElementOptions}
onChange={element => {
paymentTypeRef.current = element?.value?.type || PAYMENT_TYPE.STRIPE;
if (element.complete && paymentError) {
setCheckoutStage(CheckoutStage.INITIAL);
clearPaymentError();
}
setFormValid(element.complete);
}}
/>
This is what I use
Got it so it's your code
Instead of refreshing and logging back in, have you tried just waiting a minute or so?
It may just take some time to propagate
I tried waiting more than 1 minute but it still doesn't update
Hm ok
So in the above video it looks like logging out and back in actually didn't help
The 3rd payment method still isn't in that list, right?
Got it. Sorry I'm not super familiar with this flow, but my colleague said they'd be able to take a look here in a minute
👋 stepping in here
We tried to reproduce this issue and we couldn't do so from our end. The next best step is for you to write into our Support team with a details explanation of what is happening (that video is very helpful) and to share all of your relevant code in that email so that we can investigate further.