# Webshop engine integrations
TIP
As with all types of payment processing, we HIGHLY recommend that your payment pages be protected from automated requests. All merchants are required to protect their integrations from fraudlent transactions, including card testing. We recommend using at least one of the following options (there are many others):
- Protect payment page behind a login page.
- Enable reCAPTCHA reCAPTCHA Details (opens new window)
- Enable Fraud Rules from within the gateway to protect in realtime. Please see the gateway control panel for rule recommendations.
# WooCommerce
# Plugin Installation
WARNING
Always backup your system before making any changes or upgrades!
WARNING
After updating to 2.2.0+ if some customers experience that they receive a "Gateway error" message when using an existing saved payment method, it can help if they remove that payment method and add it again.
WARNING
After updating to 2.3.0+, a Run database updates button will appear at the bottom of the "Custom payment gateway" settings page. It's imperative to click it after this update, and any further update that includes database updates.
- Download the compressed installation file .
- Log in to your Wordpress Admin.
- On the Admin Panel click Plugins.
- On the top of Plugins page click on "Add New".
- On the top of the Add Plugins page click on "Upload plugin".
- Press the "Choose File" button to open the downloaded woo-gw.zip file and press the "Install Now" button.
- Once installed go to your Plugins page and click on "Activate" under the "GW for WooCommerce" plugin.
# Enabling payment methods
- Under the Wordpress Admin Panel click WooCommerce.
- Under the Woocommerce Panel click Settings.
- Go to the Payments tab.
- Two new elements have appeared on the list:
- Payment Gateway - Credit Card (responsible for handling card payments)
- Payment Gateway - eCheck (responsible for handling ACH payments)
- To enable the payment method, click on the "Enabled" switch
# Plugin Configuration
To get to the settings page, either
- Under the Wordpress Admin Panel click "WooCommerce".
- Under the Woocommerce Panel click "Custom Payment Gateway".
or
- Under the Wordpress Admin Panel click "WooCommerce".
- Under the Woocommerce Panel click "Settings".
- Go to the "Payments" tab.
- Click "Set up" or "Manage" next to either "Payment Gateway - Credit Card" or "Payment Gateway - eCheck" payment method
To configure
Both methods can be configured on the same page, along with some necessary gateway configuration
Gateway
- API key: the key with which the payment gateway identifies the user of the plugin. The type of the key should be set to "api" in the control panel.
- URL: the url of the payment gateway without trailing slash or
/api
at the end
Once these details have been provided, it's possible to test the API connection with the
Test API connection
button to ensure proper configuration.- Debug log: enable for debugging purposes
Credit Card Payment
- Title: the displayed title of the payment section at checkout.
- Description: the displayed description of the payment section at checkout.
- Transaction type: the chosen type of the transaction. There are two types:
- Sale (Authorize and Capture)
- Authorize Only
- Enable saving of payment methods: enable to allow the customer to save payment details
- Surcharge, Surcharge type, Surcharge title: Explained below
eCheck Payment
- Title: the displayed title of the payment section at checkout.
- Description: the displayed description of the payment section at checkout.
- Transaction type: the chosen type of the transaction. There are two types:
- Sale (Authorize and Capture)
- Authorize Only
- Enable saving of payment methods: enable to allow the customer to save payment details
Click on "Save changes".
# Base URL
# Integration test
For testing purposes use the url with the corresponding API key.
# Going Live
Change the URL for with the correct API key.
# Surcharge Configuration
- Under the Wordpress Admin Panel click WooCommerce.
- Under the Woocommerce Panel click Custom Payment Gateway
- Surcharge can be configured with these 3 fields:
- Surcharge: the amount of surcharge in
- cents (flat calculation)
- percentage (percentage calculation)
- Surcharge type:
- None: no surcharge added to the base amount
- Flat: the amount is added as a fixed amount to the base amount
- Percentage: the amount is added as a percentage of the base amount to the base amount
- Surcharge title: the title displayed for users during Checkout.
- Surcharge: the amount of surcharge in
- Click on "Save changes".
# Example setup for surcharge
- Percentage the value of 2.10 with the base amount of 10.10 means that the amount of the surchage added to the base amount will be 0.21.
- Flat with value of 2.10 the surcharge amount will be a flat 2.10 added to the base amount.
# Subscriptions
Starting from v2.1.0, WooCommerce Subscriptions is supported by the plugin.
# Supported features:
- Simple subscriptions
- Subscriptions with shipping
- Subscription cancellation
- Trial period
# Features on the roadmap (unsupported for now)
- Sign-up fee
- Payment method change
- Subscription suspension and reactivation
- Mixed checkout (cart containing both normal products and subscriptions)
- Synchronized renewal (fixed billing dates)
# Configuration
- Under the Wordpress Admin Panel click WooCommerce.
- Under the Woocommerce Panel click Custom Payment Gateway
- To support Woocommerce Subscriptions, tick
Enable saving of payment methods
at the desired payment method - Click on "Save changes".
# Notes
- If for some reason the payment method is not available at checkout it's because an unsupported feature is used.
# Magento
# Plugin Installation
WARNING
This module overrides the default checkout messages behavior to disable auto-hiding of messages.
WARNING
This Magento integration only supports credit card payments. ACH and surcharge support is currently under development.
Download the latest release of this module .
Extract the contents to
<magento_installation_directory>/app/code/Custom
(ifcode
andCustom
directories don't exist yet, create them)Rename the extracted directory to
PaymentGateway
, the end result should look like this:<magento_installation_directory>/app/code/Custom/PaymentGateway
Run the following commands to enable the module
<magento_installation_directory>bin/magento setup:upgrade <magento_installation_directory>bin/magento setup:di:compile
Validate the installation by running the following command
grep Custom_PaymentGateway <magento_installation_directory>/app/etc/config.php
The result should look like this:
'Custom_PaymentGateway' => 1,
# Plugin Configuration
- Open the Magento Administration page
- Select STORES from the menu on the left, then select Configuration
- Open the SALES collapsible on the left and select Payment Methods
- Scroll down until you find the Custom Payment Gateway collapsible and open it
- Change Enabled from No to Yes
- Add your API Key
- Add the Base URL where the API requests will be sent to.
- Click Save Config in the top right corner
# Base URL
# Integration test
For testing purposes use the url with the corresponding API key.
# Going Live
Change the URL for with the correct API key.
# Gravity Forms
# Requirements
- Wordpress website
- Active Gravity Forms plugin
- Active Gravity Forms Tokenizer plugin
- Active Fluidpay merchant account
- At least one available form
# Features
- Card and ACH Payment via the Fluid pay tokenizer
- Customize Payment related info (Titles, amounts etc.)
# Plugin Installation
- Download the latest release of this module
- Log in to your Wordpress Admin.
- On the Admin Panel click Plugins.
- On the top of Plugins page click on "Add New".
- On the top of the Add Plugins page click on "Upload plugin".
- Press the "Choose File" button to open the downloaded gravity-tokenizer-x.x.zip file and press the "Install Now" button.
- Once installed go to your Plugins page and click on "Activate" under the "Gravity Forms Tokenizer" plugin.
# How to add the Tokenizer to your form
# Step 1 - Create a new form
Create a new form (Dashboard/Forms/New Form)
# Step 2 - Customize your form
Choose the fields you wish to add to your form. Don’t forget to add the Tokenizer field.
# Step 3 - Customize the Tokenizer
Once the tokenizer field has been added, click on it and choose Settings or Field Settings.
# General settings:
- Field Label: Title of the field visible to the users.
- Description: Description of the field visible to the users. It can be used to give specific hints or guidelines for the end users.
- Tokenizer - URL and keys: connects the Form with your Gateway account.Endpoint URL: The URL of the Gateway.Public Key: Public key generated in the Control Panel.API Key: API Key generated in the Control Panel.
TIP
Please make sure to add the URL of the payment gateway without trailing slashes and path components. (e.g. no "/" or "/api" at the end)
WARNING
Please be aware that you need to add the URL and keys in order to see any part of the tokenizer in preview or in the saved form.
- Tokenizer - Payment Methods: choose the payment method you wish to use in the form.
WARNING
Please make sure that you have a properly set up processor for each payment method.
WARNING
Please be aware that ACH payments require billing information too.
- Tokenizer - Other Settings: choose the field types you wish to use in the form.
TIP
Please make sure that the State name entered to the State field follows the ISO3166 guidelines. The dropdown is currently not implemented into the Fluidpay Tokenizer.
- Tokenizer - Amount Settings: set the amounts you wish to display to your end users.Amount Type: choose the type of the field. You can choose select for a dropdown or radio button.Enable Custom Amount: enable it if you wish to give the end user the possibility to add a custom amount.Add New Amount: enter the amount you wish to add to the available amounts.