I am a newbie in Zencart, but that did not discourage me from commencing to design a new credit card payment module!
(Well, to be honnest, i have mostly converted it from Paypal's payment module
Nevertheless, i have some issues that i need desperate help
The cc payment module works for a local bank here, in the way that the customer is directed to the banks payment page. Upon entering the details, customer is redirected back to the site (but not the zencart store) where a local php file asks for confirmation, and back to the bank, and finally back to the site again, with success or failure code. Now, this part is performed by an already existing PHP code given by the bank -and i have slightly modified it - so no trouble with this.
I have written an additional piece of code -posnet_merchant_return.php - which more or less works a bit like paypal's ipn_main_handler. Upon completion of the payment process, posnet_merchant_retrurn redirects to the Checkout Process page by:
It works fine in the way the checkout success or failure information is presented in the zencart store, and an order e-mail is being produced etc. However, the cart items are being confused. The items that seems to be sold are totally different.PHP Code:zen_redirect(zen_href_link(FILENAME_CHECKOUT_PROCESS, 'referer=posnetoos&stat=success&xid=' . $oosData['XID'] , 'SSL'));
I am probably doing something really silly, but i have no idea of what it is
Can somebody tell me what do i need to do (what parameters to pass) along with the html redirect so that correct order is generated!
Thanks for any kind of help in advance!







