#Wurkzen

1 messages · Page 1 of 1 (latest)

warm mangoBOT
fathom current
#

Hello

#

You are using Direct Charges on Standard Accounts?

low dirge
#

Yes

fathom current
#

And when you say "pass on to the customer" you mean the end-customer correct? So you would increase the amount by that much so the end-customer covers it

low dirge
#

correct

fathom current
#

Gotcha

low dirge
#

exactly

fathom current
#

But yeah, adding a line item based on that calculation would be correct

#

You did say "custom checkout" but you are talking about line items... are you using Stripe Checkout?

low dirge
#

yes

#

correct

fathom current
#

Then yep

low dirge
#

Ok so we just add a line item when creating the checkout with "Processing fee" and the price being the result of the calculation?

fathom current
#

Yep, you can do it inline using price_data

low dirge
#

great, and will this create a product in the customers stripe everytime we send it?

#

Because we sync all of the products to use the appropriate stripe_id to prevent duplication

fathom current
#

It will, but it should create an archived product if you use product_data and create a new Product if I remember correctly.

low dirge
#

So wait, what should the appropriate approach be? Should we create a product for "Processing fee" and use that over and over again? Because we dont want to have thousands of "Processing fee" products in the account

fathom current
#

Yeah it mostly just depends on what you want. But that is likely how I would do it. Just have a Product ("Processing fee") created where you create in line Prices for it based on the Price amount

low dirge
#

hmmm... I wonder how we would do this without having to create a product on our end since we sync everything

#

ah i have an idea

#

ok, thank you Bismarck