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:
-
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, click the Payments tab, then click 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, click "Save changes" at the bottom of the page.