You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following gateways are provided by this package:
affirm
For general usage instructions, please see the main Omnipay repository.
Affirm.js
The Affirm integration is fairly straight forward. Essentially you just pass
a checkout_token field through to Affirm instead of the regular payment data.
After that you will have a checkout_token field which will be submitted to your server.
Simply pass this through to the gateway as transaction_id, instead of the usual options array:
$transaction_id = $_POST['checkout_token'];
$response = $gateway->authorize(
'transaction_id' => $transaction_id,
])->send();
$transaction_reference = $response->getTransactionReference();
// you may use $transaction_reference in the upcoming calls.
Support
If you are having general issues with Omnipay, we suggest posting on
Stack Overflow. Be sure to add the
omnipay tag so it can be easily found.
If you want to keep up to date with release announcements, discuss ideas for the project,
or ask more detailed questions, there is also a mailing list which
you can subscribe to.
If you believe you have found a bug, please report it using the GitHub issue tracker,
or better yet, fork the library and submit a pull request.
TODO
Add unit testing.
About
Affirm PHP driver for the Omnipay payment processing library