Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#7751 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
#7756 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-wirecard#initialise-the-checkout-page-gateway

Futhermore, you should set
- omnipay.authorize: no (you usually want the money immediately)
- omnipay.onsite: no (required)
#7763 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: ****
#7764 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!
#7770 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.
#7773 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.jpg
Activities
activities.jpg (169.37 KiB) Viewed 142 times
initiation_parameters.jpg
Initiation Parameters & Return Parameters
initiation_parameters.jpg (196.26 KiB) Viewed 142 times
transaction_details.jpg
Transaction Details
transaction_details.jpg (113.45 KiB) Viewed 142 times
#7786 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] => wirecard [controller] => Checkout [action] => confirm )

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

Thx