Title: KrownPay Gateway for WooCommerce
Author: krownpay
Published: <strong>17 òktober, 2024</strong>
Last modified: 25 January, 2025

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/krownpay-gateway-for-woocommerce/assets/icon-256x256.png?rev
=3171252)

# KrownPay Gateway for WooCommerce

 By [krownpay](https://profiles.wordpress.org/krownpay/)

[Download](https://downloads.wordpress.org/plugin/krownpay-gateway-for-woocommerce.1.0.zip)

 * [Details](https://pap-cw.wordpress.org/plugins/krownpay-gateway-for-woocommerce/#description)
 * [Reviews](https://pap-cw.wordpress.org/plugins/krownpay-gateway-for-woocommerce/#reviews)
 * [Development](https://pap-cw.wordpress.org/plugins/krownpay-gateway-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/krownpay-gateway-for-woocommerce/)

## Description

KrownPay offers a secure payment gateway solution for seamless transactions on your
WooCommerce store.

### Download the Plugin

Obtain the KrownPay WooCommerce Plugin from the official source or marketplace where
it is available.

### Upload the Plugin to WordPress

 1. Navigate to the WordPress admin dashboard.
 2. Go to `Plugins > Add New`.
 3. Click on the `Upload Plugin` button.
 4. Choose the downloaded KrownPay WooCommerce Plugin ZIP file and click `Install Now`.

### Install the Plugin

Once uploaded, click `Activate Plugin` to activate the KrownPay WooCommerce Plugin.

### Activation

### Activate the Plugin

 1. After installing, navigate to `Plugins > Installed Plugins`.
 2. Locate the KrownPay WooCommerce Plugin and click `Activate`.

### Configuration

### Adding WooCommerce Credentials

 1. Access WooCommerce Settings: Navigate to `WooCommerce > Settings` in the WordPress
    admin dashboard.
 2. Generate your WooCommerce consumer key and secret key.
 3. Locate the KrownPay Section: In the WooCommerce settings, find the `Payments` tab.
 4. Click on `KrownPay` to access the settings for the KrownPay Gateway for WooCommerce
    Plugin.
 5. Enter WooCommerce Credentials: Enter your WooCommerce store credentials, including
    API keys and any required authentication details.
 6. Save the changes.

### Creating a Store on KrownPay

 1. Visit [KrownPay](https://stg.app.krownpay.com/): Go to the link and sign up for
    an account.
 2. Create a New Store: After logging in, navigate to the `Stores` section.
 3. Click on `Create Store` and fill in the required information about your store (
    e.g., name, URL).
 4. Take note of the Merchant ID, Secret Key and Gateway URL. as they are all be auto
    generated.

### Adding KrownPay Cridentials on plugin

 1. Access KrownPay Plugin Settings: In the WordPress admin dashboard, go to `WooCommerce
    > Settings > Payments`.
 2. Click on `KrownPay` to open the settings.
 3. Enter the Merchant ID, Secrete key and Gateway URL gotten from the krownpay dashboard
 4. Save the changes.

### Using KrownPay for Checkout

 1. Enable KrownPay Payment Method: Ensure that the KrownPay payment method is enabled
    in the WooCommerce payment settings.
 2. Add Items to Cart: Customers can browse your WooCommerce store and add items to
    their cart as usual.
 3. Proceed to Checkout: When ready, customers can proceed to checkout. On the checkout
    page, they will see the option to pay with KrownPay.
 4. Select KrownPay: Customers select KrownPay as their payment method and click `Place
    Order`.

### Payment Flow

 1. Generate Payment Link: Upon selecting KrownPay and placing the order, a payment
    link is generated.
 2. Redirect to Payment Page: The customer is redirected to the KrownPay payment page
    via the generated link.
 3. Complete Payment: The customer completes the payment using their chosen cryptocurrency
    on the KrownPay payment page.
 4. Redirect to Success Page: After successful payment, the customer is redirected 
    back to the WooCommerce site’s success page.

### Troubleshooting

 * **Payment Issues**: If customers encounter issues during payment, ensure the 
   Gateway URL is correctly configured and your KrownPay store settings are accurate.
 * **Plugin Conflicts**: Deactivate other plugins to check for conflicts that may
   interfere with KrownPay functionality.
 * **Logs**: Enable logging in the KrownPay settings for detailed troubleshooting
   information.

### FAQs

 * **What cryptocurrencies does KrownPay support?**
    KrownPay supports a wide range
   of cryptocurrencies. Please refer to the KrownPay website for the most up-to-
   date list of supported currencies.
 * **How do I update the plugin?**
    Update the plugin via the WordPress admin dashboard
   under `Plugins > Installed Plugins`. Click on `Update Now` if a new version is
   available.
 * **Can I issue refunds via KrownPay?**
    Refunds must be processed manually through
   KrownPay and WooCommerce. Refer to both platforms’ documentation for detailed
   instructions on issuing refunds.

### Support

For additional support, contact KrownPay support through their support portal or
refer to the documentation provided on their website. For WooCommerce-related issues,
consult the WooCommerce support forums or documentation.

### License

This plugin is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this
program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
Floor, Boston, MA 02110-1301 USA.

### Technical Flow

The KrownPay Gateway for WooCommerce plugin integrates securely with KrownPay’s 
payment platform, enabling merchants to generate custom payment links for each order
placed in their store. During configuration, each merchant is provided with a unique
gateway URL, which plays a key role in establishing a secure connection between 
their store and the KrownPay payment gateway.

In the krownpay.php file, the merchant’s gateway URL ($gateway) is carefully sanitized
using sanitize_text_field() to prevent injection attacks and ensure data integrity.
This sanitized URL is then used to build the endpoint (/gtw/v1/woocommerce/orders),
where the plugin initiates a secure POST request via wp_remote_post(). The request,
which includes properly structured headers and a validated request body, communicates
with the KrownPay API to create an order and generate a unique payment link for 
the customer.

All data exchanged between the store and KrownPay is transmitted over HTTPS, ensuring
that sensitive information, including order details, is encrypted during transit.
This encrypted communication prevents unauthorized interception and guarantees that
the transaction data remains confidential.

Once the payment link is generated, the customer is redirected to a custom checkout
page where they can complete their transaction using any of their connected wallets.
Upon successful payment, the customer is automatically redirected back to the store,
and the order status is updated in real-time within the merchant’s backend, ensuring
accurate tracking of all transactions.

KrownPay prioritizes security and privacy. We do not store or have access to any
private keys—neither from the customer nor the merchant. At no point during the 
integration process will we request these keys, maintaining the highest standard
of data protection throughout the transaction lifecycle.

### Privacy Policy

https://www.krownpay.com/privacy

### Terms and Conditions

https://stg.app.krownpay.com/terms

## Screenshots

[[

[[

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“KrownPay Gateway for WooCommerce” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ krownpay ](https://profiles.wordpress.org/krownpay/)

[Translate “KrownPay Gateway for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/krownpay-gateway-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/krownpay-gateway-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/krownpay-gateway-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/krownpay-gateway-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/krownpay-gateway-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release.

## Meta

 *  Version **1.0**
 *  Last updated **2 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.7.10**
 *  Language
 * [English (US)](https://wordpress.org/plugins/krownpay-gateway-for-woocommerce/)
 * Tags
 * [gateway](https://pap-cw.wordpress.org/plugins/tags/gateway/)[payments](https://pap-cw.wordpress.org/plugins/tags/payments/)
   [woocommerce](https://pap-cw.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://pap-cw.wordpress.org/plugins/krownpay-gateway-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/krownpay-gateway-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/krownpay-gateway-for-woocommerce/reviews/)

## Contributors

 *   [ krownpay ](https://profiles.wordpress.org/krownpay/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/krownpay-gateway-for-woocommerce/)