The OnePay Payments plug-in is installed via the WooCommerce interface and allows opening the Payment Page payment form of OnePay for customers and ensuring all necessary actions for payment processing with regard to the interaction with both customers and the OnePay payment platform (with all necessary information sent and received).

Steps to install OnePay Plugin:

  1. To create new Plugin in WordPress click on the Add new button
  1. On clicking the Upload Plugin button, a pop-up will appear. Select the OnePay plugin file.
    To download the plugin file, visit: https://wordpress.org/plugins/onepay-payment-for-woocommerce/
  1. Click on the Install Now button to install and activate the OnePay plugin.
  1. OnePay plugin will appear in the list of plugin.
  1. To enable the OnePay payments to navigate Woocommerce ->Settings → Payments
  1. OnePay payments will appear in the payment list
  1. Click on the setup button to update the settings
  1. All the payment settings will appear
  1. To get API key and Custom form key, users have to log in to https://portal.onepay.com/
  • Navigate to Settings->Security keys->API Key Information
  • Navigate to Settings->Security keys-> Payment Token Key Information
  1. Update the payment settings for OnePay
  • Enable OnePay Card Payments
  • Enable Test mode - This flag should be enabled only if validating in the test environment
  • Custom Form Key Information
  • API Key Information
  • Transaction Type - Authorization and Capture and Auth only (Authorization only)
  1. Go to the Website and select the product
  2. Add the product to the cart
  3. Once the product is added to the cart, go to the checkout page and click on Proceed to checkout

Transaction Details

  1. Users will be redirected to the Payment page. To proceed with the payment, click on "Place Order" button
  • Customer details - Customer name and shipping address
  • Card details
  1. Once the payment is successful, order details should be displayed