I have a web app (clicflo.com).
I have integrated Stripe API in my Bubble app.
I’m using the Stripe API call “https://api.stripe.com/v1/payment_links” to create payment links.
In which I’m using the parameters “application_fee_amount” and “application_fee_percent” to take application fee from connected accounts.
And for example; I (clicflo admin) has set app_fee_percent = 3
Do you know at the time of creating the API call whether the customer will pay with card or bank, and if so, how do you know it, what are you using in the UI that denotes that or is it stored in the database somewhere?
No, I don’t know.
If I knew whether the customer would pay with a card or bank, then I could set a separate application fee as desired.
I understand the limitation lies with Stripe in enabling this feature. I have already confirmed this with Stripe support, and their response was that it is not currently possible. However, I’m asking here to see if anyone knows of any alternative methods to achieve this.
It is not possible to run an API call with a value that is required (ie: the application percentage fee) and make that dynamic without First knowing how the user is going to pay. If you knew how the user was going to pay, then when you run the API call it is simple to dynamically change the application fee percentage to match that of the payment method.
If you need this function, you need to implement as part of your Bubble app UI/UX a way for the user to stipulate how they are going to pay, and then you can run the API call to set the application fee accordingly as well as set the payment method through the API call as well so that they do not use an alternative payment method than the one original selected in your Bubble app UI/UX
It was good idea to do it. And I have tried this, but unfortunately Stripe API call doesn’t support to update “application fee” parameter in the payment link created.
Checkboxes…but I don’t know your UI/UX so it is hard to tell how to adjust, but if I were building this for a client who required this functionality I’d put together the UI/UX to enable it.