使用卡库结帐API失败

  • 本文关键字:API 失败 rest paypal vault
  • 更新时间 :
  • 英文 :


如果我们使用Vault,我们将获得低于结帐订单API的异常。同样的卡工作很好,如果我们做支付从用户界面贝宝插件。我已经尝试从支付宝商家支持团队获得支持,但尚未收到任何回应。也尝试了不同的请求与多个卡,但问题仍然存在。我也看了开发者文档,但没有得到任何有用的信息。

URL: https://api-m.paypal.com/v2/checkout/orders

请求:


{
"intent": "CAPTURE",
"purchase_units": [
{
"amount": {
"currency_code": "USD",
"value": "1.00",
"breakdown": {
"item_total": {  
"currency_code": "USD",
"value": "1.00"
}
}
},
"items":[
{
"name":"bottle",
"unit_amount":{
"currency_code":"USD",
"value":"1.00"
},
"quantity":1
}
]
}
],
"application_context":{
"brand_name":"MY STORE",
"shipping_preference":"NO_SHIPPING"
},
"payer":{
"email_address":"asddsafdasffads@as.es",
"address":{
"address_line_1":"asdf",
"address_line_2":"dsaf",
"admin_area_2":"Madrid",
"admin_area_1":"Madrid",
"postal_code":"28045",
"country_code":"ES"
},
"name":{
"given_name":"Vinxxx",
"surname":"Kamtxxxxx"
}
},
"payment_source": {
"card": {
"vault_id": "bxaqaknk"
}
}
}

反应:

{
"name": "UNPROCESSABLE_ENTITY",
"details": [
{
"issue": "PAYMENT_DENIED",
"description": "PAYMENT_DENIED"
}
],
"message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
"debug_id": "72cb109aaf274",
"links": [
{
"href": "https://developer.paypal.com/docs/api/orders/v2/#error-PAYMENT_DENIED",
"rel": "information_link",
"method": "GET"
}
]
}

PayPal拒绝付款。该卡的所有者可以联系PayPal寻求支持,这不是技术问题。

相关内容

  • 没有找到相关文章

最新更新