554114
4
Verklein
Vergroot
Pagina terug
1/5
Pagina verder
How to Implement
Redirection-based payment methods, such as PayPal and iDEAL, cannot be framed in. The rationale is that
these payment methods are well-known and trusted consumer brands, which don't want to be framed in at
another customer-facing site. For Adyen as a business-to-business brand, this is much less an issue, if the right
security practices are followed.
The goal for the merchant is to keep maximising conversion, even with external payment pages. The following
section explains how more control over the payment flow is realised with external payment pages.
Using JQuery with External Payment Pages
JQuery (http://www.jquery.org) offers an easy way to obtain a little more control over the external pages of a
redirection-based payment method. This is done by replacingthe actions for submit buttons for redirection-
based payment methods. In the following example, we show how this can be done (this is code that you can
insert into your skin):
<script type="text/javascript">
$(".paySubmitpaypal, .idealButton, .paySubmitideal").click(function() {
var paymentWindowReference = window.open('', 'paymentWindow',
'location=no, toolbar=no, directories=no, resizable=yes, status=no,
menubar=no, scrollbars=yes, width=1100, height=652');
paymentWindowReference.focus();
$("#pageform").attr("target", "paymentWindow");
window.location.href = "https://www.merchanturl.com/adyen/extsite";
});
</script>
First, the function defines what happens if a customer clicks on of the buttons for PayPal or iDEAL. A new
window is opened called 'paymentWindow', which shall contain the redirection-based payment screens. This
window is stripped from toolbars and scrollbars.
This example shows furthermore how the target of the form pageform is set to our newly opened window.
This means that the PayPal or iDEAL banking page will be opened in the new window named
paymentWindow.
At the same time when opening this payment page, the contents of the iFrame are replaced by
/adyen/extsite which can hold a message like 'You have been redirected to an external payment site' and
possible further instructions.
In this case, the result url will also be displayed in the paymentWindow.
Dealing with 3D-Secure
If your account uses 3D Secure then you can change a setting in the Adyen backoffice to make sure that the 3D
Secure window is displayed in the iFrame. The setting to use is:
Skins > [skin code] > Skin Options > Use Inline frame for VbV and MSC 3-D Secure interaction
Turn this option on when using iFrames.
Please note that individual issuing banks might prevent their 3D-Secure pages from being framed in.
4 Copyright © Adyen B.V. 2011
4

Hulp nodig? Stel uw vraag in het forum

Spelregels

Misbruik melden

Gebruikershandleiding.com neemt misbruik van zijn services uitermate serieus. U kunt hieronder aangeven waarom deze vraag ongepast is. Wij controleren de vraag en zonodig wordt deze verwijderd.

Product:

Bijvoorbeeld antisemitische inhoud, racistische inhoud, of materiaal dat gewelddadige fysieke handelingen tot gevolg kan hebben.

Bijvoorbeeld een creditcardnummer, een persoonlijk identificatienummer, of een geheim adres. E-mailadressen en volledige namen worden niet als privégegevens beschouwd.

Spelregels forum

Om tot zinvolle vragen te komen hanteren wij de volgende spelregels:

Belangrijk! Als er een antwoord wordt gegeven op uw vraag, dan is het voor de gever van het antwoord nuttig om te weten als u er wel (of niet) mee geholpen bent! Wij vragen u dus ook te reageren op een antwoord.

Belangrijk! Antwoorden worden ook per e-mail naar abonnees gestuurd. Laat uw emailadres achter op deze site, zodat u op de hoogte blijft. U krijgt dan ook andere vragen en antwoorden te zien.

Abonneren

Abonneer u voor het ontvangen van emails voor uw Adyen iFrame bij:


U ontvangt een email met instructies om u voor één of beide opties in te schrijven.


Ontvang uw handleiding per email

Vul uw emailadres in en ontvang de handleiding van Adyen iFrame in de taal/talen: Engels als bijlage per email.

De handleiding is 0,49 mb groot.

 

U ontvangt de handleiding per email binnen enkele minuten. Als u geen email heeft ontvangen, dan heeft u waarschijnlijk een verkeerd emailadres ingevuld of is uw mailbox te vol. Daarnaast kan het zijn dat uw internetprovider een maximum heeft aan de grootte per email. Omdat hier een handleiding wordt meegestuurd, kan het voorkomen dat de email groter is dan toegestaan bij uw provider.

Uw handleiding is per email verstuurd. Controleer uw email

Als u niet binnen een kwartier uw email met handleiding ontvangen heeft, kan het zijn dat u een verkeerd emailadres heeft ingevuld of dat uw emailprovider een maximum grootte per email heeft ingesteld die kleiner is dan de grootte van de handleiding.

Er is een email naar u verstuurd om uw inschrijving definitief te maken.

Controleer uw email en volg de aanwijzingen op om uw inschrijving definitief te maken

U heeft geen emailadres opgegeven

Als u de handleiding per email wilt ontvangen, vul dan een geldig emailadres in.

Uw vraag is op deze pagina toegevoegd

Wilt u een email ontvangen bij een antwoord en/of nieuwe vragen? Vul dan hier uw emailadres in.



Info