Enable advanced customisation changes

After you have uploaded the required files, they can be used to render your pages by adding the following mark-up to your checkout form, including the name of your profile:

<input type=’hidden’ name=’stprofile’ value='[name of profile]’>

  • When the profile name is included in the POST, the associated files are used (if available) for each Trust Payments-hosted page.
  • When the profile is not included in the POST, the default styling will be used during the payment process.

The following examples are for when starting the payment process on the Choice page and Details page:

HTML for posting to the Choice page HTML for posting to the Details page
<html>
<head>
</head>
<body>
<!--YOUR HTML-->
<form method="POST" action="<DOMAIN>/process/payments/choice">
<input type="hidden" name="sitereference" value="test_site12345">
<input type="hidden" name="stprofile" value="birthday">
<input type="hidden" name="currencyiso3a" value="USD">
<input type="hidden" name="mainamount" value="100.00">
<input type="hidden" name="version" value="2">
<input type="hidden" name="orderreference" value="myorder12345">
<input type="submit" value="Pay">
</form>
</body>
</html>

Replace <DOMAIN> with a supported domain. Click here for a full list.

 

Requirements

  • The profile name is submitted in a field called stprofile.
  • You must only include one stprofile in a request.
  • The profile name you choose must follow the requirements outlined on this page.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request