WooCommerce Installation Guide

Installation

  This plugin requires WooCommerce to work. Please install WooCommerce before proceeding.

  WordPress Repository

  1. Navigate to Plugins > Add New Plugin.
  2. Use the search field and enter "Trust Payments Gateway (3DS2)".
  3. Click the "Install Now" button to install the plugin.
  4. Click the "Activate" button or navigate to Plugins > Installed Plugins > Activate the Trust Payments gateway plugin.

  Manual Installation

  1. Navigate to Plugins > Add New Plugin > Upload Plugin.
  2. Select the Trust Payments Gateway for WooCommerce (3DS2) plugin file (trustpayments-gateway-3ds2.zip) from your computer.
  3. Upload the file.
  4. Click the "Activate" button or navigate to Plugins > Installed Plugins > Activate the Trust Payments gateway plugin.

 

Settings

To configure the Trust Payments API for WooCommerce plugin, navigate to WooCommerce > Settings >
Payments > Trust Payments Gateway (3DS2) in your website dashboard. Select “Save Settings” at the bottom of the page to confirm your settings.

woocommerce-guide-01.png
Click image to expand

You will be able to change the following settings:

  • Enable/Disable
    Check this box to activate the gateway on your checkout.
  • Enable/Disable Debug Logger
    Enables/disables the display of debugging information for developers. The logs can be found in WooCommerce > Status > Logs.
  • Title and Description
    These are used on the checkout page of WooCommerce to describe the Trust Payments gateway.
  • JWT Username
    Your JWT username, assigned by Trust Payments.
  • JWT Secret
    This is used to sign the JWT (JSON Web Token) for processing requests to the Trust Payments gateway.
  • WebServices Username
    This will be your WebServices username registered with Trust Payments.
  • WebServices Password
    This will be your WebServices password.
  • Site Reference
    This is the site reference provided by Trust Payments.
    Note: To run the checkout in test mode you will need to enter the test site reference. This will allow you to place orders with test card numbers and should only ever be used on a development website.
  • Auth Method
    The auth method is used to specify how a transaction is to be processed by the card issuer. There are two supported values: Pre or Final.
  • Disable saving new cards
    Disables the saved card feature. With this ticked, customers won’t be able to save any new cards, but they will still be able to use previously saved cards.
  • Disable save cards option
    Disables the saved card feature. With this ticked, customers won’t be able to save new cards, but also won’t be able to use or see previously saved cards

  Saved cards are enabled by default.

 

Checkout

After adding a product/s to the cart, go to checkout and select Trust Payments to see the checkout:

woocommerce-guide-02.png

Order Status

Once an order has been placed, the order status will be set to “Processing” if the payment has been successful. In practice, this is automated because orders that have a failed payment should be flagged up before completing checkout.

An order that has been placed without a successful payment will be marked as “Pending Payment” but in normal circumstances you shouldn’t see this status.

Once you have processed the order you have the option to manually change the order status to “Complete” to help you manage your orders easily.

 

Advanced Settings

Refunds

  1. To process a refund, go to WooCommerce > Orders.
  2. Edit the order you would like to refund.
  3. Click the "Refund" button below the order item list, and enter the amount to be refunded.
  4. Click the "Refund via Trust Payments".

  If you have the “Refunded Orders” email enabled in WooCommerce, then an automated email will be sent to the customer to inform them of the refund. If you entered a reason for the refund this will be included in the email.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request