Problems getting Sofort payment-service to work
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 4
- Joined: 15 Mar 2021, 10:55
Problems getting Sofort payment-service to work
Hi there,
I have a fresh Aimeos Setup with Laravel.
I've tried to add Sofort as a payment-service (through Omnipay)
I've followed these instructions:
https://aimeos.org/docs/User_Manual/Adm ... ist#Sofort
First thing I've noticed is, that Aimeos automatically suggests config-fields that are different from the instructions.
The instructions tell to add the "authorize", "address" and "type" config with a "omnipay." prefix, although Aimeos suggests these config-fields to be without a prefix (and lowercase). Anyway I've tried both, without any luck.
Whenever I choose Sofort and try to pay, I immediately get an error:
"Trying to get property 'error' of non-object"
"Processing the payment failed"
Any help?
aimeos/aimeos-laravel 2020.10.6
aimeos/ai-payments 2020.10.7
aimeoscom/omnipay-sofort 3.1.0
I have a fresh Aimeos Setup with Laravel.
I've tried to add Sofort as a payment-service (through Omnipay)
I've followed these instructions:
https://aimeos.org/docs/User_Manual/Adm ... ist#Sofort
First thing I've noticed is, that Aimeos automatically suggests config-fields that are different from the instructions.
The instructions tell to add the "authorize", "address" and "type" config with a "omnipay." prefix, although Aimeos suggests these config-fields to be without a prefix (and lowercase). Anyway I've tried both, without any luck.
Whenever I choose Sofort and try to pay, I immediately get an error:
"Trying to get property 'error' of non-object"
"Processing the payment failed"
Any help?
aimeos/aimeos-laravel 2020.10.6
aimeos/ai-payments 2020.10.7
aimeoscom/omnipay-sofort 3.1.0
Re: Problems getting Sofort payment-service to work
You are using an outdated documentation. Can you try using that one?
https://aimeos.org/docs/latest/manual/services/#sofort
Can you have a look into the Log panel of the admin backend and check if there are more details about the error available including a stack trace?
https://aimeos.org/docs/latest/manual/services/#sofort
Can you have a look into the Log panel of the admin backend and check if there are more details about the error available including a stack trace?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 4
- Joined: 15 Mar 2021, 10:55
Re: Problems getting Sofort payment-service to work
Thanks for the link, I've followed the manual, but unfortunately:the problem still occurs.aimeos wrote: ↑17 Mar 2021, 08:43 You are using an outdated documentation. Can you try using that one?
https://aimeos.org/docs/latest/manual/services/#sofort
I've tried adding the config-option for testMode case-senstive, but Aimeos adds a lowercase option itself after I save the config.
So I guess the configs are case-insensitive?
Anyway config is as follows at the moment:
https://www.loom.com/i/aa513f4047bc41208db78720fc6f69b4
I've swapped the senstive information for [] here, but of course I've added te client ID, project ID and API key here.
Config settings for "onsite" and "createtoken" are not in the documentation, but automatically added by Aimeos, also when/after I remove them manually.
No log-entry is added when this occurs.
Is there a way I can enable more logging / debugging?
Re: Problems getting Sofort payment-service to work
"testMode" and "testmode" should work alike.JamesMoore wrote: ↑19 Mar 2021, 11:28 I've tried adding the config-option for testMode case-senstive, but Aimeos adds a lowercase option itself after I save the config. So I guess the configs are case-insensitive?
Did you try to set "createtoken" to false?JamesMoore wrote: ↑19 Mar 2021, 11:28 Config settings for "onsite" and "createtoken" are not in the documentation, but automatically added by Aimeos, also when/after I remove them manually.
Only if you get a stack trace in the frontend.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Problems getting Sofort payment-service to work
hi.
did you get it going?
seems we are experiencing a similar problem.
typo3-extension-f16/omnipay-sofort-paym ... t3605.html
would be nice if you could share your advance on this.
cheers
did you get it going?
seems we are experiencing a similar problem.
typo3-extension-f16/omnipay-sofort-paym ... t3605.html
would be nice if you could share your advance on this.
cheers