#MidnighttFoxx

1 messages · Page 1 of 1 (latest)

trim mulchBOT
viscid aspen
#

What error(s) are you seeing?

delicate pagoda
#

"Init Payment Sheet Error code: Failed
You must provide either paymentIntentClientSecret or setupIntentClientSecret"

#

the error only happens if i try to use a currency other than usd

viscid aspen
#

That error is unrelated to currency though. It means you aren't passing the Payment Intent's client secret to init the payment sheet. Is this because creating the payment intent is also failing?

delicate pagoda
#

i think its failing because the currency is invalid

#

the only change in my new iteration of the code is changing the currency from only USD

viscid aspen
#

Can you share the Payment Intent then? The above error doesn't have to do with currency, so would need to see why creating the PI is failing

delicate pagoda
viscid aspen
#

Can you add some error handling or print out the result of creating that PI?

#

See if it's actually being created first

#

Then you can continue to trace the code and errors

#

If it is being created, can you share the PaymentIntent ID?

delicate pagoda
#

i think there is something wrong with my backend and am investigating it currently

#

thank you for your timely responses

viscid aspen
#

Sounds good. No worries