• France
status page
Demo shops
assistance
FAQContact support
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Homepage
Use cases
Create a payment
Create an installment payment
Create a multi-card (split) payment
Create a payment by Alias (Token)
Create a payment link
Create a recurring payment
Manage subscriptions
Manage your transactions (refund, cancel...)
Analyze your reports
API docs
Embedded Form
REST API
Hosted payment
Mobile payment
File exchange
SDD mandates by REST API
Snippets
Payment methods
Plugins
Marketplace
Guides
Merchant Back Office
Back Office Expert
Functional guides

Offering additional payment attempts

With full-screen redirection, the payment gateway can offer the "other payment attempt" button if the payment is declined (if the number of attempts is set to zero in the configuration).

The number of attempts is specified in your Expert Back Office.

When iframe mode is enabled, this behavior is not available.

You can nevertheless propose a new attempt on your return page (URL defined in the vads_url_return field) and display the iframe containing the payment page again.

Sample code on the return page:

...
<div>
<p> Payment declined . Would you like to try again?</p>
<input type="button" value="New attempt" onclick="window.parent.refreshIframe();">	
<input type="button" value="Cancel" onclick="window.parent.removeIframe();">	
</div>
...

Source code of the refreshIframe() function to be added on the page containing the iframe:

function refreshIframe(){
var iframe = document.getElementById('nameFrame');
iframe.src = iframe.src;
}

Jobs
Legal
GDPR
25.18-1.11