#Klavik

1 messages · Page 1 of 1 (latest)

lone pythonBOT
urban cedar
nova fox
#

the invoice was created from/by a subscription

urban cedar
#

Then you'll just need to void it

nova fox
#

okay, so there's no way to remove them from the UI? the subscription was created incorrectly by mistake and is now cancelled and these "draft" invoices hold no value

urban cedar
#

I'm afraid not

nova fox
#

okay, one more question though on a slightly different topic - when creating a new subscription for a customer, the customer should have the currency as BRL, however the product there (and the invoice that's generated after it) appears in EUR. even though the BRL currencies are set for that particular product (price)

#

am i missing something obvious?

urban cedar
#

Can you share some object IDs?

nova fox
#

which ones would you need?

urban cedar
#

The sub_xxx should be sufficient

nova fox
#

sub_1MM94FJxFhjLfjdlcsL5AEPF

#

this is the cancelled one from before (that had the same issue)

#

or would it be helpful to share a test mode one as well?

#

the customer's currency was set to BRL prior to the subscription creation, but after creating the subscription it changed to eur

#

sub_1MM9aAJxFhjLfjdlniRO6etK this is the test mode id just in case

dreamy frigate
#

in that case it's EUR because for whatever reason, the API request the dashboard makes passes currency:eur as a parameter

nova fox
#

hmm.. eur is the default currency for the product, but since the customer has brl set, should it not use the brl currency?

dreamy frigate
#

not sure, I don't really use the dashboard much here and amn't too famliar with what the UI does

#

presumably it uses the default currency for the product then

nova fox
#

okay im guessing it'd be possible to create that subscription through the API then, with the correct currency?

dreamy frigate
#

if you use the API then it just creates the subscription using the currency set on the Price object you pass or the currency parameter you pass , so you control it yes

nova fox
#

okay well, i can create the subscription through the API for now then i suppose, but is there a way to figure out why it defaults to eur?