When processing requests through our gateway, you will need to ensure you specify a supported domain in the target URL.
Payment Pages
Replace <DOMAIN> in the code snippet with the following:
- https://payments.securetrading.net
JavaScript Library v2
Replace <WEBSERVICES_DOMAIN> in the code snippet with the following:
- https://webservices.securetrading.net
JavaScript Library v3
When using the Content Delivery Network (CDN) to reference the st.js library, be aware that the CDN will block requests from your localhost/127.0.0.1 environment. To test your application locally with CDN, you will need to run your test application with your IPv4 address rather than localhost. After performing a lookup of your IPv4 address, you will need to replace localhost in your browser with the IP address retrieved.
Replace <CDN_DOMAIN> in the code snippet with the following:
- https://cdn.eu.trustpayments.com/js/latest/st.js
Webservices API
Replace <DOMAIN> in the code snippet with the following:
- https://webservices.securetrading.net