Visit our Secure Web Pay section at:
Secure Web Pay Capture Template allows you to host a payment capture page on Payments Gateway servers. A web based entry allows for the secure transmission of sensitive data by having Payments Gateway host the entry form. This form is used for payment method entry only. The web page will return the payment method id created. The look and feel of the page can be modified by passing URL parameters or using a pre-defined style.
The Secure Web Pay Capture template API supports these operations:
HMACMD5( APILoginID + "|" + UTCTime, SecureTransactionKey)
API Login ID found in the Virtual Terminal
UTC Time in ticks (since 01/01/0001 00:00:00)
The clientID associated with this payment. If not provided, the payment will be clientless
If not provided, the form will show a switch to select either CC or eCheck
cc = Credit Card
echeck = eCheck
Background color of the form
Font color of the form
Background color of text boxes and dropdown lists
Font family of text
Font size of text. Can be either valid CSS size name or sized in pixels
Text to display on the form
Font size of message. Can be either valid CSS size name or sized in pixels
Font color of message
Background color of button
Text of the “Add Payment” button
Text of the “Add More Payment” button
Add Another Payment
After a payment has been entered should the button "Add Another Payment" button show?
If yes, confirmation page will show submitted data.
If yes, the payment is set as default payment
If yes, the credit card payment is set as procurement card
Overrides auto-detected value.
Parameter passed in, then send back to post URL
Post data to remote URL.
payment method ID created (return)
* When using color based parameters do not include "#"
Authentication is done using a HMAC-MD5 hash that includes the following fields.
pg_ts_hash = HMACMD5(APILoginID + "|" + UTCTime, pg_secure_transaction_key)
The API Login ID and Secure Transaction Key can be found in the Virtual Terminal under Gateway Settings.
If the style parameter not passed or passed as 1 the form may be customized. Passing a style 2 shows the form below.
APILoginID is required
API Login ID field has not been passed
TSHash value is required
TSHash field has not been passed
UTCTime value is required
UTCTime field has not been passed
Request is expired
Time limit for generating the hash has expired. Expiration time is three minutes
Hash has been computed incorrectly or the API Login ID/Secure Transaction Key is incorrect
ClientID is invalid
The Client ID passed does not exist.
Credit card number is invalid
Account holder name is required
Credit card expiration date is invalid
Credit card expiration date is invalid. Check that the proper data has been entered.
eCheck account TRN is required
Transit routing number is required
eCheck account TRN is invalid
Transit routing number is not in the correct format
Credit card type is invalid
Credit card type is invalid