#moo-upcoming-currency

1 messages · Page 1 of 1 (latest)

hot cosmosBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

subtle delta
#

moo-upcoming-currency

craggy tusk
#

additionally, I don't seem to see a log for this for some reason.

#

But I got the error back?

subtle delta
#

Logs are for POST requests only by defaut, you have to look at GET requests to find it

#

Can you provide a real request id req_123 instead of just a picture so I can have a look?

craggy tusk
#

you'are a genius!

#

req_c4Tm5fNEGKfMxL

#

i didn't realize that they were being filtered

#

do u see how the "currency" is being passed in with "zar"

#

Do i have to pass it in in a different way as well so that the discount would understand it?

subtle delta
#

No I think that's just not supported today

craggy tusk
#

oh what.

#

Is there a workaround you can suggest?

#

similar to this?

subtle delta
#

I don't see you passing currency anywhere in that request right?

#

like your picture of code has somethingbut this request definitely doesn't have it

craggy tusk
#

no this does

#

this request has "zar" in it

#

which is my currency that i'm passing in

#

oh you mean on the discounts?

#

yeah I don't see it in there, but its in the susbcription item.

#

It definitely works on subscriptions, which is weird, e.g. see this req_id:
req_GQBm8lrIhkVQ57

#

do u think if I pass it in as a coupon, it would work?

#

(instead of a "discount")

hot cosmosBOT
craggy tusk
#

i'm not fully sure what ur trying to say here

subtle delta
#

I just linked you to a parameter. Can you try passing that parameter with the exact currency you are trying to simulate?

craggy tusk
#

i am

#

that was the original screenshot I sent

subtle delta
#

I mean it's a picture of code

craggy tusk
#

do you want me to send it with 'zar' specifically?

subtle delta
#

that picture of code has no top-level currency parameter right?

craggy tusk
#

it actually does

subtle delta
#

you pass currency: 'zar' inside price_data which configures a Price dynamically but you didn't pass it top-level

craggy tusk
#

the picture of code shows me passing in currency to it top-level, that's just where it ends up in the request

subtle delta
#

sure, that's a picture of code though 🙂

#

that code has a variable, which is likely empty since the picture of the real parameters received by our API does not have this

craggy tusk
#

i see

subtle delta
#

or that picture of code is not what made the request you sahred a picture of (which is also possible)

craggy tusk
#

i'm sure it is the code that made the request, but perhaps it is empty

craggy tusk
#

quick update (and thanks for all the help!!), it was just the coupons field that needed the discount.

The currency was passed, but if you pass the discount through the discount: [] object, it doesn't know what the currency is.