Twint as a Payment Option
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Twint as a Payment Option
Hi There
I'm looking for a way to integration Twint which is a Swiss Payment App into our Aimeos Webshop.
Does anyone have experience with this? Or do we need to use a payment provider? If so, does anyone have suggestion for one?
Thanks for your Help!
I'm looking for a way to integration Twint which is a Swiss Payment App into our Aimeos Webshop.
Does anyone have experience with this? Or do we need to use a payment provider? If so, does anyone have suggestion for one?
Thanks for your Help!
Re: Twint as a Payment Option
You need a payment provider like Datatrans who handles Twint payments:
https://github.com/academe/omnipay-datatrans
Documentation for setup is available here:
https://aimeos.org/docs/latest/manual/s ... #datatrans
https://github.com/academe/omnipay-datatrans
Documentation for setup is available here:
https://aimeos.org/docs/latest/manual/s ... #datatrans
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: Twint as a Payment Option
Thank you I will give it a try
Re: Twint as a Payment Option
So I've created a Test Account at Datatrans and installed the EXT for Aimeos.
Datatrans needs three Urls redirects (success, error and cancel). I could find anything in the documentation about the redirection urls after an external payment provider made the transaction.
What redirect URLs do I have to set, so aimeos works properly?
Datatrans needs three Urls redirects (success, error and cancel). I could find anything in the documentation about the redirection urls after an external payment provider made the transaction.
What redirect URLs do I have to set, so aimeos works properly?
Re: Twint as a Payment Option
Aimeos passes the three URLs in each request. If Datatrans needs them nevertheless, you can use the URL of the "thank you" page with the Aimeos "Checkout Confirm" plugin.
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: Twint as a Payment Option
I got that working now.
After the Payment is successfull processed with the external payment provider and then it returns to the aimeos shop page I get the following error: Here are the POST Request by the aimeos Shop with the Demo Credentials: And here the POST Request from the Payment Provider to the Aimeos Shop: The return URL is the following: www.myshop.com/confirm?action=confirm&c ... r=Checkout"
Does Aimeos need more information in the POST Request or why does it no find the order after the successful payment?
After the Payment is successfull processed with the external payment provider and then it returns to the aimeos shop page I get the following error: Here are the POST Request by the aimeos Shop with the Demo Credentials: And here the POST Request from the Payment Provider to the Aimeos Shop: The return URL is the following: www.myshop.com/confirm?action=confirm&c ... r=Checkout"
Does Aimeos need more information in the POST Request or why does it no find the order after the successful payment?
Re: Twint as a Payment Option
We've seen that problem before with Datatrans and TYPO3. Since Google Chrome implements the SameSite policy for cookies, it won't send the FE session cookie to your website any more after Datatrans redirects back to your shop. Here's a workaround:
https://github.com/aimeos/aimeos-typo3#security
https://github.com/aimeos/aimeos-typo3#security
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