#ying-wang_webhooks

1 messages ¡ Page 1 of 1 (latest)

fleet dragonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1215524613576990730

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

brazen plankBOT
dense hornet
#

hello! no, Stripe will not wait for a webhook to return 200 response before marking the payment method as visible/active to users. The webhook is just to notify you, it's not a Stripe process that runs based off your response

frank hill
#

got it

#

so we have one issue, as we use Stripe checkout to add payment method. and when the checkout session finishes and return,

#

there is always some delay for payment method to show up from Stripe ListPayment API (therefore, our UI just show empty payments)

#

then the customer may keep adding credit cards mulitple times

#

Is there a recommendation how to handle this case properly?

dense hornet
#

Can you share an example request id where you've retrieved the corresponding PaymentMethods and you don't see any PaymentMethods returned?

frank hill
#

yeah

#

"evt_1OqaMkLZYTcA9IFhq8v3C7O7" , "evt_1OqaKtLZYTcA9IFhyoTU0aft", "evt_1OqaJmLZYTcA9IFhmv2rnmmB"

#

these 3 event IDs are happen around the same time, it is caused by one of our customer adding mulitple cards around the same time

dense hornet
frank hill
#

req_dhMZu8E3Zyvagq

#

hmm that is the payment page

dense hornet
#

i don't see any GET requests for the Payment Methods for this Customer