Payrexx with Aimeos

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Payrexx with Aimeos

Post by aimeos » 10 Jun 2022, 07:48

The documentation for the Omnipay Payrexx driver is a bit thin:
https://github.com/payrexx/omnipay-payrexx

What you need for configuration is:
apiKey : <your api key>
instance : <instance>.payrexx.com

Next thing is that the driver is not conforming to Omnipay standards because of this data required:

Code: Select all

    'psp' => 36, // Payrexx Direct
    'skipResultPage' => true,
    'successRedirectUrl' => 'https://www.merchant-website.com/success',
    'failedRedirectUrl' => 'https://www.merchant-website.com/failed',
The correct URL keys would be "returnUrl" and "cancelUrl". Both, as well as "psp" and "skipResultPage" needs to be added in a custom getData() method like here to make it work:
https://github.com/aimeoscom/ai-payment ... #L268-L271
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply