#Daniele

1 messages · Page 1 of 1 (latest)

steep salmonBOT
split shell
#

Hello 👋
Not sure, can you share the request ID for your dashboard where you are seeing this error?

mighty moon
#

It's on a connected account on our platform, not sure i have a request id, one moment

#

@split shell how can i get the request ID?

split shell
#

what type of connected account is this? Can you share its account ID?

mighty moon
#

req_BrN60b3VhgRAci

#

correction! it seems to be happening during a coupon creation, not subscription checkout

split shell
#

Ah I think it doesn't like the currencies just out in the open

mighty moon
#

yep, now it returns The coupon default currency (usd) does not match the line item currency (gbp).

#

does this mean that even if i specify all the possible currencies, the coupon must always have the correct inline item currency? doesn't make much sense

split shell
#

can you share the request ID again?

#

I mean for the new request

mighty moon
#

here: req_0jCNewN5clsN9u

split shell
#

I am curious if the API throws an error if you don't set the currency: usd on the coupon and just pass that in to currency_options instead

#

hmm yeah maybe it will throw an error 🤔

mighty moon
#

seems to be required on create coupon

split shell
#

hmm thinking..

split shell
#

okay thanks for waiting @mighty moon
I reached out to a colleague and I think we know why this is happening

#
#

You basically need to have the same default currency option on the price and the coupon (gbp)
It’s a tricky matrix, but if you're using multi currency objects you should basically create all objects with the same default currency

mighty moon
#

alright got it, thank you!