Trouble getting Omnipay Payment Expressworking

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
User avatar
wing5wong
Posts: 2
Joined: 16 Oct 2020, 22:34

Trouble getting Omnipay Payment Expressworking

Post by wing5wong » 16 Oct 2020, 22:42

Hi there,

I just found this great shop package and im trying to integrate https://github.com/thephpleague/omnipay-paymentexpress as a payment gateway

This gateway redirects to its payment handling page to accept payments

i added options:
omnipay.type = PaymentExpress_PxPost or PaymentExpress_PxPay
omnipay.onsite = 0
omnipay.adress= 0
omnipay.createToken= 0
omnipay.authorize= 0
omnipay.password =
omnipay.username =
omnipay.pxPostPassword =
omnipay.pxPostUsername =
omnipay.testmode = 1

with PaymentExpress_PxPost i get error "The card parameter is required"
with PaymentExpress_PxPay i get the error "userid too short"

if i set omnipay.onsite =1 and use valid test card details i get an error with no text (just 1 bullet point)


Any idea at where i may be going wrong with getting this working?
Cheers,

User avatar
aimeos
Administrator
Posts: 4385
Joined: 01 Jan 1970, 00:00

Re: Trouble getting Omnipay Payment Expressworking

Post by aimeos » 17 Oct 2020, 09:22

Which Aimeos version are you using?
Did you install the aimeos/ai-payments extension?

Also make sure you add the required parameters:
- PaymentExpress_PxPay: https://github.com/thephpleague/omnipay ... ateway.php
- PaymentExpress_PxPost: https://github.com/thephpleague/omnipay ... ateway.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
wing5wong
Posts: 2
Joined: 16 Oct 2020, 22:34

Re: Trouble getting Omnipay Payment Expressworking

Post by wing5wong » 17 Oct 2020, 10:32

Hi there, sorry iu hadnt realised i was on an older version (2018.10)
I have just upgraded through to 2019.10 and the functionality seems to work as expected for PxPay (desired solution)

Thanks

Post Reply