#.strawht
1 messages · Page 1 of 1 (latest)
Hi there
By fetching payment methods do you mean a backend call?
Or could you elaborate a bit more about this adding / fetching delay part? 🙂
fetching payment methods:
Using this on iOS
Adding payment method via setup intent with payment sheet
https://stripe.dev/stripe-ios/stripepaymentsheet/documentation/stripepaymentsheet/
I see, but what does it mean for delay between adding and fetching?
let's say I've added a credit card.
Immediately after I call listpaymentMethodsForCustomer, this method returns empty. If i wait ~30 seconds and then make the same call it will provide the payment method I had added
Ahh I see. Yes it seems to take time to update the Customer object. Just curious if you, immediately after, call the List Payment Method via backend, would you see it's updated?
(I guess it's the same, but worth trying)
are there other alternatives?