#jean-baptiste-r_docs

1 messages Ā· Page 1 of 1 (latest)

hearty girderBOT
#

šŸ‘‹ Welcome to your new thread!

ā²ļø We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

ā±ļø We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1319688392094646473

šŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

worldly meteor
#

Hey, I didn't tested a lot of things, I don't really know where to start

#

It looks like what I'm looking for, thank you !

#

Oh wait, not really what I was looking for

#

Okay... I don't know if what I wanted is possible.
I would like the specific fees (given by a specific plateform like Alma) to be paid by the client...

According to your link, I will create a paymentIntent with a specific method type (payment_method_types: ['alma']). But I can't know if the user will choose a payment in 2, 3 or 4 installments, and change the price depending on this... šŸ¤”

indigo glacier
#

From my testing, it does not look like we return that data and I think that is expected. You get the payment in full, but Alma manages the installments: https://docs.stripe.com/payments/alma

#

Since your account is already getting paid in full I do not think the data will be surfaced from Alma

worldly meteor
#

Ah I see...
These are not good news at all ...

#

So There's no way for me to add specific fees depending on the payment method...

#

@scenic surge (he is a co-worker)

scenic surge
#

Hello

indigo glacier
#

You can add more logic depending on the payment method type, but with Alma not the number of installments.

indigo glacier
#

You collect the payment method first, then you can look at the payment method type to add the fee, and pass the amount including the fee when you create the PaymentIntent.

worldly meteor
indigo glacier
#

Sure

worldly meteor
#

I have a last question @indigo glacier
Is it possible to "tell" Alma to add fees to the price ?

indigo glacier
#

Hmm, you're passing the amount in the PaymentIntent so in a way you're doing that no?

worldly meteor
#

No that's no what I meant sorry
I mean, Alma adds a specific fee depending on the payment (4 installments= 5.85% fee, 2 installments= 3.9% fee...) but this fee is deducted on the price given. It is possible to "ask" Alma to add this fee to the initial price instead of deducting it from the initial price ?

indigo glacier
#

No there is not

scenic surge
#

what my colleague means is that we would like alma to directly integrate the fees when the user selects a payment in several installments

If we imagine a payment of €100 in 2 installments, with 1% fees

Alma will display to the customer:

100€ => 50€ + 50€ + 1€ (alma fees) Total : 100€

worldly meteor