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
1
vote
0 answers

Getting, storing, and refreshing PayPal access token in Laravel

I am currently using Omnipay's PayPal library in Laravel to interact with the PayPal API. Paypal requires an application to use its client id and secret to retrieve an access token. I've stored the client id and secret in ENV variables. I'm trying…
Jon Ohliger
  • 68
  • 1
  • 8
1
vote
1 answer

Omnipay Paypal Express Checkout Error: Security header is not valid

Whenever setTestMode() method is used, the error "Security header is not valid" pops up. But if I remove setTestMode() and just keep the setUsername(), setPassword(), and setSignature() methods, it goes through and redirects straight to PayPal (Live…
SuperNoob
  • 23
  • 1
  • 6
1
vote
0 answers

can't use omnipay package with laravel 5.7

I'd like to install omnipay. The first thing I tried was to install league/omnipay 3 version, which installs omnipay/common 3 version. Now the gateway I need is omnipay-paymentsense which has requirement of omnipay/common 2 version. Which means I…
Nika Kurashvili
  • 6,006
  • 8
  • 57
  • 123
1
vote
0 answers

OmniPay manually "create" a response class?

So I'm using https://github.com/thephpleague/omnipay-mollie and I've decided to use webhooks instead of the example they have on their readme. I've got all that working but when it comes time to process the webhook, I was hoping to have access to…
Borassign
  • 621
  • 2
  • 7
  • 16
1
vote
1 answer

Silvestripe 4.4 can't instal omnipay/paypal

With silverstripe 4.4 and silvershop, I have tried a hundred variations to get omnipay/paypal installed with composer. No matter what I try it doesn't install. Has anybody got it working with ss4.4 ? Whats wrong?
Sepp Hofer
  • 217
  • 2
  • 12
1
vote
0 answers

NMI gateway in OMNIPAY

Trying to add NMI integration to my CiviCRM using OMNIPAY. I added the GIT repository (tried https://github.com/mfauveau/omnipay-nmi and https://github.com/nerdmedia/omnipay-nmi) and added the required line that is listed in the readme. I also…
1
vote
0 answers

Symfony - Class Omnipay\PayPal\ExpressGateway not found

I'm trying to integrate the Omnipay Paypal package with my Symfony2.5 application. I've installed the colinodell/omnipay-bundle package, and followed the instructions on how to set it up. Set config as: omnipay: methods: PayPal_Express: …
1
vote
2 answers

omnipay/Braintree find customer not working

i am working on laravel api, integrated omnipay/braintree, i have successfully created my customer, what i need to get customer data through this, $mycustomer = $omnipay_gateway->findCustomer(5)->send(); but it giving me bad response…
1
vote
1 answer

Symfony Routing and Mixed Content Errors

Hi so I am receiving mixed content errors when trying to display a card details form on my checkout page of my Symfony/Sylius app. I am using payum w/ omnipay bridge to do a sage pay checkout. The reason I get the mixed content error is because I…
UUake Up
  • 390
  • 4
  • 17
1
vote
1 answer

Paypal Rest API - How to get client ID and secret?

I am considering using implementing Paypal Rest API using using Omnipay: PayPal package - PayPal_Rest (Paypal Rest API). Where do I ask client to find client ID and Secret Key from their PayPal account so they can enter on our backend in order to…
I'll-Be-Back
  • 10,530
  • 37
  • 110
  • 213
1
vote
1 answer

Omnipay - PayPal Express and upSell page which needs to recharge customer again after initial succesfull payment

My dear fellow IT developers... I am currently working for a client of mine on Laravel 5.5 and we are using omnipay library for PHP and it's PayPal part omnipay-paypal. Now since this a specific request from client I am using PayPal-Express method…
Matija
  • 17,604
  • 2
  • 48
  • 43
1
vote
1 answer

How to write phpunit test cases for omnipay purchase and send method?

I've written new repository using omnipay for x payment gateway. I've successfully written test cases for repository itself. Now the problem is i am using this repository in my code and it's also working…
Kapil Verma
  • 178
  • 3
  • 17
1
vote
0 answers

Omnipay - testing for valid API keys

We have a system that allows non-profits to use whatever payment gateway they have setup. They select their gateway from a drop down, the correct inputs for the required API values are shown and they enter their details in. We want to test these…
Nick DuBois
  • 207
  • 3
  • 12
1
vote
0 answers

Setting application fee with Omnipay/Stripe

I am using Laravel Omnipay and Omnipay/Stripe. I am trying to set an application fee (Stripe resource) to be collected but after I fill in card data and post to my controller I get this error: InvalidRequestException in AbstractRequest.php line…
Derek
  • 4,747
  • 7
  • 44
  • 79
1
vote
1 answer

Old paypal checkout layout on express checkout

when we use paypal standard button, payment receive page shows the new look. but when we try with paypal express checkout, it shows paypals old layout. but again when we choose paypal sandbox for express checkout, again the new look. how can i set…