#mohamad_eghlima
1 messages · Page 1 of 1 (latest)
Hello! You can't set the default currency for a Customer. Typically the correct currency is chosen at the time the Price is used. Can you tell me more about what you're building?
oh! ok, we have a setupIntent for off_session usages rendered in our checkout by Stripe js library.
After the setupIntent successfully finishes, we get the setupIntent webhook and there were are subscribing the user to whatever plan he selected. The plans are all monthly and recurring. They all have two currencies, CAD and USD
So you are saying, i should apply the currency in the time we are creating the subscription in the webhook for successful setupIntent?
because I could see the currency in the customer object, i thought it is possible in a way to set it: https://stripe.com/docs/api/customers/create
No, you can't set the currency on the Customer. Customers used to have a specific currency that was assigned to them after their first transaction, and that concept still exists, but we're moving away from tying a Customer to a specific currency.
ok , so i should apply it on the subscription creation?
thanks a lot