YHP Worldline Subscriptions Gateway Click Plugin Installation Guide
(Used for WooCommerce regular and subscription payments)
Supports automatic renewal payments with the WooCommerce Subscriptions extension.

Supported features:

  • Products
  • Refunds
  • Tokenization

Change Payment Features

  • Payment Method Change Customer
  • Payment Method Change Admin

Subscription features:

  • Subscriptions
  • Multiple Subscriptions
  • Cancellation
  • Suspension
  • Reactivation
  • Amount change
  • Date change


Provide your website URL


Phone Number

NZD $130(Incl GST)
More Info

NZD $240(Incl GST)
More Info

Plugin Installation Guide V 7.0 31/10/2022 – Author YHP LTD

*** YHP Worldline Subscriptions Gateway Click Changelog ***
= V 1.0 =
This is our first, fresh version for WooCommerce regular and subscription payments.
=============================Upgrade Notice==============================
Those who are using WooCommerce subscriptions can use this plugin for their regular subscription and payments.
= V 2.0 =
* Second version
* Version Date: 01 June 2021
1) Added a Cron function to check and update the payment status from Click Worldline (previously known as Paymark).
2) It runs every 5 minutes and fetches the latest 24 hour records from Click Worldline (previously known as Paymark) server and updates the order status of WooCommerce if an order has been paid on Worldline (previously known as Paymark) but status at WooCommerce level is not ‘processing’ or ‘completed’.
3) Made the compatibility with the latest version of WP V 5.7.2 and WC V 5.3.0.
= V 3.0 =
* Third version
* Version Date: 09 July 2021
1) Added a new feature to edit subscription.
2) Admin can add/edit the subscription items.
3) Subscription total amount change is allowed now.
= V 4.0 =
* Fourth version
* Version Date: 05 Oct 2021
1) Added WooCommerce hooks to manage subscription renewal payments.
2) Fixed some bugs.

3) Made the compatibility with the latest version of WP V 5.8.1 and WC V 5.8.0.
= V 5.0 =
* Fifth version
* Version Date: 15 Nov 2021
1) Upgraded the branding from Paymark to Worldline.
2) Made the compatibility with the latest version of WP V 5.8.2 and WC V 5.9.0.
= V 6.0 =
* Sixth version
* Version Date: 06 Aug 2022
1) Added feature to tokenize the credit card as a new payment method.
2) Provided the selection feature of credit card on checkout if already added.
3) If an already added credit card is used, the page will not redirect to Worldline (previously known as Paymark) gateway and the transaction will be done in the background via the saved token of that Credit Card.
4) If any subscription transaction failed, an email is sent out to the user, and he can renew it from ‘my account’. For further transactions, that new Credit Card will be used without cancelling the subscription.
5) Showed the used card type and last 4 digits on orders so user knows the used card for that order.
6) Added multiple subscriptions features
7) Made the compatibility with the latest version of WP V 6.0.1 and WC V 6.7.0.
= V 7.0 =
* Seventh version
* Version Date: 31 Oct 2022
1) Added new feature to change payment method in already running subscriptions through Worldline (previously known as Paymark) by using a new card.
2) Added new feature for already running subscriptions through Worldline, (previously known as Paymark) one can add new card by selecting the arleady added card on Worldline (previously known as Paymark).
3) Added checkbox if any user wants to change the new card for his already running subscriptions in one go.
4) Accommodated compatibility with latest version of WP V 6.0.3 and WC V 7.0.0.

=============================Upgrade Notice==============================

For users currently utilizing WooCommerce subscriptions this plugin can be used for regular subscription and payments.
NOTE: You must remove any other version or plugin from YHP before installing. (YHP Worldline Gateway Click) to use this plugin. Please install our latest version 7.0 as a fresh copy or you may upgrade from a older version.

Before starting, please note the following points:
You must deactivate or delete the older version of click plugin (YHP Worldline Gateway Click / YHP Paymark Click Gateway / Woocommerce Click Gateway) before installing the current 7.0 plugin.
2)If you are already using any of our subscription plugins versions 4.0 or older, note that after installing this upgrade all your existing subscriptions will have to reinitiate a subscription using this plugin.
[If you do not want to disrupt your old subscriptions you may employ YHP to modify your database directly. By switching your old current subscriptions over to the new plugin without any disruptions .]
NOTE: Start by creating an online click account with Worldline (previously known as Paymark) and installing WooCommerce Version > 3.0 along with WooCommerce subscriptions module for subscription payments.
2) Upload Worldline (previously known as Paymark) subscriptions – click plugin files to /wp-content/plugins/ using FTP or from within the WordPress admin screen. Navigate to Plugins > Add New.
3) Extract or install the file you have uploaded.
4) Within your WordPress admin portal, https://yourdomain..co.nz/wp-admin/. Navigate to Plugins
5) Identify YHP Worldline Subscriptions Click Gateway
6) Click on Activate you will get the below options:
7) Navigate to the WooCommerce Subscriptions Click Gateway Settings page, Click on Settings first link as per below screenshot
8) You may come on settings via WooCommerce -> Settings -> Payments Click on ‘Manage’ as per below screenshot.
9) Configure settings as required:
NOTE: You must set the store currency to NZD to use this plugin
10) Error message when currency is not set to NZD

Enter Client ID, Account ID and API Password as per your merchant activation email from Click Worldline (previously known as Paymark). API password can be generated as per given instructions in your above merchant email or by logging in into your Worldline (previously known as Paymark) click account.

Note: Please set the test mode on your account if it’s in demo mode, then enable the test mode. By test mode you can test your ingratiation without moving any real money. All transactions will be passed through the Click Payment simulator.
You can create a demo/sandbox account from the Worldline (previously known as Paymark) website and use the test credentials that you are sent on your registered email. Please make sure you have enabled test mode to use these credentials.
Demo screenshot of checkout with subscription product:
Demo screen shot of subscription order received after payment:
Demo screen shot of subscription order details in admin:
Demo screen shot of subscriptions in admin:
Demo screen shot of subscriptions in ‘my account’ area:
Done an order with new card the used card is automatically added and can be viewed from My Account -> Payment methods area:
From ‘my Account’ -> Payment method one can add a new CC by clicking on ‘Add Payment Method’:
Click on ‘Add Card’ and it will redirect user on Click worldline gateway where CC details will be entered and on submit user will land on same page with new CC added in the above list:
One can make any of his cards as default card which will be auto selected on his next checkout page.
Next Check out page demo screenshot:
If card is already saved then user will not redirect on worldline/Paymark and payment will be done by using saved card token.
To change the payment method on any running subscription use “Change Payment” Option from its detail page.
On next screen you will find the options with new card or select existing card (Make sure your already added card must be added using worldline if you are going to select the existing card)
Select checkbox “Update the payment method used for all of my current subscriptions (optional)”. If you want to change the payment method in all your running subscriptions form worldline in one go.
If you are selecting an existing card, this means already added card on submit payment method will be saved.
For a new card selection on submit follow the screen instructions and complete the process.
To renew any subscription manually Renew it from its detail page clicking on ‘Renew Now’ button and follow the screen instructions:
You can do a manual renewal on failed transaction subscription cards as well by the same process.

On failed auto renewal transaction, an email is also sent out by the plugin to users as below:

User can copy/paste the above mailed URL or click on it to reach out the failed order and do the needful.
In failed cards, user needs to change payment method with a new card to update the card for upcoming subscription orders.