Credit Card Payment plugin development ** info required **

Started by dev@iridium, October 09, 2013, 14:32:45 PM

Previous topic - Next topic

dev@iridium

Hi all,
I need some info regarding VirtueMart payment plugin development.

My module needs to be able to capture credit card information,
then either
handle transaction result (success, declined etc)
OR
display 3D Secure Authentication form which will then yield a transaction result which needs to be handled as above.

The problem I have found, is each and every page refresh/call once the payment form is displayed triggers the generation or a brand new OrderNumber and ID, and subsequently, additional database entries.

So my question is, how do i refresh the payment form to display the transaction results, or further authentication forms? Or is the solution to use Ajax requests and JQuery to dynamically change the contents on screen?

A second question I have is how to utilise some of the default CSS across the various templates etc for a generic message (Success, Failed/Error, information etc), or input, UL or OL elements? Are there any specific "default" css rules for these sort of elements or am i best to stick with styling the payment form/message response elements specifically for this plugin?


Thanks in advance,