{"id":114531,"date":"2019-12-11T12:30:06","date_gmt":"2019-12-11T12:30:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/onpay-io-for-woocommerce\/"},"modified":"2026-04-28T11:57:42","modified_gmt":"2026-04-28T11:57:42","slug":"onpay-io-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/onpay-io-for-woocommerce\/","author":17690750,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.51","stable_tag":"1.0.51","tested":"6.8.5","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"OnPay.io for WooCommerce","header_author":"OnPay.io","header_description":"OnPay.io payment plugin for WooCommerce","assets_banners_color":"f6f6fa","last_updated":"2026-04-28 11:57:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/onpay.io\/","rating":4,"author_block_rating":0,"active_installs":2000,"downloads":40325,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"onpayio","date":"2019-12-11 12:29:59"},"1.0.10":{"tag":"1.0.10","author":"onpayio","date":"2020-12-07 12:04:59"},"1.0.11":{"tag":"1.0.11","author":"onpayio","date":"2021-01-28 13:30:18"},"1.0.12":{"tag":"1.0.12","author":"onpayio","date":"2021-03-01 10:25:24"},"1.0.13":{"tag":"1.0.13","author":"onpayio","date":"2021-04-13 13:03:18"},"1.0.14":{"tag":"1.0.14","author":"onpayio","date":"2021-05-06 10:45:02"},"1.0.15":{"tag":"1.0.15","author":"onpayio","date":"2021-08-02 12:28:26"},"1.0.16":{"tag":"1.0.16","author":"onpayio","date":"2021-08-02 12:44:54"},"1.0.17":{"tag":"1.0.17","author":"onpayio","date":"2021-09-06 13:38:28"},"1.0.18":{"tag":"1.0.18","author":"onpayio","date":"2021-11-08 06:14:27"},"1.0.19":{"tag":"1.0.19","author":"onpayio","date":"2022-01-24 14:40:08"},"1.0.2":{"tag":"1.0.2","author":"onpayio","date":"2020-02-26 10:51:57"},"1.0.20":{"tag":"1.0.20","author":"onpayio","date":"2022-01-27 15:32:32"},"1.0.21":{"tag":"1.0.21","author":"onpayio","date":"2022-01-28 17:08:29"},"1.0.22":{"tag":"1.0.22","author":"onpayio","date":"2022-03-10 10:46:27"},"1.0.23":{"tag":"1.0.23","author":"onpayio","date":"2022-04-06 12:36:39"},"1.0.24":{"tag":"1.0.24","author":"onpayio","date":"2022-05-17 09:34:42"},"1.0.25":{"tag":"1.0.25","author":"onpayio","date":"2022-06-10 06:46:15"},"1.0.26":{"tag":"1.0.26","author":"onpayio","date":"2022-08-25 06:27:31"},"1.0.27":{"tag":"1.0.27","author":"onpayio","date":"2022-09-12 05:08:51"},"1.0.28":{"tag":"1.0.28","author":"onpayio","date":"2022-10-20 09:30:19"},"1.0.29":{"tag":"1.0.29","author":"onpayio","date":"2022-11-02 09:39:34"},"1.0.3":{"tag":"1.0.3","author":"onpayio","date":"2020-04-28 12:31:29"},"1.0.30":{"tag":"1.0.30","author":"onpayio","date":"2023-01-04 09:39:41"},"1.0.31":{"tag":"1.0.31","author":"onpayio","date":"2023-01-07 07:32:37"},"1.0.32":{"tag":"1.0.32","author":"onpayio","date":"2023-04-17 12:05:15"},"1.0.33":{"tag":"1.0.33","author":"onpayio","date":"2023-06-12 11:39:46"},"1.0.34":{"tag":"1.0.34","author":"onpayio","date":"2023-08-16 10:19:37"},"1.0.35":{"tag":"1.0.35","author":"onpayio","date":"2023-09-06 09:25:43"},"1.0.36":{"tag":"1.0.36","author":"onpayio","date":"2023-09-06 12:20:55"},"1.0.37":{"tag":"1.0.37","author":"onpayio","date":"2024-01-17 12:03:27"},"1.0.38":{"tag":"1.0.38","author":"onpayio","date":"2024-04-08 11:56:34"},"1.0.4":{"tag":"1.0.4","author":"onpayio","date":"2020-05-15 19:39:55"},"1.0.41":{"tag":"1.0.41","author":"onpayio","date":"2024-06-12 09:01:29"},"1.0.42":{"tag":"1.0.42","author":"onpayio","date":"2025-03-31 09:26:29"},"1.0.43":{"tag":"1.0.43","author":"onpayio","date":"2025-04-24 08:04:05"},"1.0.44":{"tag":"1.0.44","author":"onpayio","date":"2025-06-02 11:28:33"},"1.0.45":{"tag":"1.0.45","author":"onpayio","date":"2025-10-07 09:40:39"},"1.0.46":{"tag":"1.0.46","author":"onpayio","date":"2025-10-22 11:48:03"},"1.0.47":{"tag":"1.0.47","author":"onpayio","date":"2025-10-30 11:26:34"},"1.0.48":{"tag":"1.0.48","author":"onpayio","date":"2025-12-22 12:52:53"},"1.0.49":{"tag":"1.0.49","author":"onpayio","date":"2026-01-19 12:52:44"},"1.0.5":{"tag":"1.0.5","author":"onpayio","date":"2020-05-19 08:03:44"},"1.0.50":{"tag":"1.0.50","author":"onpayio","date":"2026-03-09 12:04:50"},"1.0.51":{"tag":"1.0.51","author":"onpayio","date":"2026-04-28 11:57:42"},"1.0.6":{"tag":"1.0.6","author":"onpayio","date":"2020-06-18 07:55:00"},"1.0.7":{"tag":"1.0.7","author":"onpayio","date":"2020-08-27 07:34:47"},"1.0.8":{"tag":"1.0.8","author":"onpayio","date":"2020-09-10 13:08:29"},"1.0.9":{"tag":"1.0.9","author":"onpayio","date":"2020-10-21 13:21:08"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":1,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2210080,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2210080,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3260883,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3260883,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.20","1.0.21","1.0.22","1.0.23","1.0.24","1.0.25","1.0.26","1.0.27","1.0.28","1.0.29","1.0.3","1.0.30","1.0.31","1.0.32","1.0.33","1.0.34","1.0.35","1.0.36","1.0.37","1.0.38","1.0.4","1.0.41","1.0.42","1.0.43","1.0.44","1.0.45","1.0.46","1.0.47","1.0.48","1.0.49","1.0.5","1.0.50","1.0.51","1.0.6","1.0.7","1.0.8","1.0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2210081,"resolution":"1","location":"assets","locale":"","width":668,"height":748},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2210081,"resolution":"2","location":"assets","locale":"","width":1427,"height":731}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1890,179590,507,6593,286],"plugin_category":[45],"plugin_contributors":[179591],"plugin_business_model":[],"class_list":["post-114531","plugin","type-plugin","status-publish","hentry","plugin_tags-gateway","plugin_tags-onpay","plugin_tags-payment","plugin_tags-payment-gateway","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-onpayio","plugin_committers-onpayio"],"banners":{"banner":"https:\/\/ps.w.org\/onpay-io-for-woocommerce\/assets\/banner-772x250.png?rev=3260883","banner_2x":"https:\/\/ps.w.org\/onpay-io-for-woocommerce\/assets\/banner-1544x500.png?rev=3260883","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/onpay-io-for-woocommerce\/assets\/icon-128x128.png?rev=2210080","icon_2x":"https:\/\/ps.w.org\/onpay-io-for-woocommerce\/assets\/icon-256x256.png?rev=2210080","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/onpay-io-for-woocommerce\/assets\/screenshot-1.png?rev=2210081","caption":""},{"src":"https:\/\/ps.w.org\/onpay-io-for-woocommerce\/assets\/screenshot-2.png?rev=2210081","caption":""}],"raw_content":"<!--section=description-->\n<p>Plugin for WooCommerce, based on the official OnPay PHP SDK. The plugin adds the following functionality to WooCommerce:\n- Usage of OnPay as a payment method.\n- Validation of orders with callbacks directly from OnPay, outside the context of the cardholders browser.\n- Management of transaction on order pages in backoffice.<\/p>\n\n<p>Don't  have an OnPay account yet? Order one through <a href=\"https:\/\/dandomain.dk\/betalingssystem\/priser\">DanDomain<\/a>.<\/p>\n\n<p><a href=\"https:\/\/onpay.io\/#forhandlere\">OnPay sellers<\/a><\/p>\n\n<h3>Dependencies<\/h3>\n\n<ol>\n<li>PHP: &gt;= 7.4<\/li>\n<li>Wordpress &gt;= 6.7<\/li>\n<li>WooCommerce &gt;= 8.2<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Install plugin as any other Wordpress plugin.<\/li>\n<li>Log in with OnPay on plugin settings page in woocommerce settings.<\/li>\n<li>Plugin configures itself automatically after successful login.<\/li>\n<li>Setup up the plugin with the desired configuration.<\/li>\n<li>You're ready to go.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>[1.0.51]<\/h4>\n\n<p>Change onboarding and update language files\nImprove subscription renewal handling for OnPay connection issues\nPrevent exception message disclosure in error output\nReplace deprecated wc_enqueue_js<\/p>\n\n<h4>[1.0.50]<\/h4>\n\n<p>Fix Blocks checkout error notice persistence after declined payment\nAdded token error logging for connection debugging<\/p>\n\n<h4>[1.0.49]<\/h4>\n\n<p>Removed sanitizeFieldValue from getDescriptionString because of \u00e6\u00f8\u00e5 showing as html entities<\/p>\n\n<h4>[1.0.48]<\/h4>\n\n<p>Fixed uncaught exception when getting non-existing transaction in order meta box\nFixed enabling of gateways from WC list properly using correct hook\nAdded SECURITY.md\nImproved error handling in admin, on OnPay connections<\/p>\n\n<h4>[1.0.47]<\/h4>\n\n<p>Set key used to grab custom name, to protected instead of private<\/p>\n\n<h4>[1.0.46]<\/h4>\n\n<p>Add handling for checkout notices and improve payment failure messaging<\/p>\n\n<h4>[1.0.45]<\/h4>\n\n<p>Confirmed WooCommerce 10 support\nFixed minor deprecation warnings<\/p>\n\n<h4>[1.0.44]<\/h4>\n\n<p>Add custom method description setting, that allows overwriting descriptions with custom texts.<\/p>\n\n<h4>[1.0.43]<\/h4>\n\n<p>Properly sanitize outputted strings.\nAdded support for surcharge fee feature<\/p>\n\n<h4>[1.0.42]<\/h4>\n\n<p>Add card scheme to end of method title, when paying with card.\nPerform complete order in the correct sequence on subscription renewals<\/p>\n\n<h4>[1.0.41]<\/h4>\n\n<p>Added validation for empty values in country helper<\/p>\n\n<h4>[1.0.40]<\/h4>\n\n<p>Bumped target php version and updated dependencies<\/p>\n\n<h4>[1.0.39]<\/h4>\n\n<p>Added Klarna\nFixed floating point conversion error when performing bulk comple capture\nAdded Icelandic option\nStreamlined and optimized subscriptions\nProperly format country coeds when creating payments<\/p>\n\n<h4>[1.0.38]<\/h4>\n\n<p>Tweaked texts on actions buttons in admin\nAdded support fro HPOS in WooCommerce<\/p>\n\n<h4>[1.0.37]<\/h4>\n\n<p>Take adjusted total amounts into account on available amounts for capture\nAdded general platform that identifies the pluin with the API.\nShifted declineURL order reference to wc_order key instead of onpay reference.<\/p>\n\n<h4>[1.0.36]<\/h4>\n\n<p>Ensure proper type of card method logo list before looping it<\/p>\n\n<h4>[1.0.35]<\/h4>\n\n<p>Added ability to set language of created payments according to frontoffice language\nPerformance optimization of payment creation.\nBugfix of subscriptions not being available in block layout.<\/p>\n\n<h4>[1.0.34]<\/h4>\n\n<p>Restructured the settings page into sevaral sections\nImplemented block layout for payment methods\nRemoved unused code from build script\nFixed Apple and Google pay methods being activated in a buggy way<\/p>\n\n<h4>[1.0.33]<\/h4>\n\n<p>Updated subscriptions (early) renwal logic, to reflect the WooCommerce guidelines.\nFixed minor bug when getting order reference for subscriptions early renewal.<\/p>\n\n<h4>[1.0.32]<\/h4>\n\n<p>Removed unecessary sanitation of website value we send to OnPay API.\nReintroduced sending cart object when creating new payments, checking validity before adding the object to the request.\nAdded Apple Pay and Google Pay as available methods.\nFixed Composer\/InstalledVersions not being properly prefixed with composer\/php-scoper\nConfirmed compatibility with version 6.2 of Wordpress.\nAdded PayPal as available method<\/p>\n\n<h4>[1.0.31]<\/h4>\n\n<p>Removed sending cart item info when creating payments, introduced in 1.0.30<\/p>\n\n<h4>[1.0.30]<\/h4>\n\n<p>Added WC settings tab for OnPay.io.\nFixed strict typing of apiAuthorized\nUpdated supported versions, following WooCommerce.\nUpdated build script for newer versions of PHP.\nAdded cart and items to info sent to API when creating payments.\nUpdated danish translations, courtesy of @NoahBohme.<\/p>\n\n<h4>[1.0.29]<\/h4>\n\n<p>Fixed bug with querystrings being sanitized incorrectly\nConfirmed compatibility with version 6.1 of Wordpress.<\/p>\n\n<h4>[1.0.28]<\/h4>\n\n<p>Improved general error handling\nAdded field validation when constructing payment\nUpdated danish translations\nAdded check of authorized connection to OnPay, before presenting OnPay methods<\/p>\n\n<h4>[1.0.27]<\/h4>\n\n<p>Properly set required amount value when constructing subscriptions\nAllow MobilePay in testmode since this is now supported<\/p>\n\n<h4>[1.0.26]<\/h4>\n\n<p>Implemented creation of payments through API redirecting to link, instead of posting form directly to onpay\nUpdated SDK version<\/p>\n\n<h4>[1.0.25]<\/h4>\n\n<p>Added support for customers updating payment method<\/p>\n\n<h4>[1.0.24]<\/h4>\n\n<p>Confirmed compatibility with version 6.0 of Wordpress.<\/p>\n\n<h4>[1.0.23]<\/h4>\n\n<p>Improved validation of parameters on callback and decline endpoints.<\/p>\n\n<h4>[1.0.22]<\/h4>\n\n<p>Added swish as available payment option.<\/p>\n\n<h4>[1.0.21]<\/h4>\n\n<p>Based identification of orders in callback, on order_key instead of unpredictable order_number, but keep using order_number for reference<\/p>\n\n<h4>[1.0.20]<\/h4>\n\n<p>Fixed invalid Redirect urls when logging in through OnPay.\nAdded support for Sequential Order Number Pro, when validating orders<\/p>\n\n<h4>[1.0.19]<\/h4>\n\n<p>Added feature for including WooCommerce refunded values in calculated amounts for capture.\nFixed bug where latest order is selected instead of the order in question\nFixed names of gateways shown in lists and removed base wc_onpay gateway that wasnt a real gateway\nAdded support for activated toggle switches on payment gateways page\nAdded function to allow automatic refund when using built in refund function of woocommerce<\/p>\n\n<h4>[1.0.18]<\/h4>\n\n<p>Added support for WooCommerce Subscriptions\nAdded support for order numbers, instead of using ids.<\/p>\n\n<h4>[1.0.17]<\/h4>\n\n<p>Exclude paragonIE random_compat from scoper, since this repo is registered in the global space, and results in errors if prefixed with a namespace.\nAdded feature for enabling autocapture of transaction, when order is marked as completed.<\/p>\n\n<h4>[1.0.16]<\/h4>\n\n<p>Fixed version tag mismatches<\/p>\n\n<h4>[1.0.15]<\/h4>\n\n<p>Updated Anyday branding<\/p>\n\n<h4>[1.0.14]<\/h4>\n\n<p>Added Vipps as payment option\nProperly set HTTP header and code in json responses<\/p>\n\n<h4>[1.0.13]<\/h4>\n\n<p>Added styling for Anyday Split logo\nShow Maestro logo if Mastercard is shown\nFix datetimes shown in log for transactions to follow timezone set in Wordpress.<\/p>\n\n<h4>[1.0.12]<\/h4>\n\n<p>Added method for showing notices in admin\nAdded better handling of errors on order page in admin\nGet data from Order object the correct way in abstract_gateway<\/p>\n\n<h4>[1.0.11]<\/h4>\n\n<p>Updated version of onpayio\/php-sdk\nAdded website field to payment window\nAdded Anyday Split as an payment option\nImplemented platform field in payment window<\/p>\n\n<h4>[1.0.10]<\/h4>\n\n<p>Split methods form one single into individual payment methods shown when choosing method in frontoffice.\nAdded feature for choosing card logos shown on OnPay credit card method.\nUpdated MobilePay logo.<\/p>\n\n<h4>[1.0.9]<\/h4>\n\n<p>Fix bug with invalid token crashing whole site\nUpdated dependencies, PHP SDK and onpayio oauth2 dependency\nImplemented paymentinfo for paymentwindow, setting available values\nConfirmed working on Wordpress 5.5.1 and WooCommerce 4.6.0<\/p>\n\n<h4>[1.0.8]<\/h4>\n\n<p>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.<\/p>\n\n<h4>[1.0.7]<\/h4>\n\n<p>Confirmed working on Wordpress 5.5 and WooCommerce 4.4.1\nAdded prefix to dependency namespaces during build, to prevent any overlap with dependency versions from other plugins that might be installed<\/p>\n\n<h4>[1.0.6]<\/h4>\n\n<p>Confirmed working on Wordpress 5.4.2 and WooCommerce 4.2.0\nFix incompatibility with PHP 5.6\nUpdate composer dependencies to latest versions<\/p>\n\n<h4>[1.0.5]<\/h4>\n\n<p>Fixed issue with transaction_id null value being used to fetch transaction, resulting in an error.\nConfirmed working on Wordpress 5.4.1 and WooCommerce 4.1.0<\/p>\n\n<h4>[1.0.4]<\/h4>\n\n<p>Added missing translatable strings\nAdded danish translation of plugin<\/p>\n\n<h4>[1.0.3]<\/h4>\n\n<p>Tested compatibility for Wordpress 5.4 and WooCommerce 4.0.1\nProperly handle no connection to API, and show error message in such case<\/p>\n\n<h4>[1.0.2]<\/h4>\n\n<p>Only initialize the settings fields on the settings page\nUpdated the OnPay SDK, with the latest version that resolves a issue with invalid oauth tokens<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>Added README.txt for use by Wordpress.org\nSanitize and escape values when getting query and post values directly from PHP.\nUpdated class names to a format unique for plugin and similar to the rest of Wordpress' naming scheme.<\/p>\n\n<h4>1.0.0<\/h4>\n\n<p>Initial release<\/p>","raw_excerpt":"Plugin for WooCommerce, based on the official OnPay PHP SDK.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/114531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=114531"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/onpayio"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=114531"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=114531"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=114531"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=114531"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=114531"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=114531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}