#leman0589

1 messages · Page 1 of 1 (latest)

gentle bladeBOT
scarlet fog
#

Hello, apologies for the delay. Can you show me what you are currently doing in your code? Adding tax to the amount should be fine as far as I know. Are you getting an error when you do this?

tropic zephyr
#

const paymentIntent = await stripe.paymentIntents.create({
amount,
currency,
payment_method_types: ['card'],
customer,
payment_method: card,
confirm: false, // set to false to place a hold on the card
}); where amount = product price + tax (calculated based on % )

#

can I collect tax by including it in the amount that will be charged to the customer?

scarlet fog