Cascade Setup for SegPay Users


This guide will help you with configuring SegPay in your CCBill cascade. You will need to configure items in both systems in order for this feature to work.

If your site is already LIVE when you make these changes, it is still VERY important that you work with a SegPay tech support representative to ensure that you have made all the required changes on your SegPay account and so they can test integration to make sure all is configured correctly.

Please note that test transactions will NOT show up in the CCBill admin so to make sure all is working, a real transaction will need to be run.

Configuring CCBill and SegPay

To get started, you should have both the CCBill admin and the SegPay admin open at the same time. This will make it easier to get the required data from both systems.


Once you are in your CCBill admin, you will need to go the following area: Account Info > Account Admin. After you get to your Account Admin screen, go to your subaccount and click on Traffic Manager. This will display the following screen.

To create a configuration, click on the button labeled Create Configuration or the tab labeled Configurations.

Once on this screen, click Create New Configuration. You will need to give a name and description to your configuration. Then you will need to pick payment type and processor. If you are setting this up for credit card, please make sure to choose Credit as the payment type. If setting up online checks, you will want to choose Check.

For Processor, select SegPay from the drop down list.

This will then bring up a screen where you can enter the appropriate information required to use SegPay. Please note that for each price point option for each site that you want to set up, you will need to set up a corresponding configuration.


To get the required eticket information from SegPay, go to the Merchant Setup > Package area. Pick the package for which you would like to setup the CCBill configuration. You are going to need the Package ID and the Bill Config ID that combined make up the eticket ID.

Once on your package screen, you go down to the price point section. You will need to scroll over to the column labeled ButtonCode. In this column, you will see the join link for that particular option. You will need the values after the eticketID variable. This is shown in the green box below.

The Package ID can be found at the top of the screen as shown by the red box below. The price point ID can be found in the ID column shown in the blue box below.

When you put the Package ID together with the price point ID and separate them with a colon, you get the eticket ID that you see in the button code link.

So, for this option you would have the following:

Package ID: 112651
ID: 3754

Together, the eticketID value is 112651:3754. You can now enter this value in the eticket ID field on the configuration screen in your CCBill admin.

Traffic Flows

Traffic Flows allow you to send consumers to another payment option after the first transaction has been denied. This feature allows you to configure your billing cascade for your different payment options so that you can setup which biller is your primary option, which biller is then your secondary option, and so on. You can send consumers to one of the other biller’s join options if a sale is declined. For example, if the use of a credit card was denied via SegPay, you can offer the consumer the ability to join through CCBill.

The Traffic Flows tab allows you to perform the following functions:

  • View the Traffic Flow List
  • Create a New Traffic Flow
  • Copy an Existing Traffic Flow
  • Edit an Existing Traffic Flow
  • Copy Code for a Traffic Flow

View the Traffic Flow List

The Traffic Flow List is displayed when you click the Traffic Flows tab in the Traffic Manager. All of your existing active and inactive traffic flows are listed. You can sort the traffic flows in either ascending or descending order by clicking the arrow next to the column headings.

Copy an Existing Traffic Flow

If you need to make a new traffic flow but want to base it on an existing traffic flow, you can use the Copy functionality.

1. Click the Copy button on the right side of the row for the traffic flow that you wish to duplicate.
      2. Enter new information for the Name, Description, Post Proxy URL, and Filter
          (an alternate flow for affiliate-referred transactions) fields.
      3. Make any changes to the traffic flow by adding, moving, or removing configurations to/from
          the Selected Configurations list.
      4. Click Save to create the new configuration.

Edit an Existing Traffic Flow

If you need to make changes to a traffic flow:

1. Click the Edit button at the right of the row for the traffic flow you wish to edit.
      2. Make the changes you require.
      3. Click Save to save your changes, or Reset if you change your mind.

Create a New Traffic Flow

To create a new Traffic Flow:

1. From the Traffic Flows tab in the Traffic Manager, click Create New Traffic Flow at the bottom right.
      2. Enter a unique name for your traffic flow in the Name field.
      3. Enter a unique Description for the traffic flow in that field.
      4. Enter the Post Proxy URL (in order to receive post-back information from the flow, enter the post proxy URL here).
      5. Choose the Filter from the drop-down menu.
      6. Choose Active for status to set the traffic flow as active.
      7. Drag your configurations from the Available Configurations List to the Selected Configurations List.
      8. Drag the configurations within the Selected Configurations list to determine in which they should process.
      9. Click Save when your Traffic Flow is complete.

Copy the Code for a Traffic Flow

To successfully use any traffic flow, you must link to it. Paste the code for the traffic flow that you wish to use on your site so that consumers can use it to pay for your content. There are several different ways to retrieve the code for a traffic flow:

  • From the Traffic Flow list, click the Code button next to the traffic flow you wish to place. The code provided can be copied and pasted like normal or you can use the Copy Code button on screen. Close the pop-up when you are finished.
  • In the Edit and Create functions there is a Generate Code button that will allow you to create and copy the code for placement on your site.

Postback Configurations & Receipt Page

To finalize your cascade, you will need to make sure you complete this last section. You MUST update your postback configurations to use the 2nd trans post link for the CCBill system. Without doing this, the transactional data is not passed to the system. Either you can do this yourself per the instructions below or you can have SegPay Tech Support update this for you.

2nd Trans Post URL:<action>&stage=<stage>&approved=<approved>&trantype=<trantype>&eticketid=<eticketid>&purchaseid=<purchaseid>&tranid=<tranid>&price=<price>¤cycode=<currencycode>&ip=<ipaddress>&initialvalue=<ival>&initialperiod=<iint>&recurringvalue=<rval>&recurringperiod=<rint>&desc=<desc>&transGUID=<transguid>&standin=<standin>&xsellnum=<xsellnum>&username=<extra username>&password=<extra password>&name=<billname>&email=<billemail>&phone=<billphone>&address=<billaddr>&city=<billcity>&state=<billstate>&zipcode=<billzip>&country=<billcntry>&enc=<extra enc>&transtime=<transtime>

2nd Trans Post Msg: SUCCESS

ENABLE the option 2nd Trans Post Uses SSL by checking the box next to this phrase which is shown in the red box in the image above.

Additionally, if you are updating an existing package, you will need to contact your SegPay account manager or SegPay Tech Support so that they can update your Receipt Page field in the Packages you are setting up in the cascade to use the CCBill Receipt Page. This customized receipt page will allow for the automatic redirect of the consumer on a decline so they can be passed to the next biller.

If you are creating a new package, you can enter this information yourself.