#Keval

1 messages · Page 1 of 1 (latest)

echo voidBOT
haughty flint
neon hill
#

Okay

#

req_RKJaY6EVoABl0a here it is

haughty flint
neon hill
#

I am already using setup intent api

haughty flint
#

Then why are you making a call to the /attach endpoint? If you follow that guide correctly, that's redundant

neon hill
#

setup intent without customer

haughty flint
neon hill
#

yes

#

Is there any thing related with usage: on or off session

#

because I am facing error too in dashboard

haughty flint
#

I don't understand the question

neon hill
#

usage is a parameter in setup intent

haughty flint
#

Yup, how does that relate to the screenshot?

neon hill
#

I mean the issue what I am facing is related with this parameter or not?

haughty flint
#

The Dashboard error? No, you just can't initiate an off-session payment via the Dashboard

haughty flint
#

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

neon hill
#

when this change happen?, it was working in my app and indian payment

haughty flint
#

It was earlier in the year, a required change to comply with RBI regulations. We reached out to all impacted merchants

neon hill
#

Okay

#

what about for other country?

#

will it work?

haughty flint
#

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

neon hill
#

Yes, that's why I ask about other currency

haughty flint
#

Irregardless of country, the recommendation is the same. You shouldn't use the /attach endpoint

neon hill
#

Okay, means First create customer api then id will be add into setup intent

#

right?

#

and it will work for all country payment

haughty flint
#

Correct yep

neon hill
#

Okay thanks