How to setup CCBill payment gateway with the system?
Integration with CCBill (http://www.ccbill.com/)
login into your personal admin area https://webadmin.ccbill.com/
Go to Account Setup and create new sub-account or use existing sub-account from Account Admin
Go to pricing admin and create packages (Single billing Option):
You can use any period in a period value, which does not matter. Make packages for all possible values ($20, $40, etc). In our sample package it is made for $50.Each created package has own identity number like this:
Please record all that numbers with 10 digits, for our example that will be:
0000000607 =$20
0000000715 =$40
0000001040 =$60
0000002130 =$80
0000002413 =$100
This numbers will be used further.
Also record account number and sub-account number that will be used in WebVideo as well.Create 2 forms for Credit Cards and Checks in ccBill system. It should be forms of Standard type. Record form number for further references.
Configure return URLs
Click on Basic info from sub-menu of Modify Subaccount and edit form like shown on the picture:
Please note, you should put your real domain name, not yourdomain.com that shown on the picture
Configure post-back URLs.
Go to Advanced from Modify Subaccount and fill in information like shown on this picture:
Configure payment engine for CCBill in WebVideo system
Login into your personal administrative area in WebVideo and go to System Configuration -> Payment Engines
Add/edit 2 engines for ccbill (for credit cards and check) and put correct values there:
Name: ccBill
Short Name: CCB CC (for credit cards) or CCB CH (for checks)
Description: ‘ccBill: MasterCard,Discover,JCB’ or ‘ccBill: Online Check’. Description will be shown to client and you can use any value here.
URL: https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=123456&clientSubacc=0031&formName=70ck&language=English&allowedTypes=%all_packages%&subscriptionTypeId=%package_ext_id%&customer_fname=%customer_first_name%&customer_lname=%customer_last_name%&address1=%customer_address%&city=%customer_city%&state=%customer_state%&zipcode=%customer_zip%&country=%customer_country%&email=%customer_email%&x_customerid=%customer_id%&x_packageid=%package_id%
Note, edit values: clientAccnum, clientSubacc, and formName with values from ccbill. That is your account number, sub-account number and form name. Not that form name usually end with ‘cc’ for credit cards and ‘ck’ for online check.Click Add button
Put value org.softservice.web.CcBillCallbackPage in callback Handler for both credit cards engine and checks. Don’t forget to click update button for each engine.
Configure payment packages:
From WebVideo administration menu go to System Configuration -> Payment Packages and create packages for all your values.From the first column, choose CCB CC or CCB CH for configuring checks package or credit card. If you offer both options you should make all packages for one payment option then make all packages for another one.
In a second column specify package ID. In our example we will use 0000000607
In 3rd column put price in forma DD.CC or DDD.CC. For example 20.00 (be accurate, do not put 20,00 or just 20).
In description put any explanation, we will put just $20 credits
Leave additional parameters empty
Membrship: one-time
Then click Add
Make the same thing for all packages for both checks and credit cards (if both options offered). At the end, you will get something like shown below:
All done and system is configured now. You can login as user and try adding funds. Check transactions from admin as well.