Hi,
I'm new to this forum and hope to get some help.
Does anyone knows how to collect CC-Bill's variables with PHP?
I've read their help, but it is very confusing (at least to me)...
---------CC BIll help ----------------
The CCBill System is capable of passing back Approval Post URL, Denial Post URLs, and other variables sent to the Signup Form (credit card and bank account details are excluded) provided they are entered in the Modify Subaccount > Advanced page of the CCBill Admin System .
Refer to topic Variables List for a list and description of the Background Post variables. The variable names must be entered exactly as shown to receive the information properly.
Once the Approval and/or Denial or Post URLs have been entered into CCBill’s system, all the Background Post variables and the custom variables will be passed to the URLs you specified and can capture the returned variables with a script configured to receive Form Post information.
The Approval Post URL or Denial Post URL should point to a script such as CGI, PHP, ASP, etc.
For Example:
Post URL is as follows: http://www.yourwebsite.com/cgi-bin/your_script.cgi.
The script should be programmed to receive and parse the information passed from CCBill according to your program language specifications. The returned values may be used for any purpose (e.g., After receiving the values, write them to a database for record keeping or pass them to another script.).
An example of a CCBill variable is customer_fname, which represents the customer’s first name. The variable will be originally sent from the CCBill Signup Form as customer_fname. If using a CGI script the value might be parsed as $cust_first_name = param("customer_fname"). Please be aware that the variable name $cust_first_name can be any name chosen. The Pass Back variable as customer_fname must be specified to properly receive the information. Please refer any questions you have concerning this type of code to a qualified programmer.
I then setup this advanced redirect to my page and on that page I have code:
$post_vars = $HTTP_POST_VARS;
$user_name = $post_vars["customer_fname"];
$email = $post_vars["email"];
echo "Your Name is: $user_name";
echo "Yor email is: $email";
...and nothing happens
Does anyone have experience with this !?
THANKS !!!