OnPay.io for WooCommerce


Plugin for WooCommerce, based on the official OnPay PHP SDK. The plugin adds the following functionality to WooCommerce:
– Usage of OnPay as a payment method.
– Validation of orders with callbacks directly from OnPay, outside the context of the cardholders browser.
– Management of transaction on order pages in backoffice.


  1. PHP: >= 5.6
  2. WordPress >= 5.3
  3. WooCommerce >= 3.8.1



  1. Install plugin as any other WordPress plugin.
  2. Log in with OnPay on plugin settings page in woocommerce settings.
  3. Plugin configures itself automatically after successful login.
  4. Setup up the plugin with the desired configuration.
  5. You’re ready to go.


There are no reviews for this plugin.

Contributors & Developers

“OnPay.io for WooCommerce” is open source software. The following people have contributed to this plugin.




Fix bug with invalid token crashing whole site
Updated dependencies, PHP SDK and onpayio oauth2 dependency
Implemented paymentinfo for paymentwindow, setting available values
Confirmed working on WordPress 5.5.1 and WooCommerce 4.6.0


When users are sent to the payment window, the value for declineUrl has been set to the url for the checkout page. If user returns to declineUrl because of an error encountered in OnPay, an error message will be shown.


Confirmed working on WordPress 5.5 and WooCommerce 4.4.1
Added prefix to dependency namespaces during build, to prevent any overlap with dependency versions from other plugins that might be installed


Confirmed working on WordPress 5.4.2 and WooCommerce 4.2.0
Fix incompatibility with PHP 5.6
Update composer dependencies to latest versions


Fixed issue with transaction_id null value being used to fetch transaction, resulting in an error.
Confirmed working on WordPress 5.4.1 and WooCommerce 4.1.0


Added missing translatable strings
Added danish translation of plugin


Tested compatibility for WordPress 5.4 and WooCommerce 4.0.1
Properly handle no connection to API, and show error message in such case


Only initialize the settings fields on the settings page
Updated the OnPay SDK, with the latest version that resolves a issue with invalid oauth tokens


Added README.txt for use by WordPress.org
Sanitize and escape values when getting query and post values directly from PHP.
Updated class names to a format unique for plugin and similar to the rest of WordPress’ naming scheme.


Initial release