If so would you mind sharing the secret or module?
CCBill told me it could be done and they sent me an email with some help...
Dear Client,
Per our telephone conversation, I have provided some helpful information below:
"POSTBACK"
Our Postback system is designed to pass back variables to a specified location on your server. For downloads, our postback system can pass back a unique code, or variable to distinguish between what download was purchased and thus giving them access accordingly. This system is recommended when dealing with a high volume of downloadable content, and will save you a lot of time.
Below you will find an "example" postback script, that will hopefully explain a bit more about how it implements between your server, and our systems. Please note: This script is only an example, and we cannot be responsible for functionality if you so choose to use this exact script.
#!/usr/bin/perl
use CGI ":standard";
print "Content-type: text/html\n\n";
########### Instructions ##################
#
# This is a sample approval post cgi
# to show how you can capture data
# sent from the approval post url
#
# Make sure to chmod this file to 755
# Place an empty file ("test.txt") in
# the same directory as this file.
# Chmod the empty file to 666. Have
# the approval post url point directly
# to this script.
#
############################################
$customer_fname = param("customer_fname");
$customer_lname = param("customer_lname");
$email = param("email");
$username = param("username");
$password = param("password");
$productDesc = param("productDesc");
$price = param("price");
$subscription_id = param("subscription_id");
$clientAccnum = param("clientAccnum");
$clientSubacc = param("clientSubacc");
open(test, ">>test.txt");
print test "$customer_fname\n$customer_lname\n$email\n$username\n$password\n$productDesc\n$price\n$subscription_id\n$clientAccnum\n$clientSubacc\n\n\n";
print "$customer_fname\n$customer_lname\n$email\n$username\n$password\n$productDesc\n$price\n$subscription_id\n$clientAccnum\n$clientSubacc\n\n\n";
http://ccbillhelp.ccbill.com/content/bckgn...t_guide_prm.htm
"DATALINK"
The CCBill DataLink System allows CCBill clients to access raw transaction data from CCBill's database such as: Rebills, Expired Subscriptions, Voided subscriptions, Chargebacks, Refunds, and New subscriptions by running a query string.
You can utilize the Datalink system to update your database or server with current customer cancellations, expirations, etc. by creating a custom script to run once per hour (as that is the time limit allotted for our clients). You are also only allowed to run a data query for a 24 hour period (may be expanded upon approval / request). Unfortunately we do not have example scripts regarding how to implement this system with your servers, however you may manually run this data with the example strings given in the documentation. I have attached a datalink document to this email.
In order to utilize the DataLink system, you will need to contact the Client Support department to set up your account to accept DataLink connections, or set them up manually via Premium Features -> Value Added Features -> Data Link Services Suite. To configure an account to accept DataLink requests Client Support will need the following information:
* Client Account Number
* Client Sub-Account Number (if desired to be restricted to a single Sub-Account)
* Username
* Password
* IP Addresses/Range
Edited by sunshynevideo, 27 November 2007, 23:44.















