We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't get the card information form.
$gateway = \Omnipay\Omnipay::create('Cybersource'); $gateway->initialize(array( 'profileId' => '', 'secretKey' => '', 'accessKey' => '', 'testMode' => true, // Or false when you are ready for live transactions )); $response = $gateway->purchase( [ 'amount' => '10.00', 'currency' => 'USD', 'card' => [ 'firstName' => 'test' ] ] )->send(); if ($response->isSuccessful()) { echo "Transaction was successful!\n"; } else if ($response->isRedirect()) { $response->redirect(); } else { // Payment failed echo $response->getMessage(); }
The text was updated successfully, but these errors were encountered:
The omnipay library handles the submitted data - but you need to set up a form to gather it - it's not that easy with Cybersouce sadly
Sorry, something went wrong.
No branches or pull requests
I can't get the card information form.
The text was updated successfully, but these errors were encountered: