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.json
main
Lei OT 11 months ago
parent 358426079a
commit 600537f982

@ -1,6 +1,6 @@
---
Created: 2024-04-24 Wed
Updated: 2024-08-21 15:12 Wed
Updated: 2024-08-21 15:44 Wed
---
### Merchant SERVER API
@ -17,7 +17,9 @@ Updated: 2024-08-21 15:12 Wed
### ACDC
1. [ ] PayPal本地支付没有结果, `APPROVED`之后无结果
2. [ ] 客人页面: ACDC 显示成功; 后续失败`DECLINED`
![](Haina/项目/支付中心/atta/p24-approved-but-not-completed.json)
2. [ ] 客人页面: ACDC 显示成功; 后续失败`DECLINED`
![](Haina/项目/支付中心/atta/ACDC-order%20completed%20but%20capture%20DECLINED.json)
### Google Pay

@ -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…
Cancel
Save