Paypal Java api - 信用卡付款 - 新加坡 (CURRENCY_NOT_ALLOWED)
Pay pal Java api - Payment by credit card - Singapore (CURRENCY_NOT_ALLOWED)
我正在使用 paypal java api 使用 SGD 进行信用卡付款,但出现以下错误。
错误代码:400 响应: {"name":"CURRENCY_NOT_ALLOWED","message":"Currency is not supported","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#CURRENCY_NOT_ALLOWED","debug_id":"d5473b485675e"}
我的示例请求是
{
"intent": "sale",
"payer": {
"payment_method": "credit_card",
"funding_instruments": [
{
"credit_card": {
"number": "1111111111111111",
"type": "mastercard",
"expire_month": 11,
"expire_year": 2018,
"cvv2": 111,
"first_name": "Joe",
"last_name": "Shopper",
"billing_address": {
"line1": "52 N Main ST",
"city": "Singapore",
"country_code": "SG",
"postal_code": "120210"
}
}
}
]
},
"transactions": [
{
"amount": {
"currency": "SGD",
"total": "7",
"details": {
"shipping": "1",
"subtotal": "5",
"tax": "1"
}
},
"description": "This is the payment transaction description."
}
]
}
SGD
不支持直接信用卡付款。
支持的货币:USD, GBP,CAD,EUR and JPY
https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/
新加坡商户接受直接信用卡的唯一选择是使用Hosted Sole Solution
我正在使用 paypal java api 使用 SGD 进行信用卡付款,但出现以下错误。
错误代码:400 响应: {"name":"CURRENCY_NOT_ALLOWED","message":"Currency is not supported","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#CURRENCY_NOT_ALLOWED","debug_id":"d5473b485675e"}
我的示例请求是
{
"intent": "sale",
"payer": {
"payment_method": "credit_card",
"funding_instruments": [
{
"credit_card": {
"number": "1111111111111111",
"type": "mastercard",
"expire_month": 11,
"expire_year": 2018,
"cvv2": 111,
"first_name": "Joe",
"last_name": "Shopper",
"billing_address": {
"line1": "52 N Main ST",
"city": "Singapore",
"country_code": "SG",
"postal_code": "120210"
}
}
}
]
},
"transactions": [
{
"amount": {
"currency": "SGD",
"total": "7",
"details": {
"shipping": "1",
"subtotal": "5",
"tax": "1"
}
},
"description": "This is the payment transaction description."
}
]
}
SGD
不支持直接信用卡付款。
支持的货币:USD, GBP,CAD,EUR and JPY
https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/
新加坡商户接受直接信用卡的唯一选择是使用Hosted Sole Solution