Archive for the ‘ModernBill’ Category

“Not Found The requested URL /cgi-bin/wrapper.cgi was not found on this server.

Thursday, April 19th, 2007

https://yourdomain.com:8443/cgi-bin/wrapper.cgi

When I hit the above wrapper in a web browser I should see somethat that says “No script Name” (this just lets me know you have installed the wrapper right).

But right now I see “Not Found The requested URL /cgi-bin/wrapper.cgi was not found on this server.”

Which means the wrapper.cgi is not been inserted properly on your server and hence you are getting the error in API.

How to disbale the mandatory state for the State/Province field, on a per country basis.? ModernBill V5

Thursday, April 19th, 2007

That can easily be removed. Open up – include/actions/admin/clients/AddClientResponse.php, and remove INPUT_RESTRICTION_REQUIRED from the input restriction bitmask for “contactState”, as is done for other fields, like “contactAddress2″. See include/validator/validator.php for more details on how input validation is done in mb5.

How the MB packages works for plesk -V4?

Thursday, April 19th, 2007

Generaly the MB packages works for plesk :In plesk, there are client and domain templates generally we dont use them, as they have no impact on Modernbill. When we create a package in MB for Plesk we go to “insert plesk attributes” and then we enter in the attrtibutes.Now Modernbill emulates within itself the plesk templates and then passess the template over the API into Plesk So, when you are filling out those attributes, you are basically filling out a plesk template and that is the reason why you do not need to fill out the plesk template within plesk itself.

How to remove the encrypted CC numbers from your database in ModernBill v4?

Thursday, April 19th, 2007

You can remove the encrypted CC numbers from your database by running the following SQL command in your ModernBIll database:

UPDATE client_info SET billing_cc_type = NULL, billing_cc_num = NULL, billing_cc_exp = NULL, billing_cc_code = NULL;

How to change your billing type from CC batch to CC single in Modernbill v4?

Thursday, April 19th, 2007

In order to change your billing type from CC batch to CC single you have to run the following SQL query into your database.

SQL query:

UPDATE client_info SET billing_method =3 WHERE billing_method =1;

How Bandwidth billing works with modernbill v4.

Thursday, April 19th, 2007

Since invoices are generally created before the end of a billing period, we actually invoice for the bandwidth of the previous period. An example: Client signs up November 1st and starts using their website. You send an invoice on November 25th for December service. There is no bandwidth overage billed as that first month isn’t actually done yet. The invoice generated on December 25th will include any overages for Nov. 1 – Dec. 1 as we now have that full month’s worth of bandwidth to look at.

The current logic will be for the previously generated billing cycle so it will go back two months. Lets say fro client ID 8 – When you generate invoices for June, April’s bandwidth billing will show up on that invoice. If you were running quarterly billing cycles, it would go back two quarters and bill for that bandwidth

ERROR: TRANS_DATABASEERROR: -> V5 modernbill

Thursday, April 19th, 2007

The error which you are getting while accessing v5 admin login url is due to the missmatch in database username/password in /lib-modernbill/include/config/config.php file.

Please confirm that the database login details are rightly set.

How to setup cpanel reseller and shared packages in modernbill

Thursday, April 19th, 2007

Shared:-

If you plan to have Shared plans in the MB you have to first create those packages in the WHM and then in the MB you have to see that the cpanel_type should be planbased, also make sure that cpanel_acctplan should be same as that of the package name created in the WHM. Then you have to just add the attributes in the package same as that of the inserted in the package created on WHM.

Same with  Reseller:-
To set the reseller plan in the MB you have to first create the reseller package in the WHM and then in the MB you have to see that the cpanel_type should be as reseller and not as planbased, also make sure that cpanel_acctplan should be same as that of the package name created in the WHM. Then you have to just add the attributes in the package same as that of the inserted in the package created on WHM.

Modernbill unable to track paypal payment though client has paid the due invoice .

Thursday, April 19th, 2007

Please make sure that you have setup the paypal module properly as per the article in manual.

Please login to your paypal account – click on “Profile”

Selling Preferences/Instant Payment Notification Preferences

Instant Payment Notification (IPN) must be set to On and Instant Payment Notification (IPN) URL must be same as that you have set this “Set PayPal IPN URL:” in Paypal Gateway Module in MB.

How does modern bill check whether the payment was made into paypal?

Thursday, April 19th, 2007

Lets say you have enabled the Paypal Subscription option in the gateway module so that once client subscribes his invoice from his billing section a subscription ID is created. PayPal sends an IPN to the paypal_return script. So the payment needs to be made from within ModernBill. Subscription Payment, that means a credit was created and if it paid an invoice, you get the subscription number added.

For example : Lets say if a client signs up on 20th and is due on the 1st of every month invoice will be generated before hand as per the settings that you have made in your cron wizard and then subscription will be paid on the 20th of the month. This is the way paypal works. Also you need to be running anniversary billing mode as monthly billing mode does not work properly as this is specific to paypal subscriptions only. Paypal subscriptions work well with Modernbill.

2Checkout doesn’t work all that great, as it is partially manual. 2CO will perform the automatic recurring charge, but it does not report back to modernbill that it has been paid. You need to manually do that yourself.