![]() |
2checkout.com (version 2) Subscription Option
Need to give your members the option of paying through 2checkout.com?
This is the modification for you. It works just like the currently offered payment gateways...you choose 2checkout as an option in the Paid Subscriptions section of your Admin CP, enter your 2checkout id number, and you are good to go. Members will be diverted to the 2checkout secure payment page, once the transaction is confirmed, 2checkout tells your vb (through a new php file in /subscriptions), and the automatic subscription process goes ahead. Addendum: This works for Version 2 of 2checkout.com. This was originally going to be 'sold' to people who wanted it, but I'll just post it here and if anyone feels like rewarding me, there's a paypal addy at the end of the .txt :) Update: 12/11/2004: Changed the variable from 2co to checkout. Not really a big change. |
Great idea - I know at least one guy who will use this :D
|
Thanks, ive been looking for something like this.
|
oh hell yeah !!!!!
*<3's kal in a strickly heterosexual way*!! now i dont gotta get ripped off by paypal >.< |
im getting an 404 not found error saying the payment url doesnt exist when I try to purchase a subscription.
|
It seems that your using the Version 2 of 2checkout.com. I have a version 1 and it required different things. Do you think you could take a look at it if I PM you?
|
Quote:
I could have a go... :) |
Thanks for sharing.
|
Quote:
|
great addition:up: thank you
|
kall,
Can you share the version for 2checkout 1 users please? Many thanks |
Quote:
Somebody sent me a list of variables that it asks for, but these are the same variables I used to create this hack for version 2. As I can't actually get access to version 1 (as they aren't giving it to new users), I can't test it I'm afraid. |
I'll see about getting my version written up for 2checkout 1. I've had it running ages but haven't had time to sort it out.
The basis of the hack was simply to replace the authorise.net payment code a modification which points at 2co's payment gateway. They are quite similar but not a perfect replacement so i duplicated much of the code. As far as i remember the main changes were in includes/functions_subscriptions.php This is what i did... find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Once thats all done set the shopping cart preferences in your 2co admin panel to point back at the authorize.net payment page which will accept the payment correctly (/subscriptions/authorize.php). Try it out in test mode with garbage card numbers to check it all works and you should find its working nicely. I hope this helps, it was rather important to my site as we were trying to improve our payment system after using a poorly intergrated one. Nick |
Hello nick,
I've got 2checkout accepting payments using your code. Many thanks. One question. If your 2checkout account is in test mode, should it return valid codes and should the vb account be upgraded? My authorize.php is simply displaying a white page when it returns. There are no parse errors, so I'm guessing it's hitting one of the exit; statements. Thanks again for your help. |
i have a problem with this,
what do i do for the settings for the button to appear, basicaly what im asking is how to set it up to actualy work, you provided the edits for the functions_subscriptions page but i cant get the propper button to display. can you edit kall's txt file to make it be specific for the other edits needed to work? |
Quote:
:) |
It seems i made changes to subscriptions/authorize.php after all. This is my replacement one:
Find: PHP Code:
PHP Code:
I hope thats it. Nick |
umm my authorize.php doesnt have those lines.... it has this instead...
PHP Code:
|
Hey lol sorry im newbie does this work with VB 3.03?
|
MY bad lol im soo stupid didnt read top, got confused with version 2 thing sorry my bad!
|
Edit. I stupidly realized I'm not using v2. How irritating.
|
Does this use recurring billing?
|
I installed this and it looks like it doesn't do recurring billing. Is there any way to modify this hack like the PayPal recurring billing hack?
https://vborg.vbsupport.ru/showthread.php?t=64834 Thanks. |
will be trying it out next week. thank you!
|
well .. thanks for the hack ..
I followed all the instructions .. but it didn't work fully .. see the pic I attached .. I made a new Subscription .. when I try to subscripe by pressing "order by 2checkout" .. it takes me to 2checkout.com ordering page but it doesn't show the amount of money .. :disappointed: .. what's wrong? |
recurring PLEASE!@
|
is there a new version of this for vbulletin 3.5?!! pleassseeee!
|
Can this be made for 3.5? There is a 2checkout script in vB, but it does not automatically upgrade, you have to do it manually. Unless there is some way of just getting the current vB script to work automatically? I have 2checkout version 2. Thanks!
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|