This error is triggered when the PayPal account owner did not confirm the payment within 3 hours and thus, the session expired.
In such cases, the end user needs to make a new payment and confirm it within 3 hours.
In the example below, the API response when calling the View a PayIn endpoint for a PayPal pay-in that expired without confirmation.
{
"Id": "163292941",
"Tag": "custom meta",
"CreationDate": 1677570225,
"AuthorId": "146476890",
"CreditedUserId": "146476890",
"DebitedFunds": {
"Currency": "EUR",
"Amount": 1200
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 1188
},
"Fees": {
"Currency": "EUR",
"Amount": 12
},
"Status": "FAILED",
"ResultCode": "201003",
"ResultMessage": "PayPal transaction approval has expired",
"ExecutionDate": null,
"Type": "PAYIN",
"Nature": "REGULAR",
"CreditedWalletId": "148968396",
"DebitedWalletId": null,
"PaymentType": "PAYPAL",
"ExecutionType": "WEB",
"RedirectURL": "https://www.sandbox.paypal.com/checkoutnow?token=7MD8888648851523J",
"ReturnURL": "http://www.my-site.com/returnURL/?transactionId=163292941",
"Culture": "FR",
"ShippingAddress": {
"RecipientName": "John Doe",
"Address": {
"AddressLine1": "The Oasis",
"AddressLine2": "Rue des Plantes",
"City": "Paris",
"Region": "Ile de France",
"PostalCode": "75001",
"Country": "FR"
}
},
"PaypalBuyerAccountEmail": null,
"StatementDescriptor": "Nov2022"
}