I have the same question. I have received some php coding from my payment company but do not know where to put it in Zencart.
I am assuming that first I should close one of the existing payment modules, and then add this php code to some location in that cloned module.
So, I have two questions:
a. How do I clone a payment module? Any step by step instructions anywhere? I have found instructions to clone a shipping module but nothing for a payment module.
b. Once I successfully clone a payment module, and rename it to some appropriate name, where would I add my payment php code? The code that the payment company gave me is something like this:
Thanks!Code:<? $datestr=date("Ymd",time()); $billstr=date("His",time()); $mer_code="000015"; $amount="0.02"; $billno=$mer_code.$billstr; $strcert="GDgLwwdK270Qj1w4xho8lyTpRQZV9Jm5x4NwWOTThUa4fMhEBK9jOXFrKRT6xhlJuU2FEa89ov0ryyjfJuuPkcGzO5CeVx5ZIrkkt1aBlZV36ySvHOMcNv8rncRiy3DQ"; $strcontent=$billno.$amount.$datestr."RMB".$strcert; $signmd5=MD5($strcontent) ?>




