#hendr1x_api
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/1343606045578100758
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- hendr1x_api, 2 days ago, 16 messages
- hendr1x_api, 4 days ago, 11 messages
- hendr1x_api, 5 days ago, 9 messages
Hi ๐ deleting Payment Methods isn't a thing, so I'm not sure I grasp what you're referring to when you say you delete the Payment Method.
But in general, a Payment Method can only be reused if it was attached, and is still attached to a Customer. Detaching a Payment Method from a Customer makes it unusable, and if you attempt to charge it again you'll encounter an error indicating the same.
Please explain what will happen in this scenerio. I create a paymentIntent with a paymentMethod attached. I delete the paymentIntent. I attempt to create another paymentIntent with the original paymentMethod.
What do you see when you try that in test mode?
Do you attach the Payment Method to a Customer first? What state is the first Payment Intent in when you delete it? And actually, do you mean you cancel the Payment Intent, since those also can't be deleted?
None of the code I am working on is going to be runnable for a while. PaymentMethod is not attached to customer. PaymentIntent status is 'requires_confirmation'. Yes I mean cancel paymentIntent.
We offer the CLI for rapid testing if you have particular scenarios you just want to quickly poke on:
https://stripe.com/blog/stripe-cli
If you didn't confirm the initial Payment Intent, then I'm pretty sure the Payment Method is not consumed and can still be used.
Thanks for your help. I appreciate it.