#chung_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ 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/1212621815147528232
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ 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. Thank you for your patience!
Unfortunately, card country is not returned in the Card Element. Can you share what you're trying to achieve?
The Amex rate on our account depends on the origin of the Amex cards. To display the correct surcharge, we need to detect the country of the card.
So if it is a national card, it will be x%, if it is an international card, it will be y%
For new customers, when they type in the card number and once it is completed, ideally we need to add the surcharge to the grand total and display it as a final grand total.