#MidnighttFoxx
1 messages · Page 1 of 1 (latest)
What error(s) are you seeing?
"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
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?
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
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
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?
i think there is something wrong with my backend and am investigating it currently
thank you for your timely responses
Sounds good. No worries