Sorry if this is the wrong forum, but I couldn't find a general development forum...
I am building a payment extension for a gateway that uses a hosted payment page (so no collecting card details within zencart)
I can get the data posted over to the gateway, which can then collect the card details and authorize the transaction. Part of the auth process is that the results are sent back using a server-to-server callback method, not via the customers browser. The customer is returned to the site after the callback has completed.
I'm trying to use a callback URL like the following:
http://www.localhost.com/index.php?main_page=checkout_process&zenid=kk0mnfomq96lqimsifv3sgdb80
but that always gets a 302 results, with the details indicating that the session has timed out. The session has not timed out, as when the browser returns to
http://www.localhost.com/index.php?main_page=checkout_success&zenid=kk0mnfomq96lqimsifv3sgdb80
after the callback is made, that continues saying 'thanks for the order' etc (although the order process has not actually been completed)
The URL given by the redirect is:
Location: http://www.localhost.com/index.php?main_page=time_out&zenid=qbbe2hkok23fopavd3882amaq4
What can I do to get the checkout_process callback to actually work and call the payment module, rather than give this timeout error. Clearly the session has not actually timed-out, but I just can't get past this stage. Are there some extra params I need to add to the callback URL?
Thanks for any help, this has been driving me mad all day...


Reply With Quote
