Description
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.
Don’t have an OnPay account yet? Order one through DanDomain from DKK 0,- per month.
Dependencies
- PHP: >= 7.2
- WordPress >= 5.8
- WooCommerce >= 6.5
Screenshots
Installation
- Install plugin as any other WordPress plugin.
- Log in with OnPay on plugin settings page in woocommerce settings.
- Plugin configures itself automatically after successful login.
- Setup up the plugin with the desired configuration.
- You’re ready to go.
Reviews
Contributors & Developers
“OnPay.io for WooCommerce” is open source software. The following people have contributed to this plugin.
Contributors“OnPay.io for WooCommerce” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “OnPay.io for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
[1.0.41]
Added validation for empty values in country helper
[1.0.40]
Bumped target php version and updated dependencies
[1.0.39]
Added Klarna
Fixed floating point conversion error when performing bulk comple capture
Added Icelandic option
Streamlined and optimized subscriptions
Properly format country coeds when creating payments
[1.0.38]
Tweaked texts on actions buttons in admin
Added support fro HPOS in WooCommerce
[1.0.37]
Take adjusted total amounts into account on available amounts for capture
Added general platform that identifies the pluin with the API.
Shifted declineURL order reference to wc_order key instead of onpay reference.
[1.0.36]
Ensure proper type of card method logo list before looping it
[1.0.35]
Added ability to set language of created payments according to frontoffice language
Performance optimization of payment creation.
Bugfix of subscriptions not being available in block layout.
[1.0.34]
Restructured the settings page into sevaral sections
Implemented block layout for payment methods
Removed unused code from build script
Fixed Apple and Google pay methods being activated in a buggy way
[1.0.33]
Updated subscriptions (early) renwal logic, to reflect the WooCommerce guidelines.
Fixed minor bug when getting order reference for subscriptions early renewal.
[1.0.32]
Removed unecessary sanitation of website value we send to OnPay API.
Reintroduced sending cart object when creating new payments, checking validity before adding the object to the request.
Added Apple Pay and Google Pay as available methods.
Fixed Composer/InstalledVersions not being properly prefixed with composer/php-scoper
Confirmed compatibility with version 6.2 of WordPress.
Added PayPal as available method
[1.0.31]
Removed sending cart item info when creating payments, introduced in 1.0.30
[1.0.30]
Added WC settings tab for OnPay.io.
Fixed strict typing of apiAuthorized
Updated supported versions, following WooCommerce.
Updated build script for newer versions of PHP.
Added cart and items to info sent to API when creating payments.
Updated danish translations, courtesy of @NoahBohme.
[1.0.29]
Fixed bug with querystrings being sanitized incorrectly
Confirmed compatibility with version 6.1 of WordPress.
[1.0.28]
Improved general error handling
Added field validation when constructing payment
Updated danish translations
Added check of authorized connection to OnPay, before presenting OnPay methods
[1.0.27]
Properly set required amount value when constructing subscriptions
Allow MobilePay in testmode since this is now supported
[1.0.26]
Implemented creation of payments through API redirecting to link, instead of posting form directly to onpay
Updated SDK version
[1.0.25]
Added support for customers updating payment method
[1.0.24]
Confirmed compatibility with version 6.0 of WordPress.
[1.0.23]
Improved validation of parameters on callback and decline endpoints.
[1.0.22]
Added swish as available payment option.
[1.0.21]
Based identification of orders in callback, on order_key instead of unpredictable order_number, but keep using order_number for reference
[1.0.20]
Fixed invalid Redirect urls when logging in through OnPay.
Added support for Sequential Order Number Pro, when validating orders
[1.0.19]
Added feature for including WooCommerce refunded values in calculated amounts for capture.
Fixed bug where latest order is selected instead of the order in question
Fixed names of gateways shown in lists and removed base wc_onpay gateway that wasnt a real gateway
Added support for activated toggle switches on payment gateways page
Added function to allow automatic refund when using built in refund function of woocommerce
[1.0.18]
Added support for WooCommerce Subscriptions
Added support for order numbers, instead of using ids.
[1.0.17]
Exclude paragonIE random_compat from scoper, since this repo is registered in the global space, and results in errors if prefixed with a namespace.
Added feature for enabling autocapture of transaction, when order is marked as completed.
[1.0.16]
Fixed version tag mismatches
[1.0.15]
Updated Anyday branding
[1.0.14]
Added Vipps as payment option
Properly set HTTP header and code in json responses
[1.0.13]
Added styling for Anyday Split logo
Show Maestro logo if Mastercard is shown
Fix datetimes shown in log for transactions to follow timezone set in WordPress.
[1.0.12]
Added method for showing notices in admin
Added better handling of errors on order page in admin
Get data from Order object the correct way in abstract_gateway
[1.0.11]
Updated version of onpayio/php-sdk
Added website field to payment window
Added Anyday Split as an payment option
Implemented platform field in payment window
[1.0.10]
Split methods form one single into individual payment methods shown when choosing method in frontoffice.
Added feature for choosing card logos shown on OnPay credit card method.
Updated MobilePay logo.
[1.0.9]
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
[1.0.8]
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.
[1.0.7]
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
[1.0.6]
Confirmed working on WordPress 5.4.2 and WooCommerce 4.2.0
Fix incompatibility with PHP 5.6
Update composer dependencies to latest versions
[1.0.5]
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
[1.0.4]
Added missing translatable strings
Added danish translation of plugin
[1.0.3]
Tested compatibility for WordPress 5.4 and WooCommerce 4.0.1
Properly handle no connection to API, and show error message in such case
[1.0.2]
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
1.0.1
Added README.txt for use by www.remarpro.com
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.
1.0.0
Initial release