#red_api
1 messages · Page 1 of 1 (latest)
👋 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/1386888489756524574
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- red_api, 7 hours ago, 12 messages
- red_best-practices, 4 days ago, 4 messages
- red_node-javascript-browser, 5 days ago, 32 messages
Hi! Do you have a payment intent?
yep, let me upload in a file as it's too long
I just need the object ID starting with pi_
ah, too late
oh
I see it
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic",
"surcharge": {
"maximum_amount": 6180,
"status": "available"
}
},```
is the surcharge.maximum_amount ever LESS than 3%?
It depends on the country. For example Canada has 2.4%: https://docs.stripe.com/payments/collect-surcharges?payment-ui=payment-element&lang=node#availability
Access to docs.corp.stripe.com was denied
Apologies! You can click on it again.
got it, thanks!
is this with a company in Canada, or someone using a Canadian credit card?
These countries are where the Stripe account is located.
gotcha
I'm a bit confused as to how I show the appropriate rate in the UI?
I need to look up the rate based on the card that they entered it seems
do you have any suggestions?
The rate is already provided in the document: https://docs.stripe.com/payments/collect-surcharges?payment-ui=payment-element&lang=node#availability
You can determine what rate you are charging your customer as long as it doesn't exceed that country's max %.
it's card specific, though, no?
we are in the US
was planning to just surcharge 3% for cc's
but am I out of compliance if someone uses a Canadian card?
oh!
I completely misread your statement above
These countries are where the Stripe account is located.```
so we're good then
btw, I enabled receipts on our testing account...and I'm not seeing them be sent when I test my integration
what's the best way to figure out what is wrong?
the PI I posted should have had receipt sent
Test payments don't have receipt sent out: https://docs.stripe.com/receipts
Test payments created using your test API keys don’t automatically send receipts. Instead, you can view or manually send a receipt using the Dashboard.```
ah, gotcha, thanks
I was manually applying surcharging. Now I'm in the beta, if I switch to the early access implementation, the surcharge will show in the receipts automatically, correct?
I can assist with technical integration questions related to the API. I am not too sure about what may appear in the receipt. I would recommend writing to Support for this. I will send you a link where you can file a ticket with the support team and they can assist you from there.
We wish we could help, but you need to talk to Stripe support
We can only help on Discord if all of the following are true:
- 🧑💻 You must be a developer
- 🛠️ Your question must be about building a Stripe integration
- ⚙️ Your question must be technical/developer focused
- ⏱️ You must be available to respond in realtime
- 👥 You must be comfortable receiving help in public (this is a public server)
If any of those aren't true please contact Stripe support.
If all of those are true we may have misunderstood your question; please provide more details below.
Note that using an inappropriate button or submitting inappropriate information is a violation of our rules. You will be removed from this server if you repeatedly create invalid threads.
Is there specific email for surcharge beta?
No, there isn't.
⛔️ Stripe developers have stepped away for a short while
Please leave your questions here, and we’ll respond as soon as we're back! If you need help urgently, you can contact Stripe support for help.