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
2
votes
2 answers

How does SagePay work with PayPal Express Checkout?

A client would like to integrate PayPal Express Checkout with SagePay. My understanding is that this is possible but I haven't been able to find any documentation online anywhere. I believe PayPal Express works by directing the user to PayPal to…
Thomas Marchant
  • 208
  • 4
  • 14
2
votes
3 answers

Omnipay: PayPal REST API Integration

Since my attempt at using the PayPal REST API directly failed, I'm trying to see if Omnipay is an option ... is there a way to use the REST API with Omnipay? So far the only integration I've seen requires a username and password, not client id and…
dcolumbus
  • 9,596
  • 26
  • 100
  • 165
2
votes
1 answer

Omnipay and Sagepay Server

I'm struggling with Omnipay and Sagepay Server. The Omnipay example code doesn't work with Sagepay Server as the final steps are completed by Sagepay and not the client, and as such can't access session data. The transaction is registered: $response…
beech
  • 1,034
  • 8
  • 13
2
votes
1 answer

pin payment error - vendor/autoload.php not found

I have installed composer on my pc and running a pin payment script. require_once __DIR__.'/vendor/autoload.php'; use Omnipay\Common\GatewayFactory; $gateway =…
user930026
  • 1,647
  • 5
  • 34
  • 59
2
votes
1 answer

Omnipay: Is there a convention about using transactionId vs transactionReference?

When using the Omnipay PHP library (or any other payment processing framework/library), is there a convention that covers when to use transactionId instead of transactionReference? A couple of possibilities that I've considered: "Id" is reserved…
coatesap
  • 10,707
  • 5
  • 25
  • 33
2
votes
0 answers

The requested resource could not be found in Omnipay/Pin Payments

I'm trying to get Omnipay to work with Pin Payments. This is what I have so far: require 'vendor/autoload.php'; use Omnipay\Common\GatewayFactory; $gateway =…
Daniel
  • 21
  • 2
2
votes
2 answers

Omni Pay - Pin Payments Generic error

You know how generic error messages arent much helpfull. I'm trying to get Omnipay to work with Pin Payments. This is what I have so far:
user30899
  • 27
  • 6
2
votes
1 answer

Using Omnipay for Pin Payments

I am trying to use Omnipay to process Pin Payment transactions and have the following code (almost exactly the same as the example on the Pin website, and containing my secret API Key instead of 'key'): require_once…
Ian
  • 241
  • 3
  • 16
2
votes
1 answer

How do I use omnipay to send a payment without credit card details using Paypal express checkout?

Hi I noticed that there are 3 example requests in examples. authorize purchase capture I keep getting Security Header invalid error messages so I tried to write my own code to test. All I want to do is to set off a purchase via express checkout…
aikchun
  • 115
  • 2
  • 8
1
vote
1 answer

Accept PayPal payment using only credit card with Omnipay (PHP)

I integrated OmniPay in my project few days ago, and I wondered if there is any option coming with it to actually enable credit card payments. https://github.com/thephpleague/omnipay I want to understand how to enable the PayPal credit card…
RainWater
  • 35
  • 4
1
vote
0 answers

Omnipay Autentication error inside laravel

I'm using Omnipay Paypal Rest api for Laravel and getting this: "Authentication failed due to invalid authentication credentials or a missing Authorization header." here is my code : public function PayWithPaypal(Request $request) { //…
Nelixus
  • 31
  • 9
1
vote
0 answers

Omnipay how to handle notification webhooks from the payment gateways

I am working on a payment gateway driver for thephpleague/Omnipay. I am really struggling to implement a payment gateway driver that is off-site (i.e redirects the user to a payment provider page to complete payment). Now my payment provider returns…
1
vote
1 answer

Class '\Omnipay\YooKassa\Gateway' not found

i have added LIB yookassa to laravel/vendor/omnipay/yookassa, but after call $gateway = Omnipay::create('YooKassa'); it was error Class '\Omnipay\YooKassa\Gateway' not found The main composer.json (require section) "omnipay/paypal": "*", …
Alex
  • 11
  • 1
1
vote
1 answer

PayPal Developer Sandbox API Credentials do not provide username, password and signature

Trying to setup an app with a sandbox account on PayPal. I already had a Business account with PayPal and have created a new application under the Sandbox. I am provided with 3 credentials by PayPal: Sandbox account which has the appearance of an…
1
vote
0 answers

Omnipay Paypal set store name and logo (Laravel)

How can I set the store name and logo using the Omnipay Paypal package for Laravel? Please see my code below, until now I tried to use the method setBrandName on the gateway variable, but this method was not found. It seems like the class…
trinity420
  • 670
  • 7
  • 19