I`ve been testing our ACDC integration in sandbox using this document https://developer.paypal.com/tools/sandbox/card-testing/#link-rejectiontriggers and had a strange result: {
"id": "8EL31122E2728001L",
"intent": "CAPTURE",
"status": "COMPLETED",
"payment_source": {
"card": {
"last_digits": "[removed]",
"brand": "AMEX",
"type": "CREDIT"
}
},
"purchase_units": [
{
"reference_id": "873765",
"amount": {
"currency_code": "USD",
"value": "15184.68",
},
"payments": {
"captures": [
{
"id": "5TW18174U3504103U",
"status": "DECLINED",
"amount": {
"currency_code": "USD",
"value": "15184.68"
},
"final_capture": true,
"seller_protection": {
"status": "NOT_ELIGIBLE"
},
"seller_receivable_breakdown": {
"gross_amount": {
"currency_code": "USD",
"value": "15184.68"
},
"paypal_fee": {
"currency_code": "USD",
"value": "393.77"
},
"net_amount": {
"currency_code": "USD",
"value": "14790.91"
}
... so i see COMPLETED capture, but DECLINED capture. I`ve never seen statuses other then PENDING in sandbox and COMPLETED in production. What shuld i do with this statuses? I`m pretty sure we shuldn`t accept DECLINED capture as success payment , but is it fail? Shuld we display error to customer? Is there another possible values and what shuld i do with em?
... View more