Web Hosting Talk







View Full Version : Raq + 2Checkout.com + That Signup Script


jason_s
10-06-2001, 08:40 PM
If any Raq4 + 2Checkout.com users are interested, I have a heavily modified version of the account setup script mentioned here:
http://www.webhostingtalk.com/showthread.php?s=&threadid=22367

This mod takes the passback parameters from the 2Checkout.com script after a credit card is processed and uses this plus 3 other form inputs to automatically setup new domain accounts on your Raq4.

If you want it, lemme know.

brandonk
10-06-2001, 10:34 PM
I'd love it! brandon@webxonline.com

Also, how's 2checkout.com... I'm considering them.

jason_s
10-06-2001, 11:46 PM
I've only been using them for a couple of weeks. So far so good. I'll report back in a few weeks with my experiences.

Omair Haroon
10-07-2001, 04:35 AM
I would like to receive it too..
E-mail me at omair@hostingbetter.com


- Omair

ASPCode.net
10-07-2001, 06:48 AM
Me too :)

stefan.holmberg@systementor.se

BenDoherty
10-07-2001, 08:06 AM
Could i Have It To Please :)

bendoherty64@aol.com

Regards
Ben

vSector
10-07-2001, 08:12 AM
Hey Jason,

I would be greatful if you sent it my way too.

webmaster@v-sector.com

or icq me and we can chat about it because i aready have a fully automated signup script that may be helpful to you.

uin 8499326

jason_s
10-07-2001, 09:57 AM
The scripts have been e-mailed to all who requested....
Let me know of any problems.

ljprevo
10-07-2001, 10:15 AM
Can you send me the script to?

I have a reseller using 2Checkout.com

Lmax
10-07-2001, 10:26 AM
I would like it too, thanks

info@lanthost.com

shadowbreed
10-07-2001, 10:26 AM
please send to support@snakepages.com too

maybe it would be easier to just post the download url here??q\

jason_s
10-07-2001, 10:33 AM
Here is the download link everyone....

http://www.inwebsys.net/download/createaccount.zip

Fiber
10-07-2001, 06:53 PM
I am going to check out 2Checkout

Haisoft
10-10-2001, 11:17 AM
Originally posted by jason_s
If any Raq4 + 2Checkout.com users are interested, I have a heavily modified version of the account setup script mentioned here:
http://www.webhostingtalk.com/showthread.php?s=&threadid=22367

This mod takes the passback parameters from the 2Checkout.com script after a credit card is processed and uses this plus 3 other form inputs to automatically setup new domain accounts on your Raq4.

If you want it, lemme know.

I would love IT too !!!

Please send it to richard@haisoft.net with install instructions !

Does this script add users to a database or set up IP based sites ??

Richard :-)

ljprevo
10-10-2001, 11:28 AM
Originally posted by Haisoft


I would love IT too !!!

Please send it to richard@haisoft.net with install instructions !

Does this script add users to a database or set up IP based sites ??

Richard :-)

He only is giving the modified PHP scripts, not the whole autosetup script. That would be engaging in giving away copyrighted material.

rathgar
10-10-2001, 03:31 PM
Is this still available? Could you possibly send a copy to richard@mcnultyconsulting.com?

jason_s
10-10-2001, 04:43 PM
Here is the download link everyone....

http://www.inwebsys.net/download/createaccount.zip


It's still here. Can I get some feedback if anyone has used it?

BenDoherty
10-10-2001, 05:30 PM
Can the script be used with a RaQ 3i?

Ben

Asher S
10-11-2001, 12:43 PM
As you say that it passes data BACK to your script. Well dont you think thats vulnerable?? Anyone with a little experience can place 1 true order and find out how it works then he can 'hack' this vulnerability.

Unless this script is executed on the server without any passing back and forth then its safe. You should really test this first before making it public like this.

Regards,

Asher.

Asher S
10-11-2001, 12:49 PM
After reading your code, heres what i found which keeps your script away from 'hacking'


@referers =
("www.inwebsys.net","2checkout.com","www.2checkout.com");

$check_referer = 0;
if ($ENV{'HTTP_REFERER'}) {
foreach $referer (@referers) {
if ($ENV{'HTTP_REFERER'} =~ m|https?://([^/]*)$referer|i) {
$check_referer = 1;
last;
}
}
}


However please do not think that im judging your programming skills as I'm not... *but* you see the refferer environment variables can easily be manipulated by anyone with a little expereince. So this is basically really not a good failsafe mechanism.

You need the script to execute after the transaction completes that requires an API or ATS technique which is not available in 2checkout.

Regards,

Asher.

jason_s
10-11-2001, 01:07 PM
Asher,

Thanks for the insight.
I agree with you. No system is failsafe, but this is the best method I have for verifying that the account is valid.

The referrer check, coupled with the fact that an email is sent to my staff immediately when the form is processed, means that there is up to a 15 minute lag before the cron-job is completed which actually sets up the account on the server.Therefore, we will effectively have time to stop the account from being created or immediately delete the account if it is not valid.

If there are better ways to do this, please post them here. I'm sure there are many who could benefit from the knowledge.

Thanks again,
Jason S
Intelligent WebSystems

Asher S
10-11-2001, 01:13 PM
Well in order to avoid fraud, all you can do is make sure that the script executes transparently -- which means that it has to execute from the script which processes the credit card. Otherwise its easily hackable.

Unfortunately only merchant accounts support this functionality. There is another thirdparty billing service which supports this but i wont take its name as pretty much everyone knows about it.
Those who email me can get the name of the service -- but i wont post it here.

Regards,

Asher.

NewonNet
10-18-2001, 12:52 PM
Feed back on the script.

I have installed the script and is testing.

Here's one error that you might want to fix.

When the userdata file has an empty line, a site is added still.

The script should have test for blank lines.

Would something like this work inside the while loop?


If($lines != "") {
&createaccount;
&sendmail;
}



FYI:
For this script to work correctly, I had to use to control pannel to set up vsite default correctly.

mripguru
12-08-2001, 09:41 PM
Originally posted by jason_s
If any Raq4 + 2Checkout.com users are interested, I have a heavily modified version of the account setup script mentioned here:
http://www.webhostingtalk.com/showthread.php?s=&threadid=22367

This mod takes the passback parameters from the 2Checkout.com script after a credit card is processed and uses this plus 3 other form inputs to automatically setup new domain accounts on your Raq4.

If you want it, lemme know.

Anything like that for the Plesk yet?

hoot
12-09-2001, 04:06 AM
plesk has got a command line function so you just need a simple script and you can do more than with this script !

hoot

Shiekron
12-09-2001, 04:23 AM
Send it here too

shiekron@msn.com

hoot
12-09-2001, 04:06 PM
The script is not done yet as I have not taken a plesk server yet but I have a script which recieves the information from 2 checkout and sends all the info to autosetup which then creates the account. With plesk it will be the same except that you will not need the autosetup but you will have to make your own database with the customer information,
Have you got a rackshack machine, if so is it alot better than the raq?

hoot

Texhost
12-13-2001, 01:23 PM
Can someone please send this to me at bryantfitts@hotmail.com? I am a registered owner of the script and I would like to test the modifiactions with 2checkout

Thanks;) ;) ;)