This error may occur when the user doesn’t finalize the web payment within 30 minutes.
In such cases, the end user needs to do the payment again, without letting the session expire.
In the example below, the end user did not confirm the direct-debit.
{
"DirectDebitType": "SOFORT",
"Id": "157432298",
"Tag": null,
"CreationDate": 1669990280,
"ResultCode": "001034",
"ResultMessage": "User has let the payment session expire without paying",
"AuthorId": "146476890",
"CreditedUserId": "146476890",
"DebitedFunds": {
"Currency": "EUR",
"Amount": 1500
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 1488
},
"Fees": {
"Currency": "EUR",
"Amount": 12
},
"Status": "FAILED",
"ExecutionDate": null,
"Type": "PAYIN",
"Nature": "REGULAR",
"CreditedWalletId": "148968396",
"DebitedWalletId": null,
"PaymentType": "DIRECT_DEBIT",
"ExecutionType": "WEB",
"RedirectURL": "https://api.sandbox.mangopay.com/Content/PaylineTemplateWidget?rp=bf85f7648b344a36b7fccf56d8e68731&transactionId=157432298&token=1FXaHIwp31L4JECnR2611669990280971",
"ReturnURL": "http://www.my-site.com/returnURL/?transactionId=157432298",
"TemplateURL": "https://api.sandbox.mangopay.com/Content/PaylineTemplateWidget?rp=bf85f7648b344a36b7fccf56d8e68731&transactionId=157432298",
"Culture": "EN"
}
You can trigger this error in the Sandbox environment by using the iDEAL payment method.
{
"Tag": "custom meta",
"AuthorId": "146476890",
"CreditedUserId": "146476890",
"DebitedFunds": {
"Currency": "EUR",
"Amount": 300
},
"Fees": {
"Currency": "EUR",
"Amount": 12
},
"ReturnURL": "http://www.my-site.com/returnURL/",
"CardType": "IDEAL",
"CreditedWalletId": "148968396",
"SecureMode": "DEFAULT",
"Culture": "EN",
"TemplateURLOptions": {
"PaylineV2": "https://www.mysite.com/template/"
},
"StatementDescriptor": "Mar2016",
}
API response after payment confirmation
{
"Id": "157572820",
"Tag": "custom meta",
"CreationDate": 1670243988,
"AuthorId": "146476890",
"CreditedUserId": "146476890",
"DebitedFunds": {
"Currency": "EUR",
"Amount": 300
},
"CreditedFunds": {
"Currency": "EUR",
"Amount": 188
},
"Fees": {
"Currency": "EUR",
"Amount": 12
},
"Status": "FAILED",
"ResultCode": "001034",
"ResultMessage": "User has let the payment session expire without paying",
"ExecutionDate": null,
"Type": "PAYIN",
"Nature": "REGULAR",
"CreditedWalletId": "148968396",
"DebitedWalletId": null,
"PaymentType": "CARD",
"ExecutionType": "WEB",
"RedirectURL": "https://homologation-secure-p.payline.com/v2/?token=1S7SoK18M7OjRZXKG2271670243989131",
"ReturnURL": "http://www.my-site.com/returnURL/?transactionId=157572820",
"TemplateURL": "https://www.mysite.com/template/?transactionId=157572820",
"CardType": "IDEAL",
"Culture": "EN",
"SecureMode": "DEFAULT",
"StatementDescriptor": "Mar2016"
}