HTTP_HOST: www.triadhosting.biz
SELF: /payments/inc/examples.html
HTTP_REFERER :
CUST SESS ACCT ID:
CUST ID:
CUST EMAIL:
SHOP CART URL PATH: /orders
LAST SHOPPING URL: Examples My Secure Payment

Online Payment Examples

Can be passed with GET or POST!

FIELD REQUIREMENTS
company_id numeric
(assigned by mysecurepayment.cloud)
pid alphanumeric
(assigned by mysecurepayment.cloud)
customer alphanumeric
(ABS Customer)
amount numeric - 2 decimals
no dollar sign
description alphanumeric
max of 255 characters
(escape spaces and special characters)
invoices List of invoices separated by pipe (|)
number::amount::discount_date::discount_amount
(no limit of characters - exported back)
Send either the (Amount/Description) OR (Invoices). Not both!
fee_percent Charge A Processing Fee for using a credit card / Echeck
Override the companies fee structure.
Enter the fee amount percentage.
0 = No Fee Charged
1 = One Percent Charged
2 = Two Percent Charged
_return_url Full URL to send a repsonse back to. User will be automatically returned to the URL supplied with a string of payment data to be processed.
Note: must be a link opened with a window.open() function:
<a onclick="window.open('LINK URL')" style="cursor:pointer">LINK</a>
_testMode 1 for yes
(test credit card pre-filled)

NOTHING PASSED

https://www.triadhosting.biz/payments/

User Defined Amount/Description

(Not Exported)
https://www.triadhosting.biz/payments/?_testMode=1&company_id=7&customer=00055&pid=HshbsmzeAn1Sq31ITliEFw8b
Real: https://www.triadhosting.biz/payments/?company_id=7&customer=00055&pid=HshbsmzeAn1Sq31ITliEFw8b

Fixed Amount/Description

(Not Exported)
https://www.triadhosting.biz/payments/?_testMode=1&company_id=7&customer=00055&pid=HshbsmzeAn1Sq31ITliEFw8b&amount=1000.00&description=my+invoice+number+1001

Pay One Invoice

(Can Be Exported)
https://www.triadhosting.biz/payments/?_testMode=1&company_id=7&customer=00055&pid=HshbsmzeAn1Sq31ITliEFw8b&invoices=1001::10.99

Pay Multiple Invoices

(Can Be Exported)

ABS Company 1 Example

https://www.triadhosting.biz/payments/?_testMode=1&company_id=7&customer=00055&pid=HshbsmzeAn1Sq31ITliEFw8b&invoices=1001::10.01::2025-10-19::2.00|1002::12.02::2025-10-20::3.00|1003::14.01|1004::16.02|1005::18.03

Negative Amount (credit)
https://www.triadhosting.biz/payments/?_testMode=1&company_id=7&customer=00055&pid=HshbsmzeAn1Sq31ITliEFw8b&invoices=116::1013.20::::50.00|10016::-23.78

Pay One Invoice with No Processing Fee

(Can Be Exported)
https://www.triadhosting.biz/payments/?_testMode=1&company_id=7&customer=00055&pid=HshbsmzeAn1Sq31ITliEFw8b&invoices=1001::10.99&fee_percent=0

Pay One Invoice with 5% Processing Fee

(Can Be Exported)
https://www.triadhosting.biz/payments/?_testMode=1&company_id=7&customer=00055&pid=HshbsmzeAn1Sq31ITliEFw8b&invoices=1001::10.99&fee_percent=5
<input type="hidden" name="customer" value="00055">
<input type="hidden" name="company_id" value="7">
<input type="hidden" name="customer" value="00055">
<input type="hidden" name="pid" value="HshbsmzeAn1Sq31ITliEFw8b">
<input type="hidden" name="invoices" value="1001::10.01::2025-10-19::2.00|1002::12.02::2025-10-20::3.00|1003::14.01|1004::16.02|1005::18.03">
<input type="hidden" name="_testMode" value="1">


Test Mode

Preset 'Test' Credit Card Information
Add the following code to the end of code above to activate
&_testMode=1

Testing Malformed Variables

# 1 (amount along with invoices)

# 2 (bad invoices)

# 3 (invoices with no amounts, wrong format)

# 3 (no invoices)

Automatic Data Post Back To Return URL

Test Post Back

AID:
PID: HshbsmzeAn1Sq31ITliEFw8b
ORDER ID:
ORDER ACCT ID:
SESS: cart_id|202510200915546474457