Plugin Directory

Changeset 2942172

Timestamp:
07/23/2023 04:41:35 PM (13 months ago)
Author:
ayeshrajans
Message:

Add v1.1

Location:
woo-hnb
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • woo-hnb/trunk/readme.txt

    r2386854 r2942172  
    33Tags: woocommerce, woo commerce, payment, sri lanka, payment gateway, lkr, WooCommerce - Hatton National Bank Payment Gateway, Hatton National Bank, HNB, HNB IPG
    44Requires at least: 4.9
    5 Tested up to: 5.6
     5Tested up to:
    66Requires PHP: 7.1
    7 Stable tag: 1.0.1
     7Stable tag: 1.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1919 - Thoroughly and securely validates the payments upon receipt.
    2020 - Security measures to prevent sensitive data exposure.
    21  - Translated to Sinhala (සිංහල) and Tamil (தமிழ்)  by native speakers.
     21 - Translated to Sinhal (සිංහල) and Tamil (தமிழ்)  by native speakers.
    2222
    2323### Prerequisites
     
    2828
    2929### Configuration
    30 Once enabled, you will see a *Settings* link under the *WooCommece HNB* plugin name. This button, or *WooCommerce Settings -> Payments -> HNB Online Payment* will take you to the plugin configuration page.
     30Once enabled, you will see a *Settings* link under the *WooCommece HNB* plugin name. This button, or *WooCommerce Settings -> Payments -> HNB Online Payment* will take you to the plugin configuration page.
    3131
    3232In this page, enter the Acquirer ID, Merchant ID, and Password exactly as provided by HNB.
     
    3838Upon completion, user is sent back to your store, and depending on the transaction status, user will either see the order-complete page, or sent back to the checkout page with a message saying the payment failed.
    3939
    40 If a transaction fails (card declined, configuration error, etc), this plugin logs an admin-note to the order. This note tries to put as much as possible information for administrators to help resolve any problems. The error codes are available to refer in the PDF file sent by HNB.
     40If a transaction fails (card declined, configuration error, etc), this plugin logs an admin-note to the order. This note tries to put as much as possible information for administrators to help resolve any problems. The error codes are available to refer in the PDF file sent by HNB.
    4141
    4242== Frequently Asked Questions ==
     
    4444= Use this plugin on older PHP versions =
    4545
    46 As indicated above, this plugin requires PHP 7.1. This is a hard requirement and we are strict about this requirement. Touch cookies.
     46As indicated above, this plugin requires PHP 7.1. This is a hard requirement and we are strict about this requirement. Touch cookies.
    4747
    4848= I get a "Payment Error" message when I click "Proceed to payment" =
    4949
    50 A "Payment Error" (as opposed to "Payment declined") often means there is something wrong with your configuration. Double check your Acquirer and Merchant IDs. You also need to make sure the site is accessible over public internet and is served with HTTPS.
     50A "Payment Error" (as opposed to "Payment declined") often means there is something wrong with your configuration. Doublecheck your Acquirer and Merchant IDs. You also need to make sure the site is accessible over public internet and is served with HTTPS.
    5151
    5252= How do I contribute? =
    5353
    54 Please head over to [GitHub repository](https://github.com/Ayesh/wordpress-woocommerce-hnb). We use GitHub/Git, but individual releases are aded to WordPress.org SVN repository.
     54Please head over to [GitHub repository](https://github.com/Ayesh/wordpress-woocommerce-hnb). We use GitHub/Git, but individual releases are aded to WordPress.org SVN repository.
    5555
    5656== Installation ==
     
    6363= Automatic installation =
    6464
    65 Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
     65Automatic installation is the easiest option as WordPress handles the file transfers itself of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
    6666
    6767In the search field type “WooCommerce – Hatton National Bank Payment Gateway” and click Search Plugins. Once you’ve found our plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.
     
    9191 - Add class constant modifiers to gateway class constants.
    9292 - Various code performance improvements with FQFN and FQCN tweaks.
     93
     94
     95
     96
  • woo-hnb/trunk/woo-hnb.php

    r2386854 r2942172  
    1111 * Version: 1.0.1
    1212 * Author: Ayesh Karunaratne
    13  * Author URI: https://ayesh.me/open-source
     13 * Author URI: https://aye/open-source
    1414 * Text Domain: woo-hnb
    1515 * WC requires at least: 3.3
    16  * WC tested up to: 4.5
     16 * WC tested up to:
    1717 *
    1818 * @package Ayesh\WooCommerceHNB
     
    2323add_filter('plugin_action_links_woo-hnb/woo-hnb.php', __NAMESPACE__ . '\action_links');
    2424add_filter('woocommerce_payment_gateways', __NAMESPACE__ . '\payment_gateway');
    25 /** @noinspection SpellCheckingInspection */
    2625add_action('woocommerce_api_ayeshwoocommercehnbgatewaywc_hnb_gateway', __NAMESPACE__ . '\handle_callback');
    2726
Note: See TracChangeset for help on using the changeset viewer.