Title: OnPay.io for WooCommerce
Author: OnPay.io
Published: <strong>11. decembra 2019</strong>
Last modified: 6. oktobra 2026

---

Tykace pytaś

![](https://ps.w.org/onpay-io-for-woocommerce/assets/banner-772x250.png?rev=3260883)

![](https://ps.w.org/onpay-io-for-woocommerce/assets/icon-256x256.png?rev=2210080)

# OnPay.io for WooCommerce

 Wót [OnPay.io](https://profiles.wordpress.org/onpayio/)

[Ześěgnuś](https://downloads.wordpress.org/plugin/onpay-io-for-woocommerce.1.0.54.zip)

 * [Drobnostki](https://dsb.wordpress.org/plugins/onpay-io-for-woocommerce/#description)
 * [Pógódnośenja](https://dsb.wordpress.org/plugins/onpay-io-for-woocommerce/#reviews)
 *  [Instalacija](https://dsb.wordpress.org/plugins/onpay-io-for-woocommerce/#installation)
 * [Wuwiśe](https://dsb.wordpress.org/plugins/onpay-io-for-woocommerce/#developers)

 [Pódpěra](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/)

## Wopisanje

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](https://dandomain.dk/betalingssystem/priser).

[OnPay sellers](https://onpay.io/#forhandlere)

### Dependencies

 1. PHP: >= 8.2
 2. WordPress >= 6.7
 3. WooCommerce >= 8.2

## Screenshots

[[

[[

## Instalacija

 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.

## Reviews

![](https://secure.gravatar.com/avatar/6c0b68b691185e6c113f339c48b81875d454cc72d03cbf4c855ba6f494bf1861?
s=60&d=retro&r=g)

### 󠀁[Well-designed payment gateway plugin for WordPress](https://wordpress.org/support/topic/well-designed-payment-gateway-plugin-for-wordpress/)󠁿

 [Victor Pahuus Petersen](https://profiles.wordpress.org/pahuus/) 20. maja 2023

I have tried several of the Danish gateway providers. So far, OnPay is the one that
has the most well-designed plugin for WordPress. Took me 2 minutes to setup and 
configure. Many providers half translate their plugins, so it becomes a mixed up
mess. Onpay is translated to 100% Danish and it just works. They support many payment
providers, however, I miss that they are more integrated with my website. For example,
ViaBill and AnyDay's features are missing, which many other providers have integrated.

 [ Read all 1 review ](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/reviews/)

## Sobustatkujuce a wuwijarje

„OnPay.io for WooCommerce“ jo software wótwórjonego žrědła. Slědujuce luźe su pśinosowali
k toś tomu tykacoju.

Sobustatkujuce

 *   [ OnPay.io ](https://profiles.wordpress.org/onpayio/)

“OnPay.io for WooCommerce” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/onpay-io-for-woocommerce/contributors)
for their contributions.

[Translate “OnPay.io for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/onpay-io-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/onpay-io-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/onpay-io-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/onpay-io-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/onpay-io-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### [1.0.54]

Add php version to platform string
 Add payment window expiration setting and update
translations Upgrade to php sdk 2.0 and updated required php version Fix pay-for-
order on failed subscription renewals and 0 DKK auto-capture

#### [1.0.53]

Added support for Apple Pay Web
 Fix surcharge VAT rate missing on guest checkouts

#### [1.0.52]

Added auto-cancel option
 Added result to transaction history Validated and updated
supported wordpress and woocommerce version

#### [1.0.51]

Change onboarding and update language files
 Improve subscription renewal handling
for OnPay connection issues Prevent exception message disclosure in error output
Replace deprecated wc_enqueue_js

#### [1.0.50]

Fix Blocks checkout error notice persistence after declined payment
 Added token
error logging for connection debugging

#### [1.0.49]

Removed sanitizeFieldValue from getDescriptionString because of æøå showing as html
entities

#### [1.0.48]

Fixed uncaught exception when getting non-existing transaction in order meta box

Fixed enabling of gateways from WC list properly using correct hook Added SECURITY.
md Improved error handling in admin, on OnPay connections

#### [1.0.47]

Set key used to grab custom name, to protected instead of private

#### [1.0.46]

Add handling for checkout notices and improve payment failure messaging

#### [1.0.45]

Confirmed WooCommerce 10 support
 Fixed minor deprecation warnings

#### [1.0.44]

Add custom method description setting, that allows overwriting descriptions with
custom texts.

#### [1.0.43]

Properly sanitize outputted strings.
 Added support for surcharge fee feature

#### [1.0.42]

Add card scheme to end of method title, when paying with card.
 Perform complete
order in the correct sequence on subscription renewals

#### [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 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.

#### 1.0.0

Initial release

## Meta

 *  Version **1.0.54**
 *  Last updated **1 mjasec**
 *  Active installations **1.000+**
 *  WordPress version ** 6.7 abo nowša **
 *  Tested up to **7.1.4**
 *  PHP version ** 8.2 abo nowša **
 *  Languages
 * [Danish](https://da.wordpress.org/plugins/onpay-io-for-woocommerce/) a [English (US)](https://wordpress.org/plugins/onpay-io-for-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/onpay-io-for-woocommerce)
 * Tags
 * [gateway](https://dsb.wordpress.org/plugins/tags/gateway/)[payment](https://dsb.wordpress.org/plugins/tags/payment/)
   [payment gateway](https://dsb.wordpress.org/plugins/tags/payment-gateway/)[woocommerce](https://dsb.wordpress.org/plugins/tags/woocommerce/)
 *  [Rozšyrjony naglěd](https://dsb.wordpress.org/plugins/onpay-io-for-woocommerce/advanced/)

## Pógódnośenja

 4 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/reviews/)

## Sobustatkujuce

 *   [ OnPay.io ](https://profiles.wordpress.org/onpayio/)

## Pódpěra

Got something to say? Need help?

 [Forum pomocy pokazaś](https://wordpress.org/support/plugin/onpay-io-for-woocommerce/)