Are you looking to accept international payments via credit cards on your WordPress site? If you want your customers to pay you with their credit cards via your Himalayan Bank Merchant account on your WooCommerce site, you’re on the right track.
In this blog post, we’ll walk you through the installation and configuration process of the Himalayan Bank Payment Gateway Plugin, so you can start accepting payments with confidence and ease.
Requirements
👉 Himalayan Bank Merchant Account
👉 Website built with WordPress and products with WooCommerce
👉 PHP 8.1 or higher.
👉 PHP Sodium Extension.
👉 PHP GMP Extension – Optional but strongly recommended. Learn More.
If the above requirements are met, you’re all set. You can just get the Himalayan Bank Payment Gateway Plugin For WooCommerce and follow the installation instructions.
Pricing
- 1 Site
- 1 year of updates / billed yearly.
- 1 year of support *
- 7 days money-back guarantee *
* Support is limited to the plugin’s territory. E.g. plugin installation, licenses, bug fixes etc. Configuration and issues with the Bank Merchant are not the plugin’s territory.
* 100% refund when the product had a bug/problem I couldn’t resolve.
* Checkout and Payment are processed from Freemius – the reseller of the plugin.
Have pre-sale questions? Contact Me or send a message on Whatsapp.
Installation
- Log into your WordPress site: https://example.com/wp-admin
- Go to Plugins > Add New > Upload Plugin
- Upload the plugin’s zip file which will be sent to your email when you purchase.
- Install and activate the plugin.
If you’re new to WordPress, here’s a beginner’s guide on how to install a WordPress plugin.
Once you activate the plugin, you’ll have to enter the license key which you’ll receive in your email.
If you don’t see this popup window, go to Plugins > Add Himalayan Bank In WooCommerce and then click on Activate License.
Setup
Once you install and activate the Himalayan Bank Payment For WooCommerce plugin, you’ll see new payment settings in WooCommerce.So, Navigate to WooCommerce > Settings > Payments, there will be a new option, Himalayan Bank.
Click on the “Manage” button to set up the payments and settings.
As you can see in the screenshot, you’ll need Merchant ID and API key to accept the payment on your Merchant account. For the Himalayan Bank to set up your Merchant account, you’ll need to provide the Public Signing Key and Public Encryption Key to Himalayan Bank.
You should generate the keys by yourself. Use this tool to generate the keys.
Steps:
1) Select 4096 bit RSA key size from the drop-down.
2) Click on Generate RSA Key Pair, it will generate the Public Key and Private Key (call them the Signing Keys)
3) Go back to your site’s settings and paste the Public Key and Private Key in the fields: “Public Signing Key” and “Private Signing Key”.
4) Once again, click on Generate RSA Key Pair, it will generate a new Public Key and Private Key (call them the Encryption Keys)
5) Go back to your site’s settings and paste the Public Key and Private Key in the fields: “Public Encryption Key” and “Private Encryption Key”.
Once you fill the keys, the settings will look something like this:
Provide the Public Signing Key and Public Encryption key to Himalayan Bank, they’ll set up your live Merchant. You should not share the Private Keys with anyone.
We’re done with the setup. now the pay with Himalayan Bank option will appear in the checkout where customers can pay directly via their credit card. They will be redirected to the HBL payment to securely pay with Credit Cards.
Or, If you’re using On-Site Checkout, the credit card form will appear on your site. This feature however requires you to be a PCI complaint. Read more.
Got issues?
Please carefully follow the setup instructions above especially the generation and sharing of signing/encryption keys. Most issues are probably due to incorrect Merchant Setup or configuration. However, technical errors do occur sometimes. If you face any issues, please turn on debugging from WooCommerce > Settings > Payments > Himalayan Bank Payment.
Then, check out again to log the error.
After that, you can get the log details in WooCommerce > Status > Logs.
These details might tell you what went wrong or you can share the details with the bank support.
FAQ
ERROR: Unable to load or decrypt token
Issue with keys. The keys bank used to create the Merchant doesn’t match the keys you’ve set in the plugin settings. Consult with bank support to check your keys.
ERROR: The JWT can not be used yet
Claim failed. You’re possibly ahead of time, : ) or used a nulled plugin. Send me the details of the logs and I’ll help to check.
Payment authentication service error.
Payment not success. Do not honour.
Probably credit card’s issue.
Technical details. Do not honour.
Call to aquirer failed.
An error by the customer’s card acquirer (bank), not because of Himalayan Bank or the plugin. The used credit card issuer can’t process transactions at the time. Try using another card.
Error: Payment type not support
In most cases, the Merchant account has been made inactive. Contact bank support with your Merchant details.
Error: Unsupported Media Type
Possible issue with your custom codes, nulled plugin. Make sure you’re using the genuine plugin with the license key.
Don’t just hear my words!
Hey! Do you have a Nabil Bank Merchant instead? You can set up a Nabil Bank Payment Gateway For WooCommerce.