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.

Don’t have an OnPay account yet? Order one through DanDomain from DKK 0,- per month.

OnPay sellers

Dependencies

  1. PHP: >= 7.2
  2. WordPress >= 5.8
  3. WooCommerce >= 6.5

螢幕擷圖

安裝方式

  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.

使用者評論

2023 年 5 月 20 日
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.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈OnPay.io for WooCommerce〉的開發相關工作。

參與者

〈OnPay.io for WooCommerce〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈OnPay.io for WooCommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

[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