The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
2checkout.com (version 2) Subscription Option Details »» | |||||||||||||||||||||||||||
2checkout.com (version 2) Subscription Option
Developer Last Online: Aug 2021
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. Show Your Support
|
Comments |
#12
|
|||
|
|||
kall,
Can you share the version for 2checkout 1 users please? Many thanks |
#13
|
||||
|
||||
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. |
#14
|
|||
|
|||
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 |
#15
|
|||
|
|||
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. |
#16
|
||||
|
||||
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? |
#17
|
||||
|
||||
Quote:
|
#18
|
|||
|
|||
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 |
#19
|
||||
|
||||
umm my authorize.php doesnt have those lines.... it has this instead...
PHP Code:
|
#20
|
|||
|
|||
Hey lol sorry im newbie does this work with VB 3.03?
|
#21
|
|||
|
|||
MY bad lol im soo stupid didnt read top, got confused with version 2 thing sorry my bad!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|