#jd-dev_api

1 messages ¡ Page 1 of 1 (latest)

obtuse beaconBOT
#

👋 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/1358660461830082570

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

spiral needle
#

No, because processsing fees can only be determined when a payment is successfully captured.

obtuse beaconBOT
karmic scroll
#

No unfortunately. But you can make a test Payment and then reverse-calculate

thick cove
#

it will always be same?

#

if i use your suggested method to reverse calculate?

karmic scroll
#

It should, on the same Payment Method

thick cove
#

ok another thing can using the payment intent api can i charge the fee on top of actual charge. lets say the amount i want to charge is $10 and the fee is $1. i can ask user weather he wants to pay the processing fee? can i use any argument on payment intent api to do that?

karmic scroll
#

Do you mean you want to pass on the processing fee to the customer?

#

I imagine you would have a check box, and based on the customer decision, you calculate again the amount so it give you $10 including or excluding processing fee

thick cove
#

yes

#

sorry for replying late

#

that's the thing i want which you describe above

#

the only thing is i won't calculate it myself stripe will just include the processing fee within the amount. because i can't possibly know what will be the stripe share before capturing the payment