#JohnPot
1 messages · Page 1 of 1 (latest)
HI there, what ID do you refer to?
I want to connect our unique IDs to the specific transaction, so that let's say a client crashes but has already paid they won't retrieve again a payment intent to confirm another transaction
so for example when I do confirm(intent, payment_method) I want a third parameter that is unique, is this possible ?
You can attach a custom data to metadata (https://stripe.com/docs/api/metadata?lang=dotnet#metadata)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so that if it uses the same metadata the payment wont be repeated, regardless of the payment intent and method ?
No, this is a custom data that set by you.
https://stripe.com/docs/api/idempotent_requests?lang=dotnet#idempotent_requests I'd suggest you to make your request Idempotent to avoid duplicate charges
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
can I use anything similar for PaymentIntentConfirmOptions()
because I dont use the ChargeService
Sure, the usage of charges API here is just an example