I am trying to create a new payment gateway where a user has to validate a code sent to his phone as a payment option. I have done the tpl code it works. What i want to do is add a button to check the database for the code before the order is completed.
Heres my code
I need to add a button below to validate code the tell the user congratulations you can now submit your order.
I have a php file but its not in cs cart format.