Onepay | Payments Made Easy

Instructions for OnePay Plugin with Terms & Conditions and Address Checkout

Home Instructions for OnePay Plugin with Terms & Conditions and Address Checkout

Checkout allows you to quickly and easily enter user details and complete the payment in a few easy steps.  

Using this OnePay checkout plugin, user will be able to complete payment by entering the following details

Customer will have the ability to:

After accepting the terms & Conditions user will be able to complete payment by entering:

The OnePay payment gateway allows you to use an iframe to embed the payment pages into your website.

If you wish to implement a custom checkout experience while still limiting your PCI compliance, the recommended approach is to use the OnePay Checkout plugin iFrame. 

Precondition: HTML based web application for embedding OnePay Checkout.

Our OnePay Payment gateway support Major payment such as VISA, MASTERCARD, DISCOVER, AMERICAN EXPRESS AND MORE.

Pop-Up Payment Forms

OnePay’s pop-up payment option gives your website the robust and secure payments options that all trust e-commerce sites need

Prerequisite

Create an Account on the OnePay Portal 

Signup for the test API keys for developers  

Enabling Pay UI

Login to the virtual terminal, navigate to Main Menu ‘Manage’ then ‘Pay UI’ Sub Menu

  • If you need to create a sandbox account, please follow the steps in the link.

Trusted URL: URL’s need to be set in production so that the iframe can be activated only from the websites its supposed to be activated from. Separate multiple domains with commas.
Ex: https://www.yourdomain.com, https://subdomain.yourdomain.com

CSS: Specify the style sheet to be used, this CSS is based on generic OnePay Style sheet. Your styles can be applied by overriding specific parts of the CSS. This field is optional.

Key: The key that will be generated by OnePay, has to be used as authentication key to authenticate the iframe on your end.

Configuration parameters

These are the mandatory parameters that need to be added to your <script> tag to configure PayUI checkout parameters:

Parameter Description

data-key

The key generated by OnePay to authenticate Pay UI

data-mode

accepted values: token, payment
token: will set the mode of the Pay UI for tokenization only
payment: will set the mode of the Pay UI for payment

data-displayMode

Accepted values: popup, inline
popup: will create a modal popup of the UI in a parent page
inline: will create an inline content within the parent page

data-firstname

Add parameter to enter First name field on the UI
data-lastname
Add parameter to enter Last name field on the UI.
data-city
Add parameter to enter City field on the UI
data-address
Add parameter to enter Address field on the UI
data-state
Add parameter to enter State field on the UI
data-zipcode
Add parameter to enter Zip Code field on the UI
data-email

Add parameter to enter email-Id field on the UI

data-phone

Add parameter to enter Phone no field on the UI

data-invoiceno

Add parameter to enter invoicefield on the UI

UI reference