Need some work done? Post a Project Today
Create script to communicate between (VeroTel) Payment system and the
website (CamsMax) database, Script needs to automatically update
website (CamsMax) user database for the purchases made (The script location needs to be set in
the control center, My setup > Remote user management URLs). Once a customer is
forwarded to (Verotel) payment system and makes a purchase, (Verotel) payment system will send a
command to the script so it can update the database automatically.
In order to create the script, please view the variables needed:
/The VerotelRUM 1.1 has 6 calls, 3 of which are the basic actions of our remote user
These calls and their required responses are listed below together with
string examples of the RUM call:
1. *add *call: don't add duplicate records to your member database,
DECLINED if duplicate is found.
Only return APPROVED after record was successfully added.
Otherwise return ERROR.
2. *modify *call: return DECLINED if given user account doesn't exist in your system.
Return APPROVED after successful update of your member database. Otherwise return
3. *delete *call: return DECLINED if given user account doesn't exist in your system.
Return APPROVED after given user account is successfully removed. Otherwise return
4. *rebill *and *cancel* calls: always return APPROVED.
Other than that, these transactions are not required to do anything, the calls are
for your convenience, should you want to perform custom actions.
5. There is another call *list_ip*, which allows Verotel to remotely check your IP
Please don't modify this functionality. If you write your own RUM script from scratch,
please recreate this function in its entirety.
In creating own script please ALWAYS send back a reply. Allowed values are
APPROVED, DECLINED and ERROR
Examples of the strings on the above actions are as follows:
The custom fields data is implemented in the Verotel HTML form code for the sign up
button, for example:
<!-- begin SIGN UP NOW BUTTON, start copying here -->
<input type=hidden name=verotel_id value="9804000000123456">
<input type=hidden name=verotel_website value="123456">
<input type=hidden name=verotel_custom1 value="data1">
<input type=hidden name=verotel_custom2 value="data2">
<input type=hidden name=verotel_custom3 value="data3">
<input type=submit value="SIGN UP NOW!">
<!-- end SIGN UP NOW BUTTON, end copying here -->