#jesa-payment-intent-error
1 messages ยท Page 1 of 1 (latest)
@digital crag i have a stripe account that i've used for testing for a long time -- i don't ever recall setting a currency on it.
the only place i can find "USD" in the stripe settings, is under Payout Settings next to the bank account, but it doesn't seem it can be edited
i'm just not sure which setting causes this error:
The card_present source type with currency usd is not supported
i want to reproduce that error, and then confirm that my update fixes it
Exactly what the message lays out, you cannot use card_present and usd here. What call are you getting this error on?
i'm not asking for help how to fix the error ๐
i'm asking how to reproduce the error
i believe i have a fix but want to confirm it before deploying to production
Do you have the request ID that you got this error on before? (req_123)
i didn't get it, a merchant on my platform got it. but let me see if i can find it in logs
req_0WU88KWOU11Xbn
Thank you
Right so in the body of that request we received from you currency: "usd", payment_method_types: { 0: "card", 1: "card_present" },
yes, i have added a setting in our app where you can customize the currency
So as long as you create a PaymentIntent with currency set to usd and with card_present in your payment_method_types you will get this error
i want to test with an account using non-USD currency
how can i do that?
in test mode of course ๐
What's blocking you?
i don't know how to set the currency on the account
You don't, you create a separate account in Canada and then you will be able to see the error there right?
is it based on the physical address on the account?
Every Stripe account has a country associated with it, yes
you likely have a US Stripe account and your client has a Canadian Stripe account
Just create a brand new account and you can change its country
https://dashboard.stripe.com/register and then while you activate your account it will ask you for a country, not even needed to enter more details than this
ok, and just to be clear, can i temporarily edit the country anywhere in my existing account?
no you can't once the account has already been activated, you need a separate one
totally normal, I have hundreds of them :p
I have one in each country and then some that use or don't use Connect, some that have a different API version, webhooks, etc.
ok sure, thanks ๐
appreciate the help, just wasn't sure which account setting caused the currency error
Are you unblocked?
@north kraken not quite, i'm needing to fill out a lot of details on my new canadian stripe account before i can connect it
yeah i am connecting in test mode, and it's not allowing me to complete the connection without filling out more details
submit button is greyed out, and sections are marked red
Sorry you never mentioned Connect before and now I'm a bit confused
if you use Connect, you can createa CA account via the API and then run a transaction on it
it's connect with standalone accounts
mentioned in my original question ๐
we don't create accounts
Hello! To clarify, the easiest way to test this is to use the Accounts API to create a new Standard account and specify the country as CA: https://stripe.com/docs/api/accounts/create
That will create a new Standard account that's connected to your platform in test mode, and you can then immediately make test mode requests with it.
That way you don't have to go through onboarding, the OAuth flow, or anything like that.
ok! i'll try it, plz keep this thread open ๐
Okay, let us know how it goes!
@dusty spade this worked for me, thanks for the help!