Questions tagged [omnipay]

Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+

Omnipay is a payment processing library for PHP, based on ideas from .

292 questions
0
votes
1 answer

how to use Helper::validateLuhn($cardnumber) in omnipay

i have developed paypal pro by using omnipay.And i need to do card validation before payment process start. Helper::validateLuhn($cardnumber) But i am getting error like this:- Fatal error: Class 'Helper' not found What is the reason for getting…
0
votes
1 answer

Use Paypal Pro instead of Paypal Express - Omnipay for Laravel

I have a shopping cart that currently is redirecting users to paypal directly to make their payment. I am wanting to allow customers to input their credit card on the site and paypal to process it. I have Paypal Pro account but I am having trouble…
Lynx
  • 1,462
  • 5
  • 32
  • 59
0
votes
1 answer

How do call a method inside a component in OctoberCMS?

I don't know if this is possible or if it's a complete madness but I'm trying to execute a PHP method from AJAX call using OctoberCMS Ajax Framework(I assume that this uses jQuery behind it) and is not working because I never get redirect to PayPal…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
0
votes
1 answer

Cannot get query from URL

I am implementing a payment system into my website. When making a payment, i create a transaction_id and a order_id. The transaction_id is needed by the third party in order to make a succesful payment. The order_id is for me to identify which order…
Jeroen
  • 167
  • 2
  • 16
0
votes
0 answers

Security header is not valid omnipay

I 'm trying to implement paypal payment with laravel into my website. I used omnipay laravel package and now I'm working with sandbox for testing. I verified I configured my request like this: $gateway =…
Dev DOS
  • 1,018
  • 4
  • 18
  • 45
0
votes
1 answer

Need help in implementing omnipay

Hello everyone i need a working example to use stripe and skrill of Omnipay library. The github code didn't not help me a lot. Thankyou use Omnipay\Omnipay; $gateway = Omnipay::create('Stripe'); $gateway->setApiKey('abc123'); $formData =…
0
votes
1 answer

Omnipay - Laravel - Finalize Paypal Pyment

I have the following SuccessPayment Method: public function getSuccessPayment() { $gatewayFactory = new \Omnipay\Common\GatewayFactory; $gateway = $gatewayFactory->create('PayPal_Express'); #Test API Sandbox …
Marek123
  • 1,193
  • 7
  • 35
  • 75
0
votes
2 answers

Install OmniPay without Composer

I don't want to use composer to install Omnipay but rather use traditional PHP includes to setup Omnipay with Stripe. How do i do this? I have extracted it to this folder: www.mysite.com/payments/src Stripe.php with example code is…
AMQ
  • 21
  • 2
0
votes
0 answers

PHP - Laravel - Omnipay with Paypal Express

I'm trying to send payments to paypal from my laravel app via Omnipay. This works fine, I'm getting a response, getData() shows Success and stuff but... How do I know, which payment I received? Let's say I pay 1 Euro for Order No. 100 - How do I…
Marek123
  • 1,193
  • 7
  • 35
  • 75
0
votes
0 answers

Sagepay Simulator Error (CardHolder field)

I’m trying to make a purchase request to a Simulator end point (https://test.sagepay.com/Simulator/VSPDirectGateway.asp), with the following data: array(35) { ["VPSProtocol"]=> string(4) "2.23" ["TxType"]=> string(7) "PAYMENT" …
Sam
  • 43
  • 1
  • 4
0
votes
1 answer

Omnipay 3Dsecure redirect

I am using Omnipay to allow users to pay using Cardsave. I have the following: \Omnipay::setTestMode(true); $transactionId = date('YmdHis').$booking->space->id.$booking->user->id; $response = $gateway->purchase([ 'amount' =>…
Tom Macdonald
  • 6,433
  • 7
  • 39
  • 59
0
votes
0 answers

Retrieving transaction referene with Omnipay, when issuers calls the website

I cannot seem to find out how to retrieve the transaction reference. Based on the gateway and the callback url that is called, is this possible? $purchaseResponse = $gateway->completePurchase()->send(); if($purchaseResponse->isSuccessful()) { …
twicejr
  • 1,319
  • 3
  • 13
  • 21
0
votes
1 answer

Omnipay with Paypal Express

I have an ecommerce website that redirects to a Paypal express checkout using Omnipay. It will correctly redirect the user to Paypal and return with a successful message with payerID and everything. However, it does not actually take any payment and…
Lynx
  • 1,462
  • 5
  • 32
  • 59
0
votes
0 answers

Installing Omnipay - Windows 8 / EasyPHP / CodeIgniter

I'm having trouble installing Omnipay I'm running EasyPHP 13.1 on Windows 8 - this works fine - I develop websites in CodeIgniter, Zend, Symfony and Cake - that is all fine One of the websites I'm building needs PayPal, but might switch to another…
0
votes
0 answers

Omnipay with SagePay server method

Does anyone have an example I can follow of integrating the SagePay server integration method (payments taken off site) using Omnipay? Unfortunately the documentation is a little sparse and I'm just getting into a muddle with what methods I'm meant…
JoJo
  • 161
  • 1
  • 12