Wirecard Payment Option with OmniPay

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
mkrichbaumer
Posts: 9
Joined: 11 Mar 2019, 06:59

Wirecard Payment Option with OmniPay

Post by mkrichbaumer » 11 Mar 2019, 07:12

Hallo,
i have configured aimeos 18.10.5 with aimeos payments 18.10.0.
For the shop i need paypal, sofort and wirecard as payment solutions.
Paypal and sofort are working, but when i choose "Wirecard", i allways get this error:

Class '\Omnipay\Wirecard\Gateway' not found

What do i configure wrong.

My settings of the service:
Provider: OmniPay
omnipay.address: yes
omnipay.authorize: yes
omnipay.onsite: yes
omnipay.testmode: yes
omnipay.type: Wirecard
password: !*******
signature: S***********************************
username: b*******

PHP 7.0

Please help me, i have no idea what i do wrong?

Thx for every help

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

Re: Wirecard Payment Option with OmniPay

Post by aimeos » 12 Mar 2019, 22:26

The Omnipay driver is named "Wirecard_CheckoutPage" because Wirecard has more than one interface:
https://github.com/academe/omnipay-wire ... ge-gateway

Futhermore, you should set
- omnipay.authorize: no (you usually want the money immediately)
- omnipay.onsite: no (required)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

mkrichbaumer
Posts: 9
Joined: 11 Mar 2019, 06:59

Re: Wirecard Payment Option with OmniPay

Post by mkrichbaumer » 13 Mar 2019, 09:41

Thank you very much for your help.
With your driver and those settings everything works:

omnipay.address: yes
omnipay.authorize: no
omnipay.onsite: no
omnipay.testmode: no
omnipay.type: Wirecard_CheckoutPage
customerId: ****
secret: ****

mkrichbaumer
Posts: 9
Joined: 11 Mar 2019, 06:59

Re: Wirecard Payment Option with OmniPay

Post by mkrichbaumer » 13 Mar 2019, 14:51

Now i hav an other problem.

After selecting Wirecard as payment option i get redirected to Wirecard and can complete my transaction. Everything works, but after redirecting back to my webshop, i allways get an error-message and the Order is set to "refused".

But when i look for the transaction at wirecard, i have "SUCCESS" as result.

Do i need to set a successUri or something else?

Thx for your help!

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

Re: Wirecard Payment Option with OmniPay

Post by aimeos » 13 Mar 2019, 20:22

No, the success URL is sent along with the other parameters to Wirecard. Please make sure that you configured in the Wirecard backend sending their data as part of the redirect back to your shop.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

mkrichbaumer
Posts: 9
Joined: 11 Mar 2019, 06:59

Re: Wirecard Payment Option with OmniPay

Post by mkrichbaumer » 14 Mar 2019, 08:10

I checked the wirecard log-Files an together with the support from wirecard, but at wirecard we couldn't find a problem. All data was sent successfully to the shop back.

Look at the logs.

Maybe i can give you access to the shop, so that you can check the checkout steps better.

Thx
Attachments
Activities
Activities
activities.jpg (169.37 KiB) Viewed 2884 times
Initiation Parameters & Return Parameters
Initiation Parameters & Return Parameters
initiation_parameters.jpg (196.26 KiB) Viewed 2884 times
Transaction Details
Transaction Details
transaction_details.jpg (113.45 KiB) Viewed 2884 times

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

Re: Wirecard Payment Option with OmniPay

Post by aimeos » 14 Mar 2019, 08:36

Which TYPO3 version are you using? 8.7 or 9.5?
Can you post a screenshot of the Aimeos confirmation page?

If you need 1:1 support, you should contact the Aimeos company. They are offering that kind of support:
https://aimeos.com/support/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

mkrichbaumer
Posts: 9
Joined: 11 Mar 2019, 06:59

Re: Wirecard Payment Option with OmniPay

Post by mkrichbaumer » 14 Mar 2019, 08:57

I use Typo3 8.7.22.

In englisch i get this Error: "Validation of the fingerprint failed,"
And payment status is "refused"
Attachments
Confirmation Page
Confirmation Page
confirmation-page.jpg (155.84 KiB) Viewed 2882 times

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

Re: Wirecard Payment Option with OmniPay

Post by aimeos » 15 Mar 2019, 09:47

The error message is from the Omnipay driver. Can you post the contents of $_REQUEST that is sent by Wirecard to the confirmation page?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

mkrichbaumer
Posts: 9
Joined: 11 Mar 2019, 06:59

Re: Wirecard Payment Option with OmniPay

Post by mkrichbaumer » 15 Mar 2019, 10:03

In which file can I check the $_REQUEST-Parameters.
If i do this in the template file, I only see:
Array (

Code: Select all

 => wirecard [controller] => Checkout [action] => confirm ) 

Sorry for my stupid questions, it's my first project with aimeos.

Thx

Post Reply