#nick-ece-applicationfee
1 messages · Page 1 of 1 (latest)
hey 🙂
application fee is set to 299 (£2.99)
but don't see any mention of this on the Express Checkout page
the application fee is purely internal to your app
it's not additive to what the customer pays
var details = { 'mode': 'payment', 'line_items[0][price]': priceID, 'line_items[0][quantity]': 1, 'payment_intent_data[application_fee_amount]': 299, 'payment_intent_data[transfer_data][destination]': clientID, ...
This is what I post to Stripe's API
nick-ece-applicationfee
OK
so if we wanted it to be an added cost...
we would need to do it on the Price object right?
I'm not sure which exact API you're using, the code examples you shared is likely specific to your app. But you you use the Create Checkout Session API https://stripe.com/docs/api/checkout/sessions/create then yes
yes using that
so im just wondering what best practice would be for adding on the application fee...
like do I setup a new Price object with the price set as the application fee?
There isn't really a best practice that I can recommend other than "hiding it" really
Most platforms, they don't show their fee to the end customer. When you pay on Apple or Amazon or Shopify they don't show you the price of the object and then separate their fee right?
Yeah in that case you do 2 separate Product and Prices I think
gotcha...
one more question
is there like a commission option?
to set application fee as % of the price?
no, it's always a set amount for one-time payments. We support percentages for Subscriptions (because you don't know the final amount on a recurring basis)