#devops-payment_links
1 messages · Page 1 of 1 (latest)
hello! This isn't possible with Payment Links. If you want to pass in an existing Customer id, you would want to look into creating Checkout Sessions instead : https://stripe.com/docs/api/checkout/sessions
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
hello! This isn't possible with Payment Links, if you want to pass in an existing Customer id, then you'll want to make use of Checkout Sessions instead : https://stripe.com/docs/api/checkout/sessions
Okay,
can you guide me how can I implement checkout session in flutter?
is there any document for flutter?
We don't have official examples using Flutter. You can try searching online to see if there're any guides/samples out there
I used subscription method in flutter but when i proceed payment it's give me success response but invoice payment fail
invoice.payment_failed
what do you mean by proceed payment - what API call is this?
this one
'https://api.stripe.com/v1/subscriptions'
I can share event id which show the payment failed
sure, the event id would be helpful
evt_1LaIXGSIDrkMoaZ2ldFgUDwo
the error message when payment confirmation is attempted : As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports
make sure that your Customer has a name [0] and address [1]
[0] https://stripe.com/docs/api/customers/object#customer_object-name
[1] https://stripe.com/docs/api/customers/object#customer_object-address or https://stripe.com/docs/api/customers/object#customer_object-shipping
okay, if I pass only customer Id in subscription object it'll be fetch all required info automatically ?
yes