URL notifications ensure the WooCommerce plugin is updated when transactions have been processed on your Trust Payments account. Follow the steps provided below to enable URL notifications:
For load balancer and proxy configurations...
Ensure your load balancer is configured to preserve the original IP address in the header. This IP must not be modified or replaced, as doing so will disrupt notification delivery and prevent orders from updating correctly.
-
Contact our Support Team and request that URL notifications are configured for your WooCommerce plugin.
You will need to provide your unique Trust Payments site reference, URL of your WooCommerce store and the following info regarding the Condition and Action:
Condition
- Error codes in 0
- Interface is not PAYMENTS
- Requests in ACCOUNTCHECK, AUTH
- Accounts in ECOM, MOTO
Action
- Use site security details: YES
- Method: POST
- Website address (URL): https://<yourdomain>/wp-json/st/v2/response
e.g. "https://example.com/wp-json/st/v2/response" - Fields: authcode, enrolled, errorcode, expirydate, issuer, issuercountryiso2a, maskedpan, orderreference, paymenttypedescription, requestreference, securityresponseaddress, securityresponsepostcode, settlestatus, sitereference, transactionreference
- Pipe notification to browser: NO
- Process notification: offline
As part of this process, you will agree on a Url Notification Password with Trust Payments and they will enable the notification from their side.
-
Navigate to WooCommerce > Settings, select the Payments tab, then select either Trust Payments - Credit/Debit cards (via hosted checkout) or Trust Payments - Credit/Debit cards (via API) depending on your chosen integration method.
-
Check the Enable Url Notification checkbox to enable the notification from your side. Then enter the agreed Url Notification Password in the text box provided.
-
Once done, select "Save changes" at the bottom of the page.