#amit_invoice-multicurrency

1 messages ¡ Page 1 of 1 (latest)

modern lintelBOT
boreal dewBOT
#

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.

modern lintelBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247198604494377124

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

primal sphinx
#

Hello

#

What integration are you using here?

arctic vortex
#

Hey

primal sphinx
arctic vortex
#

stripe checkout in setup mode for sepa_debit payment method

primal sphinx
#

Ah in setup mode -- there is no currency conversion involved in that case

#

As you aren't taking payment, you are just collecting the PaymentMethod

arctic vortex
#

we're taking payment as well

#

using create invoice
invoice = await stripe.invoices.create({ customer: userInfo.stripeCustomer, auto_advance: true, currency: 'eur', collection_method: 'charge_automatically', pending_invoice_items_behavior: 'include', default_payment_method: userInfo.stripePaymentID, metadata: { client_reference_id: process.env.ENV_NAME + '_' + userInfo.id }, });

#

Here in currency we use default USD but for sepa_debit I'm using euro

#

so I want to know if stripe did this conversion on their side for USD to EURO

primal sphinx
#

Ah I see.

#

No, we don't have any way to automatically handle that conversion for you in this flow

#

Does that Invoice get created immediately?

#

Or later on?

arctic vortex
#

Yes it created it

#

so I have to convert it on my side outside and then pass it?

primal sphinx
#

You create the Invoice to charge the customer immediately after collecting their PaymentMethod?

arctic vortex
#

Yes

#

and it was for future as well

#

i save the payment method for future use and auto charge based on the amount of customer purchase

primal sphinx
#

Okay so it isn't just one-time at time of Checkout then

#

That is what I wanted to clarify, because if that was the case then you could use Adaptive Pricing like I linked above

#

But in this case you do have to do the conversion yourself

#

We don't perform that for you

arctic vortex
#

How your this create price work?

#

because our customer always add currency based on their need it's not fixed

primal sphinx
#

You would create a Price with all the currencies you support, then you indicate the Price of the currency on the Invoice (as you do above) and it will use the correct currency on your Price

arctic vortex
#

how much stripe charge fees for it?

#

after the payment is done do I have to delete this price or auto delete it?

primal sphinx
#

There aren't any fees here

#

And no you don't delete the Price -- you just set it one time on the Price

#

I'd recommend testing it out

#

That will give you the best sense of how it works

arctic vortex
#

create invoice

primal sphinx
#

You create an Invoice Item with that Price

arctic vortex
#

Okay, got it thanks, let me try that.

modern lintelBOT