#Keval
1 messages · Page 1 of 1 (latest)
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Sure, as per the error, you can't save/attach payment methods to a Customer object like that anymore. You need to use a Setup Intent: https://stripe.com/docs/payments/save-and-reuse?platform=web
I am already using setup intent api
Then why are you making a call to the /attach endpoint? If you follow that guide correctly, that's redundant
setup intent without customer
Then you need to create the Customer first, and pass it to the Setup Intent creation. You're not doing that: https://dashboard.stripe.com/logs/req_6HJxmZdi7rDNdP
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes
Is there any thing related with usage: on or off session
because I am facing error too in dashboard
I don't understand the question
Yup, how does that relate to the screenshot?
I mean the issue what I am facing is related with this parameter or not?
The Dashboard error? No, you just can't initiate an off-session payment via the Dashboard
customer parameter is optional
It is, but you need to pass it if you want to save the payment method to a Customer. Otherwise you'll see the error you originally posted about
when this change happen?, it was working in my app and indian payment
It was earlier in the year, a required change to comply with RBI regulations. We reached out to all impacted merchants
I believe that endpoint still works for non-IN merchants, yes. But it's still not the recomended integration path
Using a Setup Intent with the customer parameter is. You should refactor your code
Yes, that's why I ask about other currency
Irregardless of country, the recommendation is the same. You shouldn't use the /attach endpoint
Okay, means First create customer api then id will be add into setup intent
right?
and it will work for all country payment
Correct yep
Okay thanks