Difference between revisions of "NATS4 CCBill"

From TMM Wiki
Jump to navigationJump to search
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
[[Category:N4CHECK]]
 
[[Category:N4CHECK]]
{{NATS4 Manual
+
{{NATS5 Manual
| show_billers_section = true
+
|show_billers_section = true
 
}}
 
}}
 
+
{{NATS4 Manual}}
 +
<br><br>
 +
<p style="color: red;font-weight: bold; font-size: 20px;">Please note: If you are new CCBILL client, you will need to use CCBILL's FlexForm integration. Please see our CCBILLFF wiki: [[NATS4_CCBill_Flexform]]</p>
 +
<br><br>
 
{{Test Billers Disclaimer}}
 
{{Test Billers Disclaimer}}
  
Line 15: Line 18:
 
After setting up a sub-account, click Tools and Account Maintenance again
 
After setting up a sub-account, click Tools and Account Maintenance again
 
and select a site from the list of sub-accounts.  Choose Basic Setup and
 
and select a site from the list of sub-accounts.  Choose Basic Setup and
enter the following Denial URL:
+
enter the following Denial URL and Approval URL:
 
 
* <nowiki>http://linkdomain/signup/signup.php?step=3&site=%%siteid%%&memberid=%%memberid%%</nowiki>
 
 
 
 
 
'''As of Nats version 4.0.68.3 and above, please use the following in the Denial URL and Approval URL fields:'''
 
  
 
* <nowiki>http://linkdomain/signup/returnurl_ccbill.php?memberid=%%memberid%%&session=%%natssess%%</nowiki>
 
* <nowiki>http://linkdomain/signup/returnurl_ccbill.php?memberid=%%memberid%%&session=%%natssess%%</nowiki>
 
* <nowiki>http://linkdomain/signup/returnurl_ccbill.php?status=approved&memberid=%%memberid%%&session=%%natssess%%</nowiki>
 
* <nowiki>http://linkdomain/signup/returnurl_ccbill.php?status=approved&memberid=%%memberid%%&session=%%natssess%%</nowiki>
 +
:- '''If you are on a NATS version below 4.0.68.3, instead use the following in both of the Basic Denial URL and Approval URL fields:'''
 +
:* <nowiki>http://linkdomain/signup/signup.php?step=3&site=%%siteid%%&memberid=%%memberid%%</nowiki>
  
  
Choose Advanced Setup and enter the following URL in both the Denial and Approval Post URL
+
Next, choose Advanced Setup and enter the following URL in both the Denial and Approval Post URL
 
fields:  
 
fields:  
  
Line 112: Line 112:
 
If you setup random username's on CCBill's website, you need to remove
 
If you setup random username's on CCBill's website, you need to remove
 
the Username and Password fields from your [[ct#Site|site's]] [[ct#Join Form|join form]].
 
the Username and Password fields from your [[ct#Site|site's]] [[ct#Join Form|join form]].
 +
 +
== CCBill Redirects to NATS redirect script ==
 +
If you had CCBIll Affiliates promoting linkcodes for the master account (sub account 0000), the NATS redirect script will determine the NATS site via the HTML parameter of the CCBill affiliate linkcode.
 +
 +
To ensure that the HTML parameter is sent to the NATS redirect script, you must enable "append data on redirect" in the CCBill Admin; Legacy Affiliate -> Advanced Features
  
 
== Disable CCBill Multiple Redirects ==
 
== Disable CCBill Multiple Redirects ==
If you have issues with [[Ct#Affiliate|affiliates]] receiving double payments for traffic they have referred, it may be due to the Multiple Redirects feature found in CCBill's settings. Turn off the Multiple Redirects feature at CCBill's site in order to prevent incorrect [[Ct#Linkcode|linkcodes]] from being used to record double traffic.
+
If you have issues with [[Ct#Affiliate|affiliates]] receiving double payments for traffic they have referred, it may be due to the Multiple Redirects feature found in CCBill's settings. Turn off the Multiple Redirects feature on CCBill's side in order to prevent incorrect [[Ct#Linkcode|linkcodes]] from being used to record double traffic.
  
 
== Disable CCBill Decline Auto-Redirect ==
 
== Disable CCBill Decline Auto-Redirect ==
Line 168: Line 173:
  
 
== Common Datalink Errors ==
 
== Common Datalink Errors ==
Note: these failure codes may change:
+
Note: it will be best to look at CCBill's documentation about the datalink errors [https://www.ccbill.com/cs/wiki/tiki-index.php?page=Datalink+Errors here] as these failure codes may change:
  
 
* Error: Authentication failed. 01 Cause: Too many failed login attempts.
 
* Error: Authentication failed. 01 Cause: Too many failed login attempts.
Line 176: Line 181:
 
* Error: Authentication failed. 03 Cause: Inactive login.
 
* Error: Authentication failed. 03 Cause: Inactive login.
  
* Error: Authentication failed. 04 Cause: Incorrect/non-configuerd IP address.
+
* Error: Authentication failed. 04 Cause: Incorrect/non-configured IP address.
  
  
Line 199: Line 204:
 
to your host or tech and CCBill to fix the password file issue -- even
 
to your host or tech and CCBill to fix the password file issue -- even
 
if members get access through NATS.
 
if members get access through NATS.
 +
== CCBill Cross Sale special instructions ==
 +
* If you are receiving a cross sale from a non NATS source, you will need to pass your Ref Code into the CCBill purchase page as one of the following custom variables, "natsxsell", "natsxsell1", or "natsxsell2". If you have any questions about how to add a custom variable to your join links, or buttons, please contact CCBill for assistance.
  
 
== See Also ==
 
== See Also ==

Latest revision as of 15:19, 29 October 2024

NATS 5
    Biller Instructions
NATS Biller List
2000Charge
2000Charge Gateway
2KCHARGE
A1Payments
Aebill
Aconti
Allopass
AltoBilling
Argus
Authorize.net
Bill1st Gateway
BillAPay Gateway
Billing Revolution
Billing United
Bit-Pay
BoaCompra
Braintree Payments
C2Bill
CardFlex
CCBill
CCBill Flexform
CCBill Web900
CashSend
CashtoCode
Centili
Centrobill
Clearcard
Clearcard IDV
Click and Buy
CoinGate
CoinPayments
CommerceGate
CurePay
DHD
DHDGateway
DIMOCO
EGatePay
ElectraCash
eMerchantPay Gateway
eMPPay.com
Epoch
Escalion
EuroBill
EPGBill.com
Ezic, Inc.
Focal Payments
FXBilling
FXBilling Native
Gateway tokens
Gigadat
Global Access
GlobalCharge
Global DPS
GoCoin
Greta 11 (G11Bill)
GTBill
GTBill GATEWAY
GXBill
ICN Ltd.
Itelebill
Jettis International
Jettis International Gateway
LocalBilling
MobiusPay
MerlinBill
NETbilling
NETbilling Native
NetCash
NetMobile
Netpay International
NoCreditCard
OrbitalPay
Password By Phone
Pay4
Pay900
Payment Network
Paygarden
Paygea
PayPal
Paysite Cash
Payspace
Payspace Gateway
Plug'n Pay
Prime Orange
Probiller
PumaPay
Rocketfuel
RocketGate
RocketGate Native
RSBilling
RSBilling Native
SafeCharge
SafeCharge Native
Secure Billing Worldwide
Secure Billing Worldwide Gateway
Secure Trading
SecurionPay
SegPay
SegPay Gateway
SOFORTdauerauftrag
Sonic Bill
StandardBill
TrustCharge
Telecom
UKash
Vendo Services
Vendo
Verotel Pro
Voxtel
VXSBill
WebBilling
Wispay
WTS
WTSeu
Zombaio
Shopping Cart Sales
Switching From Epoch to Epoch EU
Members Section
Members Management
Adding a Member
View Member Details
Restricted Values
OpenID Connect
Mod Auth OpenIDC
    Adtool
GET /adtool/admin
GET /adtool/adtools
GET /adtool/adtool
GET /adtool/adtool-rules
GET /adtool/adtool-rule
GET /adtool/categories
GET /adtool/field-options
GET /adtool/field-types
GET /adtool/groups
GET /adtool/search
GET /adtool/templates
GET /adtool/types
GET /adtool/type
POST /adtool/adtool
POST /adtool/adtool-rule
POST /adtool/category
POST /adtool/field
POST /adtool/field-option
POST /adtool/group
POST /adtool/import
POST /adtool/type
PATCH /adtool/adtool
PATCH /adtool/adtool-group
PATCH /adtool/adtool-rule
PATCH /adtool/category
PATCH /adtool/field
PATCH /adtool/field-option
PATCH /adtool/group
PATCH /adtool/move
PATCH /adtool/restore-adtool
PATCH /adtool/restore-category
PATCH /adtool/restore-field
PATCH /adtool/restore-field-option
PATCH /adtool/restore-type
PATCH /adtool/type
DELETE /adtool/adtool
DELETE /adtool/adtool-rule
DELETE /adtool/category
DELETE /adtool/field
DELETE /adtool/field-option
DELETE /adtool/group
DELETE /adtool/type
    Affiliate
DELETE /affiliate/account-rep
DELETE /affiliate/account-type
DELETE /affiliate/affiliate
DELETE /affiliate/doc
DELETE /affiliate/group
DELETE /affiliate/permissions
GET /affiliate/account-changes
GET /affiliate/account-types
GET /affiliate/admin-settings
GET /affiliate/campaigns
GET /affiliate/current
GET /affiliate/current-permissions
GET /affiliate/docs
GET /affiliate/doc
GET /affiliate/groups
GET /affiliate/group
GET /affiliate/hits
GET /affiliate/link-styles
GET /affiliate/loginids
GET /affiliate/loginlog
GET /affiliate/manual-payout
GET /affiliate/news-sections
GET /affiliate/notes
GET /affiliate/notices
GET /affiliate/override
GET /affiliate/payout
GET /affiliate/payment-periods
GET /affiliate/payvia-types
GET /affiliate/payvia-type
GET /affiliate/permissions
GET /affiliate/programcampaigns
GET /affiliate/referrer
GET /affiliate/referring-urls
GET /affiliate/reps
GET /affiliate/rest-methods
GET /affiliate/search
GET /affiliate/search-limited
GET /affiliate/settings
GET /affiliate/skins
GET /affiliate/soap-functions
GET /affiliate/status
PATCH /affiliate/adminsettings
PATCH /affiliate/account-change
PATCH /affiliate/account-type
PATCH /affiliate/account-type-permissions
PATCH /affiliate/admin-setting
PATCH /affiliate/affiliate-account-type
PATCH /affiliate/affiliate-group
PATCH /affiliate/allsettings
PATCH /affiliate/account-rep
PATCH /affiliate/avatar
PATCH /affiliate/customs
PATCH /affiliate/defaults
PATCH /affiliate/details
PATCH /affiliate/override
PATCH /affiliate/password
PATCH /affiliate/payment-period
PATCH /affiliate/payvia
PATCH /affiliate/payvia-info
PATCH /affiliate/permissions
PATCH /affiliate/referrer
PATCH /affiliate/reset-api
PATCH /affiliate/reset-rss
PATCH /affiliate/reset-tos
PATCH /affiliate/rest-permissions
PATCH /affiliate/restore
PATCH /affiliate/restore-account-type
PATCH /affiliate/settings
PATCH /affiliate/soap-permissions
PATCH /affiliate/status
POST /affiliate/account-type
POST /affiliate/add
POST /affiliate/doc
POST /affiliate/group
POST /affiliate/invoice
POST /affiliate/manual-sale
POST /affiliate/note
    Biller
GET /biller/available
GET /biller/partner-available
GET /biller/billerdata
GET /biller/cascades
GET /biller/cascades-available
GET /biller/cascade-count
GET /biller/cascade-history
GET /biller/cascade-rules
GET /biller/cascade-rule
GET /biller/cascade-step-count
GET /biller/cascade-steps
GET /biller/cascade-detail
GET /biller/cascade-list
GET /biller/count
GET /biller/detail
GET /biller/fees
GET /biller/partner-fees
GET /biller/last_poll
GET /biller/partner-last-poll
GET /biller/list
GET /biller/partner-detail
GET /biller/partner-list
GET /biller/partner-shortnames
GET /biller/process_types
GET /biller/partner-process-types
GET /biller/shortnames
GET /biller/transaction_types
GET /biller/partner-transaction-types
GET /biller/taxes
POST /biller/add
POST /biller/cascade
POST /biller/cascade-rule
POST /biller/cascade-step
POST /biller/partner
PATCH /biller/cascade
PATCH /biller/cascade-rule
PATCH /biller/cascade-step
PATCH /biller/cascade-steps-reorder
PATCH /biller/fee
PATCH /biller/partner-fee
PATCH /biller/restore
PATCH /biller/restore-cascade
PATCH /biller/restore-partner
PATCH /biller/setting
PATCH /biller/partner-setting
PATCH /biller/tax
DELETE /biller/biller
DELETE /biller/cascade
DELETE /biller/cascade-rule
DELETE /biller/cascade-step
DELETE /biller/fee
DELETE /biller/partner-fee
DELETE /biller/partner
DELETE /biller/tax
    Codes
GET /codes/affiliate-codes
GET /codes/decode
GET /codes/linkcodes
GET /codes/strack
    Config
DELETE /config/setting
GET /config/section
GET /config/sections
PATCH /config/affiliate_default
PATCH /config/section
    Include
DELETE /include/include
DELETE /include/step
GET /include/include
GET /include/includes
GET /include/templates
PATCH /include/include
PATCH /include/restore
PATCH /include/step
POST /include/include
POST /include/step
    Mailing
DELETE /mailing/mailing
DELETE /mailing/mailing-rule
DELETE /mailing/queue
GET /mailing/mailing
GET /mailing/mailings
GET /mailing/mailing-rules
GET /mailing/mailing-rule
GET /mailing/queue
GET /mailing/removelist
PATCH /mailing/mailing
PATCH /mailing/mailing-rule
PATCH /mailing/removelist
PATCH /mailing/removelist-queue
PATCH /mailing/resend-queue
PATCH /mailing/restore-queue
PATCH /mailing/send-mailing
PATCH /mailing/send-test-mailing
POST /mailing/mailing
POST /mailing/mailing-rule
POST /mailing/removelist
    Maintenance
DELETE /maintenance/log
DELETE /maintenance/cache
GET /maintenance/admin-actions
GET /maintenance/log
GET /maintenance/logs
GET /maintenance/nats
GET /maintenance/report
GET /maintenance/report-progress
GET /maintenance/reports
GET /maintenance/server
GET /maintenance/table
GET /maintenance/tables
GET /maintenance/table-clean-count
GET /maintenance/table-clean-progress
PATCH /maintenance/log
PATCH /maintenance/report
PATCH /maintenance/table
    Member
GET /member/available_flags
GET /member/encryptusername
GET /member/authstring
GET /member/details
GET /member/flags
GET /member/loginlog
GET /member/matching
GET /member/notes
GET /member/notices
GET /member/restricted-values
GET /member/search
GET /member/suggestedcanceloffers
GET /member/surfer-actions
PATCH /member/details
PATCH /member/expiration
PATCH /member/expiremanual
PATCH /member/resend-transaction-email
PATCH /member/resend-transaction-postback
PATCH /member/restricted-value
PATCH /member/forget
PATCH /member/lock
PATCH /member/unlock
POST /member/flag
POST /member/login
POST /member/note
POST /member/restricted-value
DELETE /member/flag
DELETE /member/restricted-value
    Message
DELETE /message/message
DELETE /message/permanent
GET /message/count
GET /message/messages
GET /message/view
PATCH /message/read
PATCH /message/unread
PATCH /message/undelete
POST /message/message
    News
DELETE /news/entry
DELETE /news/section
GET /news/entry
GET /news/news
GET /news/sections
PATCH /news/entry
POST /news/entry
POST /news/section
    Notification
DELETE /notification/notification
DELETE /notification/permanent
GET /notification/count
GET /notification/notifications
GET /notification/view
PATCH /notification/read
PATCH /notification/unread
PATCH /notification/undelete
    Option
GET /option/options
GET /option/rule
PATCH /option/rule
PATCH /option/text
POST /option/rule
    Payment
DELETE /payment/invoice
DELETE /payment/payout-period
DELETE /payment/payvia-field
DELETE /payment/payvia-field-mc
DELETE /payment/payvia-rule
GET /payment/dump-format
GET /payment/dump-formats
GET /payment/invoices
GET /payment/payments
GET /payment/payment-dumps
GET /payment/payment-dump
GET /payment/payment-search
GET /payment/payvia
GET /payment/payvias
GET /payment/payvia-fields
GET /payment/payvia-field-mcs
GET /payment/payout-period
GET /payment/payout-periods
GET /payment/payvia-rules
GET /payment/payvia-rule
GET /payment/payviarule
PATCH /payment/copy-dump-format
PATCH /payment/default-payout-period
PATCH /payment/dump-format
PATCH /payment/duplicate-payvia
PATCH /payment/invoice
PATCH /payment/payment
PATCH /payment/payment-paid
PATCH /payment/payment-store
PATCH /payment/payment-unstore
PATCH /payment/payments
PATCH /payment/payments-unstore
PATCH /payment/payout-period
PATCH /payment/payout-period-affiliates
PATCH /payment/payvia
PATCH /payment/payvia-field
PATCH /payment/payvia-fields-reorder
PATCH /payment/payvia-field-mc
PATCH /payment/payvia-field-mcs-reorder
PATCH /payment/payvia-rule
PATCH /payment/payviarule
PATCH /payment/restore-payout-period
PATCH /payment/restore-payvia-field
PATCH /payment/restore-payvia-field-mc
POST /payment/check-dump
POST /payment/dump-format
POST /payment/import-dump
POST /payment/invoice
POST /payment/payout-period
POST /payment/payvia
POST /payment/payvia-field
POST /payment/payvia-field-mc
POST /payment/payvia-rule
    Program
DELETE /program/program
DELETE /program/payout-change
DELETE /program/payout-change-tier
GET /program/additional-payout-change-targets
GET /program/affiliate-available
GET /program/detail
GET /program/list
GET /program/options
GET /program/payout-changes
GET /program/redirect-available
GET /program/sites
GET /program/tours
GET /program/types
PATCH /program/default_payout
PATCH /program/details
PATCH /program/disable_affiliate
PATCH /program/disable_tour
PATCH /program/enable_affiliate
PATCH /program/enable_site
PATCH /program/enable_tour
PATCH /program/move-payout-change
PATCH /program/payout-change
PATCH /program/payout-change-tier
POST /program/new
POST /program/payout-change
POST /program/payout-change-tier
    Report
GET /report/affiliate-ratios
GET /report/hits
GET /report/hit-totals
GET /report/profitloss
GET /report/profit-loss
GET /report/fields
GET /report/focus
GET /report/focuses
GET /report/groups
GET /report/perspective
GET /report/perspectives
GET /report/report
GET /report/subscription
GET /report/surfer
GET /report/surferaction
GET /report/transactionpayouts
GET /report/transactions
GET /report/transaction
GET /report/report-widget
GET /report/widgets
GET /report/widget
GET /report/widget-info
GET /report/views
POST /report/focus
POST /report/group
POST /report/perspective
PATCH /report/focus
PATCH /report/focus-enabled
PATCH /report/focus-default
PATCH /report/focuses-reorder
PATCH /report/perspective
PATCH /report/perspective-group
PATCH /report/report-widget
PATCH /report/widget
DELETE /report/focus
    Reward
DELETE /reward/category
DELETE /reward/purchase
DELETE /reward/point
DELETE /reward/reward
GET /reward/categories
GET /reward/points
GET /reward/purchases
GET /reward/rewards
PATCH /reward/move-point
PATCH /reward/point
PATCH /reward/reward
PATCH /reward/ship-purchase
PATCH /reward/unship-purchase
POST /reward/category
POST /reward/point
POST /reward/reward
    Service
GET /service/check-functions
GET /service/condition
GET /service/countries
GET /service/country
GET /service/datetime
GET /service/languages
GET /service/periods
GET /service/ping
GET /service/project
GET /service/rule-condition-data
GET /service/rule-info
GET /service/stats-breakdowns
GET /service/timezone
GET /service/timestamp
POST /service/sendemail
    Site
GET /site/base-templates
GET /site/billers
GET /site/cookies
GET /site/coupon
GET /site/coupons
GET /site/coupon-revisions
GET /site/email-settings
GET /site/groups
GET /site/option
GET /site/options
GET /site/options-available
GET /site/option-fields
GET /site/option-rules
GET /site/option-rule
GET /site/option-type
GET /site/option-types
GET /site/programs
GET /site/redirect
GET /site/redirects
GET /site/redirect-rules
GET /site/redirect-rule
GET /site/site-list
GET /site/site
GET /site/site-notices
GET /site/site-partner
GET /site/site-partners
GET /site/site-type
GET /site/sites
GET /site/template
GET /site/templates
GET /site/template-sections
GET /site/template-sites
GET /site/tour
GET /site/tours
GET /site/tour-emails
GET /site/tour-notices
POST /site/coupon
POST /site/group
POST /site/option
POST /site/option-rule
POST /site/redirect
POST /site/redirect-rule
POST /site/site-partner
POST /site/site-tour
POST /site/copy-template
POST /site/tour
PATCH /site/cookie
PATCH /site/coupon
PATCH /site/duplicate-option
PATCH /site/email-settings
PATCH /site/group
PATCH /site/move
PATCH /site/option
PATCH /site/option-rule
PATCH /site/redirect
PATCH /site/redirect-rule
PATCH /site/reset-coupon
PATCH /site/restore-group
PATCH /site/restore-option
PATCH /site/restore-redirect
PATCH /site/restore-site
PATCH /site/restore-site-partner
PATCH /site/restore-tour
PATCH /site/site
PATCH /site/site-partner
PATCH /site/template
PATCH /site/tour
DELETE /site/cookie
DELETE /site/group
DELETE /site/option
DELETE /site/option-rule
DELETE /site/site
DELETE /site/site-partner
DELETE /site/redirect
DELETE /site/redirect-rule
DELETE /site/template
DELETE /site/tour
DELETE /site/tour-field
    Skin
DELETE /skin/skin
DELETE /skin/template
GET /skin/colors
GET /skin/export
GET /skin/skins
GET /skin/sections
GET /skin/templates
GET /skin/template
PATCH /skin/colors
PATCH /skin/flush
PATCH /skin/skin
PATCH /skin/template
POST /skin/copy-template
POST /skin/import
POST /skin/skin
POST /skin/template
NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers



Please note: If you are new CCBILL client, you will need to use CCBILL's FlexForm integration. Please see our CCBILLFF wiki: NATS4_CCBill_Flexform



Please don't test your biller setup with NATS4 CCBill's test account—it won't work correctly.

Set up on CCBill's Website

Register a CCBill account.

To setup the site sub-account. login to the CCBill Admin, click Tools, click Account Maintenance, and go to the Account Setup section. Follow the on-screen instructions to setup the the site basics. You don't need to download the index page.

After setting up a sub-account, click Tools and Account Maintenance again and select a site from the list of sub-accounts. Choose Basic Setup and enter the following Denial URL and Approval URL:

  • http://linkdomain/signup/returnurl_ccbill.php?memberid=%%memberid%%&session=%%natssess%%
  • http://linkdomain/signup/returnurl_ccbill.php?status=approved&memberid=%%memberid%%&session=%%natssess%%
- If you are on a NATS version below 4.0.68.3, instead use the following in both of the Basic Denial URL and Approval URL fields:
  • http://linkdomain/signup/signup.php?step=3&site=%%siteid%%&memberid=%%memberid%%


Next, choose Advanced Setup and enter the following URL in both the Denial and Approval Post URL fields:

  • http://linkdomain/signup/process_ccbill.php

In the above Denial and Approval URLs, replace linkdomain with your linkdomain.

Please ensure that "Traffic Manager" feature of CCBill is not turned on. This feature cascades surfers between different payment types within CCBill's system and can cause NATS cascading to not work properly.

Go to User Management. If your site needs user management, set the following options, but make sure they match the NATS settings.

  • Username Type: USER DEFINED
  • Collect Username/Password: Display Username and Password
  • Min. Username Length: 6
  • Max. Username Length: 16
  • Min. Password Length: 6
  • Max. Password Length: 16

Enter the option you want to sell with NATS in the CCBill's Pricing Admin. Record each option's SKU I.D. number.

Set up Datalink

You need one or more sub-accounts to setup Datalink -- you don't need to use the second account. Before you start setting up Datalink, you also need your NATS server's IP address.

Contact CCBill customer support and ask them to setup Datalink or login to the CCBill Admin, go to Premium Features, go to Value Added Features, go to Data Link Services Suite, and enter a username and password. Give CCBill customer support your NATS IP address or enter it on the Data Link Services Suite page.
NOTE: Make sure that your Datalink account is setup to be for 'All sub accounts'

Set up CCBill in NATS

Billers Admin

To begin setting up CCBill as a biller in NATS, go to the Billers Admin. Scroll down to the "Biller" drop-down menu, select CCBill, and click "Add."

Note: If you don't see CCBill as a biller in NATS4, put in a support ticket, as you may need an updated version of NATS.

When prompted, fill in the Account Number, Datalink Username, and Datalink Password that were provided to you by CCBill under the "Account Info" section. If you were not provided with this information, please contact your biller to receive it.

Sites Admin

Next, go to the Sites Admin, create or edit a tour, and scroll down to the "Biller Details" section. Enter your CCBill Sub-Account ID and Form IDs here, into the CCBILL fields. You may also optionally add a CC Form ID, Check Form ID, Web900 Form, Upgrade sub-account number, and/or SKU. You can also add different sub-accounts for each payment type if you want to use different values for a specific site, as opposed to other sites.

Once you have done this, scroll down to the section labeled "Join Options for this Tour" and click the "Edit Option Details for this tour" icon that corresponds to the join option you wish to use. In the "Biller Codes" section on the next page, locate the "CCBILL" options. Enter your CCBill Payment IDs (also known as Price IDs) for every payment method you wish to accept. Once you have done this, fill in your sub-account, form, and SKU I.D. information. Any option that contains "CCB900" or "CCBill Web900" applies to CCBill Web900.

Click save when you have finished filling out the available fields. CCBill will now be configured to process basic transactions through NATS4.

Subscription Upgrade

Use CCBill's back-end post system by setting up an upgrade sub-account for each site in CCBill's admin. This is done by creating a new sub-account in the CCBill Web Admin and within the notes for adding the sub-account, note that this new account will be an upgrade account for one of your particular sites.

CCbill will in turn, mark the sub-account as an upgrade account and set up the necessary upgrade join options.

Once set up go to Sites Admin, edit a tour, and create or edit a join option.

Go to the biller details section and find the CCBill subsection. Enter the upgrade sub-account information in the provided field and click the Save Changes button. Repeat for each site.

Contact CCBill and inform them that you want to enable upgrades using the back-end posts. You must give CCBill your server's IP addresses for both the normal and upgrade sub-accounts. The IP addresses for the normal and upgrade sub-accounts must match or the upgrades will not work.

If you have any further questions in regards to the set up of the new sub account on CCbills end please contact CCBill support

On your CCBill account, go to advanced setup for the upgrade sub-account and enter the following URL in the Denial and Approval Post URL fields:

  • http://<linkdomain>/signup/process_ccbill.php

Replace <linkdomain> with your site's linkdomain.

After CCBill upgrades are working, put the following link in your limited members area for user upgrades:

  • http://<linkdomain>/signup/upgradeplus.php?site=<siteid>&username=<username>

Replace <linkdomain> with the linkdomain for your site. Replace <siteid> with your site's ID number. Replace <username> with the upgrading member's username.

CCBill Random Usernames and Passwords

If you setup random username's on CCBill's website, you need to remove the Username and Password fields from your site's join form.

CCBill Redirects to NATS redirect script

If you had CCBIll Affiliates promoting linkcodes for the master account (sub account 0000), the NATS redirect script will determine the NATS site via the HTML parameter of the CCBill affiliate linkcode.

To ensure that the HTML parameter is sent to the NATS redirect script, you must enable "append data on redirect" in the CCBill Admin; Legacy Affiliate -> Advanced Features

Disable CCBill Multiple Redirects

If you have issues with affiliates receiving double payments for traffic they have referred, it may be due to the Multiple Redirects feature found in CCBill's settings. Turn off the Multiple Redirects feature on CCBill's side in order to prevent incorrect linkcodes from being used to record double traffic.

Disable CCBill Decline Auto-Redirect

If CCBill automatically redirects to a "Signup with Bank Account" page regardless of what's in your cascade, you probably have CCBill Decline Auto-Redirect enabled. Go to the CCBill website, log in, find the Forms or Traffic Flow page, and disable the feature to automatically redirect surfers on a decline.

Invalid Request Error

The invalid request error appears when the biller isn't set up correctly in the Billers Admin. Go to the Billers Admin and double-check your biller account info. Remember not to include the sub-account ID in the account ID. If this is not the problem, ensure the sub-account was enabled.

CCBill Member and Password Management

You need to enable CCBill password management if you use text password files. If you use NATS for authentication with MySQL Auth, then you can turn password management off.

Instead of letting CCBill write to the NATS database, have CCBill Manage the database with scripts called from NATS postbacks.

If you have old sites that used flat password files and now use NATS, then you must keep the password management on and add the following line to your .htaccess file:

AuthMySQLAuthoritative Off

Notes

Three settings in the CCBill Administration Interface affect cascading billing.

If a check signup form exists, denied transactions are sent there. To cascade, modify the traffic flow here in the CCBill Admin. Go to Tools, Account Maintenance, Account Admin, Form Admin, Choose Form, Traffic, and set the Traffic Flow to None. Now CCBill sends denied transactions to the denial URL immediately.

CCBill automatically redirects denied CC transactions. By default, the redirect takes 5 seconds, but you can changed this to 3 seconds. Go to Tools, Account Maintenance, Account Admin, Basic, Denial Redirect Time. Note: activating the None option disables the automatic redirect.

By default, on a soft decline, CCBill lets the customer submit their purchase three times before sending them to the denial URL. CCBill can be send customers to the denial URL after the first decline; ask them to disable the soft decline retries on your account.

Common Datalink Errors

Note: it will be best to look at CCBill's documentation about the datalink errors here as these failure codes may change:

  • Error: Authentication failed. 01 Cause: Too many failed login attempts.
  • Error: Authentication failed. 02 Cause: Invalid user name, incorrect user name, no user name provided, invalid password, incorrect password, no password provided, incorrect clientAccnum/clientSubacc, or user is setup for a different clientAccnum/clientSubacc than provided
  • Error: Authentication failed. 03 Cause: Inactive login.
  • Error: Authentication failed. 04 Cause: Incorrect/non-configured IP address.



  • Error: Authentication Failed 693 Cause: Three or more failed logins within the last hour.
  • Error: Authentication failed. 708 Cause: Invalid user name, incorrect user name, no user name provided, invalid password, incorrect password, no password provided, incorrect clientAccnum/clientSubacc, or user is setup for a different clientAccnum/clientSubacc than provided
  • Error: Authentication failed. 722/723 Cause: Incorrect IP address.

CCBill Adding Users Error E-Mail

If you use NATS to handle your password management (mod_auth_mysql or some other method using the NATS members table) then you can safely disregard this mail.

If you use standard flat password files, then you should talk to your host or tech and CCBill to resolve this issue with them. NATS does not handle flat password files and we cannot fix the problem.

If you use both NATS and flat password files, then you should still talk to your host or tech and CCBill to fix the password file issue -- even if members get access through NATS.

CCBill Cross Sale special instructions

  • If you are receiving a cross sale from a non NATS source, you will need to pass your Ref Code into the CCBill purchase page as one of the following custom variables, "natsxsell", "natsxsell1", or "natsxsell2". If you have any questions about how to add a custom variable to your join links, or buttons, please contact CCBill for assistance.

See Also