Recently in our Kentico 11 ecommerce site, we have some PayPal online orders where the customer received confirmation on their end that payment was successful however it was not treated as such in Kentico nor was payment ever received in our account after a lengthy delay. It was pending for some time but eventually appeared as 'cancelled' and the status of the orders became Payment failed in Kentico
I’ve tried to use PayPal API to get info for those failed payments but only found their status in denied state without any reason included.
{
"id": "PAYID-L4OUCQQ32191693F2591020A",
"intent": "sale",
"state": "approved",
"cart": "7SX16972HL495693F",
...
"transactions": [
{
"amount": {
"total": "1079.00",
"currency": "AUD",
"details": {
"subtotal": "999.00",
"tax": "0.00",
"shipping": "80.00",
"insurance": "0.00",
"handling_fee": "0.00",
"shipping_discount": "0.00"
}
},
...
"related_resources": [
{
"sale": {
"id": "2D095668HU075135V",
"state": "denied",
"amount": {
"total": "1079.00",
"currency": "AUD",
"details": {
"subtotal": "999.00",
"tax": "0.00",
"shipping": "80.00",
"insurance": "0.00",
"handling_fee": "0.00",
"shipping_discount": "0.00"
}
},
"payment_mode": "INSTANT_TRANSFER",
"protection_eligibility": "ELIGIBLE",
"protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE",
"transaction_fee": {
"value": "28.35",
"currency": "AUD"
},
...
}
}
]
}
],
"create_time": "2020-07-26T08:39:30Z",
"update_time": "2020-07-26T08:39:55Z",
}