#hendr1x_api

1 messages ยท Page 1 of 1 (latest)

final briarBOT
#

๐Ÿ‘‹ 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.

upbeat cypressBOT
valid laurel
#

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.

pallid dew
#

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.

valid laurel
#

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?

pallid dew
#

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.

valid laurel
#

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.

The Stripe CLI is a developer tool that helps you build, test, and manage your Stripe integration right from the terminal.

pallid dew
#

Thanks for your help. I appreciate it.