I am currently making an PaymentProvider for an small dutch Payment Processor (Mollie). I have generated the required HtmlForm (Done in GenerateHtmlForm() ). But the generated HtmlForm is using the POST method. Instead Mollie requires me to use GET.
I tried to add GET using the Attributes property of the PaymentHtmlForm. This works, but now the form sets itself with GET and POST. This doesn't work for me....
How can I tell the system to use GET only for the mollie payment provider?
You are quite right that Tea Commerce is working with POST for the payment form - but what a great idea to support GET. I will have to implement this in the core of Tea Commerce - will you be able to help us test it with Mollie?
Thank you for your reply. Too bad this can't be done, it seems like a minor implementation to my problem. I am thinking about writing a little jQuery function to alter the POST method on onSubmit(). But this is really sketchy and cannot be implemented in live enviroments.
Are there any alternatives?
I would like to help you guys out with testing :) I can even help you guys out implementing this problem, because I think it's just a small change.
Is there any way for me te enter the source code inside the PaymentHtmlForm() class, and alter this class just a little bit? It would be of a great help since I cannot finish my much needed Payment Provider.
I will update the API to support this - until then - the jQuery way is properly the best :)
You cant change the source code for the payment provider API as this is part of Tea Commerce and not the payment provider project that is just using the API.
TC.GeneratePaymentForm generating GET form
Dear beloved developers,
I am currently making an PaymentProvider for an small dutch Payment Processor (Mollie).
I have generated the required HtmlForm (Done in GenerateHtmlForm() ). But the generated HtmlForm is using the POST method. Instead Mollie requires me to use GET.
I tried to add GET using the Attributes property of the PaymentHtmlForm. This works, but now the form sets itself with GET and POST. This doesn't work for me....
How can I tell the system to use GET only for the mollie payment provider?
All help/info is usefull for me atm :)
Thnx, Ron
Hi Ron
You are quite right that Tea Commerce is working with POST for the payment form - but what a great idea to support GET. I will have to implement this in the core of Tea Commerce - will you be able to help us test it with Mollie?
Kind regards
Anders
Hi Anders,
Thank you for your reply. Too bad this can't be done, it seems like a minor implementation to my problem.
I am thinking about writing a little jQuery function to alter the POST method on onSubmit(). But this is really sketchy and cannot be implemented in live enviroments.
Are there any alternatives?
I would like to help you guys out with testing :)
I can even help you guys out implementing this problem, because I think it's just a small change.
Is there any way for me te enter the source code inside the PaymentHtmlForm() class, and alter this class just a little bit?
It would be of a great help since I cannot finish my much needed Payment Provider.
Thanks anyway for your help! You rock!
I will update the API to support this - until then - the jQuery way is properly the best :)
You cant change the source code for the payment provider API as this is part of Tea Commerce and not the payment provider project that is just using the API.
I hope to implement it next week.
Kind regards
Anders
is working on a reply...