Aimeos send incorrect successUrl to Payment Provider
Posted: 22 Oct 2021, 08:18
Hi There
I'm setting up Datarans as a Payment provider for Visa and Mastercard. on TYPO3 V10.4.21 And Aimeos for Typo3 21.7.2. Omnipay 3.1.2 and and the academe/omnipay-datatrans v3.0.5 is being used.
The Service works and the user is sent to the datatrans Page to enter the creditcard details. The Problem is that Aimeos sends the wrong return URLs to Datatrans. It sends the return URLs without the "https:" and therefore the customer cant return.
The url it sends with the POST Call:
//mydomain.com/confirm?action=confirm&code=visa&controller=Checkout
What it should send:
https://mydomain.com/confirm?action=con ... r=Checkout
If I set the url manually in the payment service with "payment.url-success" then it works. But this is very tedious and error prone.
On Typo3 I set the Site Config correct with the "https:" --> base url is: https://mydomain.com
Do I have to set the base url somewhere specific in Aimeos? Or do I have to overwrite the Config?
I've read this docs page, but it explains how to add and not overwrite a paramter
https://aimeos.org/docs/2021.x/provider ... figuration
Thanks for the Help!
I'm setting up Datarans as a Payment provider for Visa and Mastercard. on TYPO3 V10.4.21 And Aimeos for Typo3 21.7.2. Omnipay 3.1.2 and and the academe/omnipay-datatrans v3.0.5 is being used.
The Service works and the user is sent to the datatrans Page to enter the creditcard details. The Problem is that Aimeos sends the wrong return URLs to Datatrans. It sends the return URLs without the "https:" and therefore the customer cant return.
The url it sends with the POST Call:
//mydomain.com/confirm?action=confirm&code=visa&controller=Checkout
What it should send:
https://mydomain.com/confirm?action=con ... r=Checkout
If I set the url manually in the payment service with "payment.url-success" then it works. But this is very tedious and error prone.
On Typo3 I set the Site Config correct with the "https:" --> base url is: https://mydomain.com
Do I have to set the base url somewhere specific in Aimeos? Or do I have to overwrite the Config?
I've read this docs page, but it explains how to add and not overwrite a paramter
https://aimeos.org/docs/2021.x/provider ... figuration
Thanks for the Help!