Skip to content

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.

  1. Login into your ccBill account

  2. Click QuickLinks: Account Setup : Account Admin

  3. Choose an existing Subaccount, or create new one, then return to this step.

  4. Create the same subscription types as you have in aMember control panel, make sure that all settings are the same.

  5. Create a form for your subscription types.

  6. 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%%
  7. 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.
  8. 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-0001 Here, 911399 - is your Account ID, and 0001 - 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 22cc and "Sub. Type ID" looks like 19

  9. Return 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.
  10. Try to run test payments.

  11. 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.

  12. Enter datalink username and pasword into ccBill plugin settings.