Jump to content

Help with 'goto' options please


kmm2908

Recommended Posts

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 by kmm2908
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated