#Aarashid1
1 messages · Page 1 of 1 (latest)
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
There is some particularity in International payments from India:
https://stripe.com/docs/india-accept-international-payments
Thanks for sharing. According to the error message:
As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports
You need to fill this information in order.
yes I know and I am passing the parameters in my code but then also it is not taking
do you know flutter dart?
can I send you the screen shot of my code
You need to set the customer (with its name and address) when creating the PaymentIntent from your backend .
In this request:
https://dashboard.stripe.com/test/logs/iar_8gQqrl5BxRcZnG
but I am just checking in test mode
Even in test mode, you need to set the customer fields:
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-customer
Please be mindful, I'm with you...
When you create the customer:
https://stripe.com/docs/api/customers/create
but the link which you are send it is written in different language I want code in dart
bro are you there?
You need to make the API call, like doing a http call with dart... like you did with PaymentIntents.
Could you please share the requestId?
I gave you the id
That's the id of the PaymentIntent object.
When you are doing this API call:
https://dashboard.stripe.com/test/logs/iar_8gQqrl5BxRcZnG
You need to create a customer and pass its Id to this API.
but how to do this in dart language
everywhere I search I find node ruby python code but not dart
how you did this request?
https://dashboard.stripe.com/test/logs/iar_8gQqrl5BxRcZnG
with the api https://api.stripe.com/v1/payment_intents
from my mobile app which i am making
Now you need to make the same call with https://api.stripe.com/v1/customers and passing the right parameters.
can I check this api in postman?
can you show me how to call this api in postman with body
You can refer to the curl reference and use it in Postman:
https://stripe.com/docs/api/customers/create?lang=curl
Yes could you please give more details?
can I send you the screen shot
Yes
??
You need to use x-www-form-urlencoded
https://stripe.com/docs/api?q=markedspartner#:~:text=accepts form-encoded request bodies