vault backup: 2024-08-21 15:49:50
Affected files: Haina/项目/支付中心/PayPal.md Haina/项目/支付中心/atta/ACDC-order completed but capture DECLINED.json Haina/项目/支付中心/atta/p24-approved-but-not-completed.jsonmain
parent
358426079a
commit
600537f982
@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"id": "3UK49886FR148212C",
|
||||||
|
"amount": {
|
||||||
|
"currency_code": "USD",
|
||||||
|
"value": "2434.00"
|
||||||
|
},
|
||||||
|
"final_capture": true,
|
||||||
|
"seller_protection": {
|
||||||
|
"status": "NOT_ELIGIBLE"
|
||||||
|
},
|
||||||
|
"disbursement_mode": "INSTANT",
|
||||||
|
"seller_receivable_breakdown": {
|
||||||
|
"gross_amount": {
|
||||||
|
"currency_code": "USD",
|
||||||
|
"value": "2434.00"
|
||||||
|
},
|
||||||
|
"paypal_fee": {
|
||||||
|
"currency_code": "USD",
|
||||||
|
"value": "91.58"
|
||||||
|
},
|
||||||
|
"net_amount": {
|
||||||
|
"currency_code": "USD",
|
||||||
|
"value": "2342.42"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"invoice_id": "Leeky240603095_T10--6152",
|
||||||
|
"custom_id": "Leeky240603095_T10--6152",
|
||||||
|
"status": "DECLINED",
|
||||||
|
"processor_response": {
|
||||||
|
"avs_code": "I",
|
||||||
|
"cvv_code": "P",
|
||||||
|
"response_code": "5100"
|
||||||
|
},
|
||||||
|
"supplementary_data": {
|
||||||
|
"related_ids": {
|
||||||
|
"order_id": "3H623646XX6756252"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"payee": {
|
||||||
|
"email_address": "pays@chinahighlights.com",
|
||||||
|
"merchant_id": "JE4VX9SSVGTVN"
|
||||||
|
},
|
||||||
|
"create_time": "2024-08-16T02:44:31Z",
|
||||||
|
"update_time": "2024-08-16T02:44:31Z",
|
||||||
|
"links": [
|
||||||
|
{
|
||||||
|
"href": "https://api.paypal.com/v2/payments/captures/3UK49886FR148212C",
|
||||||
|
"rel": "self",
|
||||||
|
"method": "GET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"href": "https://api.paypal.com/v2/payments/captures/3UK49886FR148212C/refund",
|
||||||
|
"rel": "refund",
|
||||||
|
"method": "POST"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"href": "https://api.paypal.com/v2/checkout/orders/3H623646XX6756252",
|
||||||
|
"rel": "up",
|
||||||
|
"method": "GET"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,85 @@
|
|||||||
|
{
|
||||||
|
"id": "WH-2V201491592344547-65B94083P08646144",
|
||||||
|
"event_version": "1.0",
|
||||||
|
"create_time": "2024-08-14T09:19:29.387Z",
|
||||||
|
"resource_type": "checkout-order",
|
||||||
|
"resource_version": "2.0",
|
||||||
|
"event_type": "CHECKOUT.ORDER.APPROVED",
|
||||||
|
"summary": "An order has been approved by buyer",
|
||||||
|
"resource": {
|
||||||
|
"create_time": "2024-08-14T09:14:31Z",
|
||||||
|
"purchase_units": [
|
||||||
|
{
|
||||||
|
"reference_id": "default",
|
||||||
|
"amount": {
|
||||||
|
"currency_code": "USD",
|
||||||
|
"value": "992.00"
|
||||||
|
},
|
||||||
|
"payee": {
|
||||||
|
"email_address": "pays@chinahighlights.com",
|
||||||
|
"merchant_id": "JE4VX9SSVGTVN"
|
||||||
|
},
|
||||||
|
"description": "Booking Train Tickets",
|
||||||
|
"custom_id": "2408145045_B--2820",
|
||||||
|
"invoice_id": "2408145045_B--2820"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"links": [
|
||||||
|
{
|
||||||
|
"href": "https://api.paypal.com/v2/checkout/orders/5XE14628CJ283363K",
|
||||||
|
"rel": "self",
|
||||||
|
"method": "GET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"href": "https://api.paypal.com/v2/checkout/orders/5XE14628CJ283363K",
|
||||||
|
"rel": "update",
|
||||||
|
"method": "PATCH"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"href": "https://api.paypal.com/v2/checkout/orders/5XE14628CJ283363K/capture",
|
||||||
|
"rel": "capture",
|
||||||
|
"method": "POST"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"id": "5XE14628CJ283363K",
|
||||||
|
"payment_source": {
|
||||||
|
"paypal": {
|
||||||
|
"email_address": "a_p@autograf.pl",
|
||||||
|
"account_id": "Y4R2H4CBS2TZJ",
|
||||||
|
"account_status": "UNVERIFIED",
|
||||||
|
"name": {
|
||||||
|
"given_name": "Piotr",
|
||||||
|
"surname": "Pacy¨½ski"
|
||||||
|
},
|
||||||
|
"address": {
|
||||||
|
"country_code": "PL"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"intent": "CAPTURE",
|
||||||
|
"payer": {
|
||||||
|
"name": {
|
||||||
|
"given_name": "Piotr",
|
||||||
|
"surname": "Pacy¨½ski"
|
||||||
|
},
|
||||||
|
"email_address": "a_p@autograf.pl",
|
||||||
|
"payer_id": "Y4R2H4CBS2TZJ",
|
||||||
|
"address": {
|
||||||
|
"country_code": "PL"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"status": "APPROVED"
|
||||||
|
},
|
||||||
|
"links": [
|
||||||
|
{
|
||||||
|
"href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-2V201491592344547-65B94083P08646144",
|
||||||
|
"rel": "self",
|
||||||
|
"method": "GET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-2V201491592344547-65B94083P08646144/resend",
|
||||||
|
"rel": "resend",
|
||||||
|
"method": "POST"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue