Configure the PrestaShop Addon

Sign in to the Control Panel of your PrestaShop Store.

On the navigation menu on the left, within the "IMPROVE" section, click Module > Module Manager.

prestashop-install-2102-01-en.png

At the bottom, under "Payment", you should see the Trust Payments module installed. Click “Configure” to view the Trust Payments "Configure" page.

prestashop-install-2102-04-en.png

On the "Configure" page, you will be displayed settings that can be changed on the module and these are grouped into tabs for your convenience, as described below:

 

General settings

prestashop-configure-2102-03-en.png


Test Environment: This toggle allows you to switch the app between live and test configurations. When enabled, the app is configured to operate in test mode.


Choose Payment Method: Choose between utilising our Hosted Payment Pages or JavaScript Library.


Site Reference: You must enter your unique site reference in the “Site Reference” field.


Payment Text: Enter the title of this payment method to be displayed on the checkout to customers.


Endpoint: If you are based in Europe, select “Europe Gateway”. If you are based in the United States, select “US Gateway”.


Payment Action:

Choose between the following two options:

  1. Authorize and Capture

    prestashop-configure-1002-04-en.png

    • Status For Completed Payment: Choose the status of the order when the payment has been completed by the customer.
    • Status For Payment Needs Attention: If a payment has been suspended, choose the status of the payment on the order screen.

     


     

  2. Authorize Only

    prestashop-configure-1002-05-en.png

    • Status For Capture When Using Authorize Only: Choose the status of the order when the payment has been completed by the customer.
    • Status For Completed Payment: Choose the status to use when updating the status on the order screen. This will update the transaction to be captured.

Payment Option Image: Enable this toggle to display the Trust Payments logo and (if enabled) PayPal logo next to the payment method on your checkout.


Enable Subscription: Coming soon.

 

Payment Pages settings

prestashop-configure-2102-06-en.png


Enable Site Security & Site Security Password: 

To protect your payments from unauthorised modification, you will need to enable site security using the toggle provided, and enter the password you have agreed with our Support Team.


Enable Iframe: Enabling this option will instruct the module to render Payment Pages in an HTML iframe element. Using an iframe in combination with custom parent/child CSS allows for seamless integration, making the checkout appear as if it's part of the same page.


Payment Profile: (Only applicable when version is set to 2) The ST Profile refers to a set of custom HTML files that will be loaded by the Payment Pages instead of the default HTML files used by Trust Payments. These HTML files must be uploaded to the MyST File Manager. Click here to learn more.

  If you have not configured your Payment Pages to use a custom profile in this way, you must leave this field with value "default".

 

JavaScript Library settings

  This tab will only be present if the JavaScript Library is toggled.

prestashop-configure-2102-07-en.png


JWT Username & JWT Secret Key: You need a user account with the role “Webservices JWT” for the app to create the token needed to process a payment. If this user account has not already been provided, please request that one is created for your site reference(s) by contacting our Support Team.


Pay Button Color: Choose the colour of the "Pay" button on checkout.


Notification Url: The URL to use when configuring a URL notification.

   You must click here and follow the instructions displayed to setup a URL notification.
Failure to do so will prevent orders from being processed.

If configured correctly, the rule should look like the following when viewed in the MyST Rule manager:

prestashop-configure-2102-08-en.png


Enable Paypal: To enable PayPal payment method on checkout. Contact our Support Team to setup PayPal on your site reference.


Paypal Text: Enter the title of this payment method to be displayed on the checkout.

 

Webservice API settings

prestashop-configure-2102-09-en.png


Enter Webservices Username & Enter Webservices Password: Enter your Webservices username and password in these fields. This is required to authenticate your requests with Trust Payments. If you do not have a Webservices user account, click here for instructions on how to register one.

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