New payment attempt (retry)

Some orders are not accepted simply because the buyer makes a mistake when entering their card number. In this case, the payment is rejected, and very often the buyer abandons their cart. This situation is detrimental for the merchant as he or she loses a client''s order.

In case of rejected payment, the retry option allows the merchant to immediately offer their client to redo the payment on the same page, which simplifies the client''s journey and significantly increases the conversion rate.

By default, the REST API sets the retry to “3”, which means that the buyer can make 3 payment attempts.

When the buyer reaches the maximum number of authorized payment attempts, a message appears on the page to inform them about it and the fields can no longer be filled.

The merchant can also choose to redirect the buyer to a specific page. To do this, all you need to do is access the initialization parameters of the JavaScript Client and populate the kr-post-url-refused field with the URL of the desired return page.

How to modify the number of authorized payment attempts?

{
    "amount": 990,
    "currency": "EUR",
    "transactionOptions": {
        "cardOptions": {
        "retry": 1
    }
}