How do I go about integrating the payment gateway code from a payment gateway provider not currently available in ZenCart? Do I need to build a module? Is there an API that I can handover to a programmer?
Thanks in advance.
How do I go about integrating the payment gateway code from a payment gateway provider not currently available in ZenCart? Do I need to build a module? Is there an API that I can handover to a programmer?
Thanks in advance.
From what I've seen, most use an existing module as a model of sorts, and construct theirs using the existing module as an example.
Thanks! I saw a post that explained how to customize a shipping module.
But, I wonder if I didn't express myself clearly. What I basically want to do is to integrate the code of my payment gateway provider into Zen Cart. Is this the same as writing a new payment module for ZenCart (or using an existing one to customize)?
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) ?>
Please ignore my previous request. I found what I was looking for in another thread. For the record, it is:
http://www.zen-cart.com/forum/showth...payment+module