rwc Posted April 26, 2011 Share Posted April 26, 2011 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 0 Quote Link to comment Share on other sites More sharing options...
JohnnyD Posted April 27, 2011 Share Posted April 27, 2011 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. 0 Quote Link to comment Share on other sites More sharing options...
toddhgardner Posted April 29, 2011 Share Posted April 29, 2011 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!!! 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.