Appearance
Library
Our integration library will provide you with a series of JavaScript functions to initiate and handle the payment process. This library can be imported as a script into your webpage.
Whitelist
Payment Gateway services are restricted by means of consumer domain whitelisting; before any integration work begins please submit your working domains (Test & Production) to our development team at cardpayments@travcorpuk.com.
Please note, test domains will not be permitted access to production services.
Service Library
html
<script src="https://paymentgateway.uat.travcorpservices.com/hosted/js/dependencies"/>Host Container
To start, you will need to provide a container element that will host the payment options UI on your webpage. Make sure to set an id attribute on your element, this will be required in a following step.
html
<div id="payment-gateway-component"></div>Notes
For Payment Gateway production services, please point your integration to our production domain.
Production Domain
https://paymentgateway.travcorpservices.com/hosted/js/dependencies