Coinskro Payment Gateway for WooCommerce - Documentation
Welcome to the official documentation for the Coinskro Payment Gateway plugin for WooCommerce. This guide will walk you through the entire process from installing the plugin to successfully processing a payment via the Pi Network.
1. Prerequisites
Before installing the Coinskro Payment Gateway, please ensure your WordPress site meets the following requirements:
- WordPress: Version 5.8 or higher.
- WooCommerce: Version 6.0 or higher.
- PHP: Version 7.2 or higher.
- An active Coinskro Merchant Account to obtain your API keys.
2. Installation
You can download the official plugin from the WordPress repository: Download Coinskro Payment Gateway plugin (Link coming soon)
Method 1: Uploading the Plugin ZIP
- Download the
coinskro.zipplugin file. - Log in to your WordPress Admin Dashboard.
- Navigate to Plugins > Add New and click the Upload Plugin button at the top of the page.
- Click Choose File, select the
coinskro.zipfile, and click Install Now. - Once the installation is complete, click Activate Plugin.
Method 2: Manual FTP Upload
- Extract the
coinskro.zipfile on your local computer. - Connect to your web server using an FTP client (like FileZilla).
- Navigate to your WordPress installation’s plugin directory (
/wp-content/plugins/). - Upload the extracted
coinskrofolder into thepluginsdirectory. - Log in to your WordPress Admin Dashboard, navigate to Plugins, locate Coinskro - Secure your Assets in transactions, and click Activate.
3. Configuration & Setup
Upon activating the plugin, you will see a welcome notification in your WooCommerce Inbox. To start accepting payments, you must configure your Coinskro API keys.
- In your WordPress Admin Dashboard, go to WooCommerce > Settings.
- Click on the Payments tab.
- Locate Coinskro in the list of payment gateways and toggle the switch to enable it.
- Click the Manage button (or Settings from the Plugins page) to open the Coinskro configuration page.
Configuring the Settings
Fill out the form with your preferences and Coinskro API details:
- Enable/Disable: Ensure the “Enable Coinskro” checkbox is checked.
- Environment Settings: Choose between
Testnet(for sandbox testing) andMainnet(for live production transactions). - Secret Key: Enter the Secret Key provided in your Coinskro Merchant Dashboard. Be sure to use your Testnet key for Testnet and Mainnet key for Mainnet.
- Payment Flow Mode: Select whether the customer should be redirected to the Coinskro portal or if the payment should open in a Popup modal (if applicable).
- (Optional) Success/Failure URLs: Define custom pages where the customer should be redirected after a transaction succeeds or fails.
- Click Save changes at the bottom of the screen.
4. The Customer Checkout Experience
The Coinskro plugin fully supports both the traditional WooCommerce Shortcode Checkout and the modern WooCommerce Block Checkout.
Step 1: Adding a Product to the Cart
Customers browse your store and add one or more products to their cart as usual.
Step 2: Proceeding to Checkout
When the customer navigates to the Checkout page, they will fill out their billing and shipping details.
Step 3: Selecting Coinskro Pay
In the Payment Methods section, the customer will see Coinskro Pay listed (alongside the official Coinskro logo).
Step 4: Making the Payment
- The customer clicks Place Order.
- Based on your configuration, they are redirected securely to the Coinskro Payment Portal.
- The customer authenticates and authorizes the transaction using the Pi Network infrastructure.
Step 5: Verification & Completion
- Once the payment is authorized on Coinskro, the customer is immediately redirected back to your WooCommerce store.
- The Coinskro plugin automatically verifies the transaction status in the background using the secure API and updates the WooCommerce Order Status.
- The customer sees the standard “Order Received” success page.
- The store administrator can view the transaction details inside the WooCommerce order notes.
Troubleshooting
- Missing Settings Link? Ensure that your plugin is activated correctly. You can always reach the settings manually via WooCommerce > Settings > Payments > Coinskro.
- Transactions failing verification? Double-check that your Secret Key matches your selected Environment (Testnet vs. Mainnet) and that the Coinskro webhook URL (if applicable) is correctly pointing to your store.