贝宝不接受INR货币时,我做信用卡支付https://api.sandbox.paypal.com/v1/payments/payment (邮寄法)
我试图使用INR货币进行支付,PayPal支持这种货币,但是获取货币不支持错误
注:使用印度Paypal帐户和主要货币是INR
**Request:**
{
"intent": "sale",
"payer": {
"payment_method": "credit_card",
"funding_instruments": [
{
"credit_card_token": {
"credit_card_id": "CARD-7MR51074AF730652RL4J724Y",
"expire_month": 0,
"expire_year": 0
}
}
]
},
"transactions": [
{
"amount": {
"currency": "INR",
"total": "11.61"
},
"description": "Monthly Subscription"
}
]
}
**Response:**
{
"name": "CURRENCY_NOT_ALLOWED",
"message": "Currency is not supported.",
"information_link": "https://developer.paypal.com/docs/api/payments/#errors",
"debug_id": "809873b4c9820"
}我试着在春季启动,贝宝依赖。
<dependency>
<groupId>com.paypal.sdk</groupId>
<artifactId>rest-api-sdk</artifactId>
<version>LATEST</version>
</dependency>谢谢你提前。
发布于 2020-07-19 09:40:43
https://stackoverflow.com/questions/62978513
复制相似问题