Changeset 2942172
- Timestamp:
- 07/23/2023 04:41:35 PM (13 months ago)
- Location:
- woo-hnb
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
woo-hnb/trunk/readme.txt
r2386854 r2942172 3 3 Tags: woocommerce, woo commerce, payment, sri lanka, payment gateway, lkr, WooCommerce - Hatton National Bank Payment Gateway, Hatton National Bank, HNB, HNB IPG 4 4 Requires at least: 4.9 5 Tested up to: 5.65 Tested up to: 6 6 Requires PHP: 7.1 7 Stable tag: 1. 0.17 Stable tag: 1.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 19 19 - Thoroughly and securely validates the payments upon receipt. 20 20 - Security measures to prevent sensitive data exposure. 21 - Translated to Sinhal a(සිංහල) and Tamil (தமிழ்) by native speakers.21 - Translated to Sinhal (සිංහල) and Tamil (தமிழ்) by native speakers. 22 22 23 23 ### Prerequisites … … 28 28 29 29 ### Configuration 30 Once enabled, you will see a *Settings* link under the *WooComme ce HNB* plugin name. This button, or *WooCommerce Settings -> Payments -> HNB Online Payment* will take you to the plugin configuration page.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. 31 31 32 32 In this page, enter the Acquirer ID, Merchant ID, and Password exactly as provided by HNB. … … 38 38 Upon 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. 39 39 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.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. 41 41 42 42 == Frequently Asked Questions == … … 44 44 = Use this plugin on older PHP versions = 45 45 46 As indicated above, this plugin requires PHP 7.1. This is a hard requirement and we are strict about this requirement. Touch cookies.46 As indicated above, this plugin requires PHP 7.1. This is a hard requirement and we are strict about this requirement. Touch cookies. 47 47 48 48 = I get a "Payment Error" message when I click "Proceed to payment" = 49 49 50 A "Payment Error" (as opposed to "Payment declined") often means there is something wrong with your configuration. Double 50 A "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. 51 51 52 52 = How do I contribute? = 53 53 54 Please head over to [GitHub repository](https://github.com/Ayesh/wordpress-woocommerce-hnb). We use GitHub/Git, but individual releases are ad ed to WordPress.org SVN repository.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. 55 55 56 56 == Installation == … … 63 63 = Automatic installation = 64 64 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 installof this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.65 Automatic 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. 66 66 67 67 In 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”. … … 91 91 - Add class constant modifiers to gateway class constants. 92 92 - Various code performance improvements with FQFN and FQCN tweaks. 93 94 95 96 -
woo-hnb/trunk/woo-hnb.php
r2386854 r2942172 11 11 * Version: 1.0.1 12 12 * Author: Ayesh Karunaratne 13 * Author URI: https://aye sh.me/open-source13 * Author URI: https://aye/open-source 14 14 * Text Domain: woo-hnb 15 15 * WC requires at least: 3.3 16 * WC tested up to: 4.516 * WC tested up to: 17 17 * 18 18 * @package Ayesh\WooCommerceHNB … … 23 23 add_filter('plugin_action_links_woo-hnb/woo-hnb.php', __NAMESPACE__ . '\action_links'); 24 24 add_filter('woocommerce_payment_gateways', __NAMESPACE__ . '\payment_gateway'); 25 /** @noinspection SpellCheckingInspection */26 25 add_action('woocommerce_api_ayeshwoocommercehnbgatewaywc_hnb_gateway', __NAMESPACE__ . '\handle_callback'); 27 26
Note: See TracChangeset
for help on using the changeset viewer.