The PayGate for WooCommerce payment gateway allows customers to make payments online. PayGate is a South African payment processor and has support for MasterCard and Visa, and optionally American Express and Diners Club.
Note: This product is no longer for sale at WooCommerce.com. Documentation is not being updated. Go to GitHub to download PayGate for free.
Requirements
↑ Back to top- PayGate account
- SSL certificate – see SSL and HTTPS for free and low-cost options
- Your store’s location must be set to South Africa and currency set to ZAR (rand)
Sign up with PayGate
↑ Back to top- Go to: Getting Started with PayGate.
- Complete the form.
- Select Get Started.
Installation
↑ Back to top- Download the .zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
- Install Now and Activate the extension.
Setup and Configuration
↑ Back to top![](https://woocommerce.com/wp-content/uploads/2014/04/paygate-enable.png?strip=all&w=704)
- Go to: WooCommerce > Settings > Payments. Note: ‘Payments’ formerly called ‘Checkout’ prior to WooCommerce 3.4.
- Select PayGate. You are taken to the Settings screen.
- Configure your settings:
- Enable/Disable – Enable to use. Disable to turn off.
- Title – Choose the title shown to customers during checkout
- Description – Add info shown to customers if they use PayGate
- Yes/No to display the Description.
- PayWeb or PayXML – Should match what you signed up for at the PayGate website.
- PayGate Test Mode – Enable if store is in development. Disable Enable PayGate if this is the case.
- PayGate ID and PayGate Password (Secret Key) – Enter, as shown on your PayGate account.
- Accept Diners Club and American Express – Tick checkboxes if you are using PayXML and already enabled these options with PayGate. Not applicable to PayWeb.
- Save changes.
Usage
↑ Back to topTroubleshooting
↑ Back to top- http://stackoverflow.com/questions/8826861/seems-like-post-values-are-lost-when-htaccess-rewriterule-used-get-values-are
- http://stackoverflow.com/questions/358263/htaccess-is-it-possible-to-redirect-post-data
Frequently Asked Questions
↑ Back to topPaySubs Notes and Caveats
↑ Back to top- PaySubs works alongside the PayWeb product offered by PayGate and currently there is no option to take credit card details directly on your site for subscriptions. If you do use the PayXML product, be aware that users are redirected to the PayGate site for the actual transaction process.
- PaySubs is currently only available to merchants with Nedbank and Standard Bank accounts.
- PaySubs allows a maximum subscription frequency of up to three months, e.g., Subscription renews every 3 months for the duration of the subscription.
- If no end date is provided for the subscription product in WooCommerce Subscriptions, the PayGate plugin will by default end the subscription after 1 year. To customize this, you can use the following filter
add_filter('woocommerce_paygate_subscription_total_duration', function($duration){ return '2 years'; });
I enabled the method but PayGate is not available during checkout.
↑ Back to topI finished testing and disabled test mode, but PayGate is not available during checkout.
↑ Back to topThis is applicable to the PayXML payment option only.
The PayXML payment option requires that a valid SSL certificate is installed on your server and the “Force SSL” option in WooCommerce to be active. Check your WooCommerce settings to ensure you meet requirements.