Error messageUser has let the payment session expire without paying
DescriptionThe user has let the payment session expire.
Categories
Web pay-in

Causes

This error may occur when the user doesn’t finalize the web payment within 30 minutes.

What to do

In such cases, the end user needs to do the payment again, without letting the session expire.

Example

In the example below, the end user did not confirm the direct-debit.

API Response
{
    "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"
}

Testing

You can trigger this error in the Sandbox environment by using the iDEAL payment method.

See testing information

You just need to enter 200 for the debited fund’s Amount parameter.

Call example
{
"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"
}