Process Redirect Payment Methods in a Popup
Processing Redirect Payment Methods in a Popup
Any redirect payment method can be processed in a popup window.
Redirect Payment Methods
The user is redirected to the issuer or provider for authentication, e.g. Credit Card with 3D Secure, Moneybookers.
The following information has to be passed by the merchant in getRedirectData.redirectParameters.additionalDetails
to make use of the PopUp window functionality:
field (type, required) | Description |
---|---|
ProcessRedirectPaymentInPopup (boolean, required) | Specifies if redirection payment method should be processed in popup window. Default value: false |
DoUserRedirectionOutOfIFrame (boolean) | Specifies if the final redirection to the success or error page should happen in an iFrame window or in the parent window. Can be used only if the merchant is showing the PXP Financial Hosted Payment Pages in an iFrame. If “true” the redirection will happen in the parent page, otherwise in the iFrame. Default value: false |
Example of valid getRedirectDataRequest.redirectParameters.additionalDetails
for redirecting the customer to the provider website in a popup:
<additionalDetails>
<detail xsi:type="keyStringValuePair">
<key>ProcessRedirectPaymentInPopup</key>
<value>true</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>DoUserRedirectionOutOfIFrame</key>
<value>false</value>
</detail>
</additionalDetails>
Updated almost 6 years ago