php - 2使用韩元货币结账

标签 php html paypal payment-gateway 2checkout

我想将 2checkout 支付网关与我的网站集成。我已经开设了一个沙盒帐户。我制作了一个如下所示的 HTML 页面,它正在运行:

<form action='https://sandbox.2checkout.com/checkout/purchase' method='post'>
<input type='hidden' name='sid' value='901249407'>
<input type='hidden' name='quantity' value='1'>
<input type='hidden' name='product_id' value='1'>
<input type='hidden' name='currency_code' value='USD'>
<input name='submit' type='submit' value='Buy from 2CO' >
</form>

我需要在我的网站上用韩元支付。所以我将 currency_code 设置为根据此文档支持的 KRW: https://www.2checkout.com/documentation/payment-api/create-sale

但它给出了一个内部服务器错误

Internal Server Error

你们能建议我如何添加韩币支持吗?为什么会出现错误?

最佳答案

KRW 目前无法在我们的沙盒环境中进行测试,我已回复您的内部问题单,因此请查看该信息,因为它提供了解决方法。

关于php - 2使用韩元货币结账,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40967461/

相关文章:

php - Smarty 上的价格数字格式

html - 底部边框的边距

javascript - 每次用户重新加载页面时,让 html5 地理定位请求许可

Paypal 多币种并行支付

paypal - 我可以在新的 PayPal 开发者账户中的哪个位置获取 API 凭据?

php - 使用内部连接删除行

php - 处理 php 形式的撇号时遇到问题

php - Outlook 2003 不接受 .ics 文件

javascript - jQuery 验证不适用于输入数组

Paypal 快速结帐 API : Get transaction total in local currency