kmm2908 Posted October 15, 2009 Share Posted October 15, 2009 (edited) I am using the API to open a new client account and new order direct from our site. Everything goes in to database ok. However, after creating account and new order and then logging client on, I am trying to redirect to cart where configurable options can be selected (end of url: cart.php?a=confproduct&i=0) and I cannot see how to achieve this using the 'goto' parameter. This: https://my.netyes.com/dologin.php?username=$email&password=$pwd&goto=viewinvoice&id=$invoiceid takes me to the invoice page without a problem. Can anyone tell me the 'goto' parameter setting for the above cart page? How can I find out what other values can be set for the 'goto' parameter? Many thanks to anyone who can point me in the right direction. Edited October 15, 2009 by kmm2908 0 Quote Link to comment Share on other sites More sharing options...
kmm2908 Posted October 23, 2009 Author Share Posted October 23, 2009 Can anyone help me with this? Getting very frustrated! Thanks 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted October 23, 2009 Share Posted October 23, 2009 Hi kmm. On the fly as dashing out......,please look here for all the info you needs: http://wiki.whmcs.com/API:Functions 0 Quote Link to comment Share on other sites More sharing options...
kmm2908 Posted October 23, 2009 Author Share Posted October 23, 2009 Hi kmm. On the fly as dashing out......,please look here for all the info you needs: http://wiki.whmcs.com/API:Functions Hi and thanks for the reply. But I'm afraid the link doesn't help and just highlights what I am finding is a lack of documentation and support for the API. I am specifically looking for: * how to access the returned variables * options for using the goto parameter on the final url as in where can I redirect to and what reference takes me where? * how do I use the API to enter more than one product on one order? Appreciate any help - thanks! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.