This is a simple script that let you from any form, now tested machform, that can form send results to http post, to create automatically a quote inside your whmcs.
It has no interface in your whmcs, it works in background with Whmcs API , its just a editable file that you can edit as you want.
How it works.
- Your customer completes and sends any form.
- All the values selected by your customer is send to formtoquote
- formtoquote takes every value filled by your customer and builds a quote (you can configure every point)
- if the quote is valid, it is send automatically to your customer.
Examples:
- Machform
- WordPress Gravitiy Form
- Any form that support send results to http post.
Instructions to use:
- Download this script and upload formtoquote.php to any folder on any website
- In your form (marchform, gravity, …) point the http post to this file, for example http://myawebiste.com/formtoquote.php
- Configure first 3 lines formtoquote.php
- $whmcsAdminURL = “YOURWHMCSINSTALLATION/includes/api.php”;
$whmcsAdminUser = “USER”;
$whmcsAdminPass = “ADMIN”;
- $whmcsAdminURL = “YOURWHMCSINSTALLATION/includes/api.php”;
- Configure in your whmcs admin
- In configuration >> Security >> Whitelisted IPs >> Add the server ip where is located formtoquote.php
- The user and admin must have API privileges in the ROLE.
You must be logged in to post a comment.