#JCoDog

1 messages · Page 1 of 1 (latest)

blazing finchBOT
dusk blade
white halo
#

How do I add this fee to the product? As the product already has a fixed price in the dashboard?

#

So I have a perk package like "200000 in game credits plus black ninja outfit" for a game that they buy, thats a set price of £20, how do I pass the cost of that back to the user without modifying the price in the dashboard to reflect that?

dusk blade
#

How are you integrating with Stripe?

white halo
#

php

#

I create a checkout session that uses the prices from pre-created products from the dashboard.

dusk blade
#

Yeah you can't really do this with Checkout. You'd probably need to create a one-time line item that is a sum of the fees of the other items in the session

white halo
#

I also don't want to pass the cost onto the user, just calculate the stripe fees to show them that we only recieve X stripe takes Y.

#

But if I ever do, I will look into one time line items.

dusk blade
#

Then you'd need to do that before you redirect to Checkout