Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Gateway
✓ use Omnipay\Migs\Gateway;
Initialize MIGS gateway and process a purchase
use Omnipay\Migs\Gateway;
$gateway = new Gateway();
$gateway->setMerchantId('your-merchant-id');
$gateway->setMerchantAccessCode('your-access-code');
$gateway->setSecureHashSecret('your-secret');
$response = $gateway->purchase([
'amount' => '10.00',
'currency' => 'AUD',
'transactionId' => '12345',
'returnUrl' => 'https://example.com/return',
])->send();
if ($response->isSuccessful()) {
echo "Payment successful!";
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.