Categories
PHP

SecurePay PHP integration

SecurePay it’s a payment gateway specialized on Australian market.

They have an API but we decided using the hosted solution for PCI reason and because was easier.

Testing numbers
Use Visa card number 4444333322221111, and a valid expiry date (E.g. 10/20) to initiate test payments.

When processing transactions via the test payment server, the cent amount dictates the transaction response.

Approved
Amounts ending with 00, 08 (and 77 for ANZ). For example, $1.00. $12.08 are approved.

Declined
Amounts ending in all other two digit combinations will be declined with the matching bank codes (01-07, 09-76, 78-99).

Code