Payment provider
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Payment provider
Hi i'm trying to create a new payment provider for checkout.com payment gateway for that I need to embed the Frames payment form in my payment page to enter card number, cvv...
So i need just one field that will be contain the card token and it will be required and hidden.
I have followed the procedure described here (https://aimeos.org/docs/2020.x/provider ... yment-form)
And after clicking in Buy now button it redirect me to (shop/checkout/process) page and this page keeps refreshing itself.
So i need just one field that will be contain the card token and it will be required and hidden.
I have followed the procedure described here (https://aimeos.org/docs/2020.x/provider ... yment-form)
And after clicking in Buy now button it redirect me to (shop/checkout/process) page and this page keeps refreshing itself.
- Attachments
-
- 2021-04-12.png (89.8 KiB) Viewed 2536 times
-
- Posts: 72
- Joined: 22 Mar 2021, 16:56
Re: Payment provider
Hey,
I had a very similar issue, in order to resolve you have to ensure you pass an empty string for the url parameter in your providers form helper. I believe when you have no inputs that require the user to complete, it attempts to build the form and submit it to the merchant on your behalf
https://github.com/aimeos/ai-client-htm ... 1907-L1918
eg.
I had a very similar issue, in order to resolve you have to ensure you pass an empty string for the url parameter in your providers form helper. I believe when you have no inputs that require the user to complete, it attempts to build the form and submit it to the merchant on your behalf
https://github.com/aimeos/ai-client-htm ... 1907-L1918
eg.
Code: Select all
function getPaymentForm($order, $params) {
...
return new \Aimeos\MShop\Common\Helper\Form\Standard($url = '', 'POST', $list, false);
}
Re: Payment provider
Hey
thanks a lot you solved my problem !
thanks a lot you solved my problem !