#jean-baptiste-r_docs
1 messages Ā· Page 1 of 1 (latest)
š 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.
Hi, have you tested this yet, https://docs.stripe.com/payments/alma/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api#web-fulfillment?
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... š¤
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
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)
Hello
You can add more logic depending on the payment method type, but with Alma not the number of installments.
Thank you
For that, you'd want to use this integration guide: https://docs.stripe.com/payments/accept-a-payment-deferred
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.
This is interesting, thank you !
Sure
I have a last question @indigo glacier
Is it possible to "tell" Alma to add fees to the price ?
Hmm, you're passing the amount in the PaymentIntent so in a way you're doing that no?
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 ?
No there is not
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ā¬
Alright, thank you for your time !
Have a good day š