#wayo_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ 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/1296189777854337104
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
No attaching a new payment method to the customer won't affect processing payments
If a payment fails, is there an easy way to retry the payment with the new attached payment method?
If the payment method is an allowed payment method type on the payment intent, then yes
You'd just confirm the payment intent with a new payment method: https://docs.stripe.com/api/payment_intents/confirm#confirm_payment_intent-payment_method
Is there an api to check for processing payments for a customer with info like payment type?
You can list payment intents by customer: https://docs.stripe.com/api/payment_intents/list#list_payment_intents-customer
But it's up to you to look at status
Really you should use webhooks events to be notified of these things instead
We do use webhook events for successful or failed payments, but I was thinking of preventing a payment method update if a payment is pending. Now that I know it won't affect the processing payment, I might not, but want to keep that option open.
That's all the questions I had. Thanks for the help!