#aman-soni_api

1 messages ¡ Page 1 of 1 (latest)

modern laurelBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1313383785378742353

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

heady wing
#

Hi there, PaymentIntent doesn't carry the information for tax calculation. You might want to consider using products (e.g., checkout, payment link, billngs and invoices) that support Stripe Tax so that Stripe can automatically calculate the tax for you.

summer skiff
#

For example, if the product price is $120 AUD and the customer is paying that amount, I want the full $120 to be credited to me. However, I would like to charge the customer the Stripe processing fees in addition to the product price.

heady wing
#

If you use Invoices for example, Stripe will caluclate the tax and include in the final amount. Can I suggest you to try it out?

#

However, processing fee can only be determined when the payment is confirmed. There's no API available to calculate it upfront.

summer skiff
#

but the invoice will be created after the transaction right i want want to show the price including taxes before transaction is processed

#

to the customer

heady wing
#

You can set invoice's collection_method to send_invoice if you don't want to charge the customer immediately.

summer skiff
#

okay is there any document which i can refer to know the price they deduct according to location and payment method so i can do some calculations for this

heady wing
summer skiff
heady wing
#

It's to send an invoice to a customer for manual payment

summer skiff
#

and i will get the whole amount for my app in that case?

heady wing
#

Let's use an example

#

The subtotal of an invoice is $100, the tax is 10%, so the total amount of the invoice is $110.

#

Let's say the processing fee is $2, the funds that will be credited to your account will be $110 - $2 = $108

summer skiff
#

got it... i have one more question do stripe charge the tax on the product actual price too or it just charge the tax on the stripe processing fees?

heady wing
summer skiff
#

sure thank you.

#

one more question let say i have $120 which i am charging from a customer and i have also included stripe processing fee and tax by doing some calculations and knowing the tax price by some documentation now i am charging customer $124.50 including taxes and stripe fee but when the user will proceed stripe will again add the tax and processing fee to the new amount $124.50 how to tackle that.

heady wing
#

I don't quite understand your latest question, can you rephrase?

summer skiff
#

If I am charging the customer $124.50, which already includes the $120 product price, taxes, and Stripe processing fees, how can I prevent Stripe from adding the tax and processing fees again on the new amount of $124.50 when the user proceeds with the payment?

heady wing
#
  1. You can just use PaymentIntents API directly if you want to opt-out tax calculation
  2. No, you can't avoid processing fee
summer skiff
#

so that simply means i can't charge the processing fees from the customer if i don't want to go with that invoice approach then right?

heady wing
#

To be clear, the PaymentIntent amount already includes the processing fees, which is transparent to your customers. You should consider processing fees as cost to your business.