Web Hosting Talk







View Full Version : HostCharge question


JamRover
07-16-2002, 02:29 PM
I know the new phpmanager is coming out soon with the hostcharge implementations, but does anyone have any information on how to use HostCharge with phpmanager? I can't wait a week - I need to get this up now.

seg fault
07-17-2002, 12:04 AM
What is it you are trying to do?

ServerSonic
07-17-2002, 06:06 AM
Here is a "quick fix" until phpManager releases their new version:

Open phpManager/orders/index.php and go to just below the part that says

$sql = "SELECT * FROM plans WHERE package='$package'";
$result = mysql_query($sql);
$myrow = mysql_fetch_array($result);

if ($processor=="2Checkout"){

$variable = "&merchant_order_id=$id";

} else {

$variable = "&orderid=$id";

}


This part just below that code is for CC processors that aren't built in already (HostCharge:) ). Change this section so that it looks like the code below (safe to copy/paste)


if ($schedule=="Monthly"){

$link = $myrow["cc_monthly"];
$link .= $variable;

} elseif ($schedule=="Quarterly"){

$link = $myrow["cc_quarterly"];
$link .= $variable;

} elseif ($schedule=="Bi-Annually"){

$link = $myrow["cc_biannually"];
$link .= $variable;

} elseif ($schedule=="Yearly"){

$link = $myrow["cc_yearly"];
$link .= $variable;

}


What this does is appends the order ID to the link that you have setup for credit card payment. Then in your phpManager administration area, use the following format for your credit card links:
https://secure.debitaccess.net/cash/api/index.php?session=merchatid&cur=USD&amt=499&product=Mini%20Hosting%20-%20Monthly&pcode=minim

merchantid is the username you use to login to the HostCharge MCC.
USD means use US Dollars
After amt= you put the cost in cents. Thus if you are selling a $4.99 product you put 499 (as above)
After product= you put the product name. Use %20 for spaces.
After pcode= put your product code. This is used in the MCC if you have any promotions. I am not sure if it is required or not so it is best to use it.

That should keep you going until phpManager releases the next version soon! Good luck!

JamRover
07-17-2002, 10:53 AM
Hey man! Thanks! :) I'll start editing now. I think the product code for personal reference. Anyhow I did everything and I'm in business. I wish someone would tell them to fix the image on their page though.

Asher S
07-17-2002, 11:58 AM
I hope the developers of phpManager are aware that our api will be depreciated by today with the release of our realtime billing system....

Gyrbo
07-17-2002, 12:46 PM
Could you please give more details about this new system. Will we still be able to use a different API?

Asher S
07-17-2002, 02:54 PM
Originally posted by Gyrbo
Could you please give more details about this new system. Will we still be able to use a different API?

The old api will be no longer supported by us and will eventually be removed from the system in a month or so.

Gyrbo
07-17-2002, 03:48 PM
How are payments handled now? Do we need to enter everything manually? I have a demo account, and I didn't see any new options.

Asher S
07-17-2002, 04:25 PM
Its realtime billing just like worldpay or revecom etc. You can still enter manually but thats your choice. And the realtime billing hasnt been released yet, it'll be released tonight.

ServerSonic
07-17-2002, 08:52 PM
Asher,

Perhaps you could share with us more details about how the system works. I have not received anything via email in advance and your forums are gone. I currently use HostCharge as described above to process all of my payments. I think it would be wise to share with your merchants how the system will work ahead of time so that they aren't forced to sit around tonight and keep checking for when their order forms stop working and than frantically try and figure out how to change their billing systems to work with the new version.

Asher S
07-17-2002, 09:07 PM
Jordan,

This was addressed in the first hostcharge newsletter that was sent out. This and various other issues like HostCharge atm cards were also discussed.

As soon as this new system is launched you will see an updated in the mcc and a newsletter will also be sent.

Furthermore dont worry about us leaving API users in the dark. We will not terminate the API links until everyone has migrated over.

The new system will pretty much be point and click, you create products and get links and you're done. Very simple and friendly to use :)

You'll get detalis quite shortly.


Regards,
Asher.

ServerSonic
07-17-2002, 09:38 PM
Phew I was worried that I'd be in a panic rush tonight trying to get stuff moved over. I am anxious to see the new system however.

GH_Dave
07-17-2002, 11:17 PM
Asher,

So I'm going to have to make every possible combination of our products on your site (to get links?) so we can use the realtime billing? If I understood that right, I don't think it's going to work for us. We designed our shopping cart system to be able to handle anything, ie: multiple domains names with different registration periods, mutliple different hosting accounts etc. We change the product text (to show if it's a domain name or hosting or both that is being purchased) and price and pass it to your system. It currently works great and I am looking forward to realtime billing... Do you mind elaborating?

Dave

Locutus
07-18-2002, 05:39 AM
Hi,

Asher, can you tell me if the links are dynamic or static?

e.g

Dynamic - WorldPay, Authorize etc. You can set the variables to pass before the link is sent.

Static - 2Checkout, Revecom. You can't set the variables. You have to create a link on the paypment processor website.

JamRover
07-18-2002, 10:17 AM
We'll get it done tonight = in a couple of days
We'll get it done in 30mins = 24 hours
We'll get it done in a week = 1 month
We'll get it done in a month = 2 months

:( I know you guys are working hard and you are doing a fine job, just give us broader estimates of completion time.

Asher S
07-18-2002, 11:13 AM
Originally posted by GH_Dave
Asher,

So I'm going to have to make every possible combination of our products on your site (to get links?) so we can use the realtime billing? If I understood that right, I don't think it's going to work for us. We designed our shopping cart system to be able to handle anything, ie: multiple domains names with different registration periods, mutliple different hosting accounts etc. We change the product text (to show if it's a domain name or hosting or both that is being purchased) and price and pass it to your system. It currently works great and I am looking forward to realtime billing... Do you mind elaborating?

Dave

Yes you can do that as well. However you can create ONE product and use it according to your needs. Since you will be able to pass on comments, monthly price adjustments, setup fee adjustments to the order script. So you can also pass on a product name.

Its a simple yet very flexible realtime billing system.

On hte other note, if you dont like the system you can always use your own order forms and key in transactions manually.

Regards,
Asher.

Asher S
07-18-2002, 11:15 AM
Originally posted by Locutus
Hi,

Asher, can you tell me if the links are dynamic or static?

e.g

Dynamic - WorldPay, Authorize etc. You can set the variables to pass before the link is sent.

Static - 2Checkout, Revecom. You can't set the variables. You have to create a link on the paypment processor website.

No its dynamic. You can pass on various values. Please understand that I cannot get into too many details of how the sysem will work.

Regards,
Asher.

ServerSonic
07-18-2002, 12:05 PM
LOL @ Asher...

How come you can't get into details when it was supposed to be online last night. :-p

Asher S
07-18-2002, 12:50 PM
Originally posted by ServerSonic
LOL @ Asher...

How come you can't get into details when it was supposed to be online last night. :-p

I dont want to reveal too many details on a publically accesible forum :)

GH_Dave
07-18-2002, 04:35 PM
Originally posted by ^Kyo


Yes you can do that as well. However you can create ONE product and use it according to your needs. Since you will be able to pass on comments, monthly price adjustments, setup fee adjustments to the order script. So you can also pass on a product name.


Phew!

Gyrbo
07-19-2002, 06:40 AM
I've tried the system, and I must say I like it! Very good job. The only thing I would like to see now is a way to customize the headers/footers and/or the colors. Maybe also a way to upload a logo via the MCC?

Asher S
07-19-2002, 01:11 PM
Originally posted by Gyrbo
I've tried the system, and I must say I like it! Very good job. The only thing I would like to see now is a way to customize the headers/footers and/or the colors. Maybe also a way to upload a logo via the MCC?

Upload via mcc is just asking for trouble :) The customization options will be available soon (there will be various levels of customization). Stay tuned for updates to the mcc, they will be happening throughout this final week.

Regards,
ASher.

Gyrbo
07-19-2002, 01:53 PM
I hope to sign up this week, maybe next. This service is getting better and better, keep up the good work!

Asher S
07-19-2002, 01:58 PM
Originally posted by Gyrbo
I hope to sign up this week, maybe next. This service is getting better and better, keep up the good work!

Thanks :)