Jump to content

Custom Order Page


rwc

Recommended Posts

Is it possible to make a custom order page with all fields that whmcs expects and just pass it (via post) to a URL in whmcs? (I couldn't find any docs on this...can somebody point me in the direction?)

 

Thanks!

 

rwc

Link to comment
Share on other sites

Is it possible to make a custom order page with all fields that whmcs expects and just pass it (via post) to a URL in whmcs? (I couldn't find any docs on this...can somebody point me in the direction?)

 

Thanks!

 

rwc

 

I would also love to use this.... for example

 

I could create ordersharedhosting.php in my website template that will use a form to specify any fields like domain, custom fields etc. i think the API should be able to do this but i'm not sure how.

Link to comment
Share on other sites

I have this 90% figured out by reverse-engineering the AJAX Order Form. By refactoring that, I am able to create a fully customized ordering process that doesn't look like it is in WHMCS at all.

 

What I am still missing is issuing the final payment. After a successful POST, WHMCS still redirects me to creditcard.php to enter final payment.

 

Has anyone figured out a way to POST the credit card information along with the form to cart.php? I'm sure I could do this with some nasty javascript to do multiple AJAX posts, but that seems fragile.

 

Any help is appreciated!!!

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