Payment Plugin: ccBill
NOTE: If you are using this plugin, you don't need ccBill script to manage .htpasswd file for protected area. aMember will handle all these things for your site.
Login into your ccBill account
Click QuickLinks: Account Setup : Account Admin
Choose an existing Subaccount, or create new one, then return to this step.
Create the same subscription types as you have in aMember control panel, make sure that all settings are the same.
Create a form for your subscription types.
Goto Modify Subaccount - Advanced and set Background Post Information:
- Approval Post URL:
https://example.com/amember/payment/ccbill/ipn - Denial Post URL:
https://example.com/amember/payment/ccbill/cancel - Click "save" button.
- Goto Modify Subaccount - Basic
- Set Approval URL:
https://example.com/amember/payment/ccbill/thanks?customVar1=%%customVar1%%&id=%%invoice%%
- Approval Post URL:
Click on "User Management" link and scroll down to "Username settings". Set:
- "Username Type" : "USER DEFINED"
- "Collect Username/Password" : "Do not collect Usernames and Passwords"
- Click "update" button.
Click "View Subaccount Info" in left menu to return to subaccount review screen. Remember or write down the following parameters: In top left menu, you will see number, like
911399-0001Here,911399- is your Account ID, and0001- is SubAccount ID.Have a look to "Forms" square: you will see form numbers. Write down form numbers with type "CREDIT". "Form name" looks like
22ccand "Sub. Type ID" looks like19Return back to aMember CP admin panel (most possible you're already here). Go to aMember CP -> Configuration -> Setup/Configuration -> ccBill (this page)
- Enter your account and subaccount id. Click Save.
- Then go to aMember CP -> Edit Products, create or edit your products and don't forget to enter neccessary ccBill configuration parameters (form ID, ccbill Product ID) for each your aMember Product.
Try to run test payments.
You may setup a testing account here: https://webadmin.ccbill.com/tools/accountMaintenance/testSignupSettings.cgi
And you may find test credit card numbers here: http://ccbillhelp.ccbill.com/content/test_numb_card_tls.htm
Contact suport@ccbill.com to obtain username and password for CCBill Data Link System. You will need to send them IP address of your site. If you don't know it, ask your hosting support.
CCBill has two options when you create a datalink user. You can make one for a specific subaccount OR for "ALL" sub accounts.
Ask CCBill support to create a datalink user for the specific subaccount, and not use the "ALL" option.
Enter datalink username and pasword into ccBill plugin settings.