Opening Payment Page in a separate browser tab
You can open a generated payment page in a new browser tab (blank page) or in a current browser tab (parent page) for all or mobile devices only.
Redirect on all devices with passing parameters in an object
You can open a payment page for a customer in a separate browser tab, even if the default payment page is integrated into your project web page.
Redirect on all devices with passing link
You can open a generated payment page in a separate browser tab without integrating it into your project. You can use HTTP GET and POST methods.
https://paymentpage.ecommpay.com/payment?<parameters>
where:
<parameters>
is the list of the required and optional parameters. For more information about the list of parameters, see Payment Page invocation parameters.
Figure: Example of a link to open a payment page in a separate browser tab
https://paymentpage.ecommpay.com/payment?project_id=0&payment_id=70872663&language_code=en
&payment_amount=95&payment_currency=USD
&signature=YWb6Z20ByxpQ30hfTIjaCCsVIwVynXV%2BVLe
To set up the size of the page inserted in the iframe, pass the width and height values in the redirect_window_height and redirect_window_width parameters included in the payment_methods_options string in the request or Payment Page opening:
payment_methods_options={"redirect_window_height": 1200, "redirect_window_width": 1200}
To set up the size of the page for the specific payment method selected by a customer, also specify the payment method code:
payment_methods_options={"card": {"redirect_window_height": 1200, "redirect_window_width": 1200}}
If you need to select several methods – codes are separated by commas. The full list of payment method codes see in IDs of payment methods supported on Payment Page.
Redirect only on mobile devices
In this case, the payment page opens in a separate tab on mobile devices and by the chosen method on the other devices.