Guides
WooCommerce

Woocommerce Plugin

đź’ˇ

Check out our GitHub repository (opens in a new tab) to download this plugin.

Compatibility

Compatible with version 6.x of Woocommerce and upto 6.x of Wordpress.

Introduction

This module enables the woocommerce customers to pay for their items using the PaymentNetwork hosted form or direct payment gateway. What does it do?

Presents the option to pay with credit card or debit card via the PaymentNetwork payment gateway.

Installation

  • Go to the plugins section of the admin panel
  • Click Add New
  • Click Upload plugin (Near the top left of the page nexto the menu)
  • Click the "Choose File" button and select the module (which will be the whole zip file this readme is in)
  • Click the "Install Now" button and then click the "Activate" button.

Manual installation

  • Unzip and upload the plugin folder to your /wp-content/plugins/ directory
  • Activate the plugin through the Plugins menu in WordPress
  • Go to WooCommerce -> Settings and click on the Checkout tab.
  • Find PaymentNetwork in the Payment Gateways section
  • Click the settings button to configure and enable the gateway.
  • Click 'Save Changes'.

Rebrand Instructions

The module does not require any editing of file to be used. The options can be changed via the plugin settings. However you can pre set some of the branding options by by editing the config.php file. This will allow you to set the defaults which are :

gateway_title is the title of the module that will appear to the user when selecting the payment method on the checkout. method_description is the description that appears in the payment selected on checkout. default_merchant_id is the default merchant ID the module will use. It's recommended to use a test account. default_secrect is the signature/secret for the default merchant.

Setup Instructions

Setting up the module requires at a minimum a merchantID, a signature/secret key and a gateway URL i.e. https://gateway.example.com (opens in a new tab) to be entered in the plugin's settings.

You will then need to select an integration type to use.

The module will also need to be enabled so it appears as a payment option on the checkout.

Last updated on 27 September 2023