The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#92
|
|||
|
|||
Quote:
can you get back to me on the contest hack? |
#93
|
|||
|
|||
Quote:
|
#94
|
||||
|
||||
Installed. Thanks!
|
#95
|
|||
|
|||
Does anyone have this installed on 3.0.3? I'm having difficulties getting it to work correctly?
I'm installing this on 3.0.3 and I'm having a problem with this step: Step 3. Open includes/functions_subscriptions.php It says to find: Code:
case 'paypal': $form['action'] = 'https://www.paypal.com/cgi-bin/webscr'; $form['method'] = 'post'; $form['hiddenfields'] = " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\" /> <input type=\"hidden\" name=\"business\" value=\"$vboptions[ppemail]\" /> <input type=\"hidden\" name=\"item_name\" value=\"$title Subscription\" /> <input type=\"hidden\" name=\"item_number\" value=\"$item\" /> <input type=\"hidden\" name=\"amount\" value=\"$cost\" /> <input type=\"hidden\" name=\"currency_code\" value=\"$currency\" /> <input type=\"hidden\" name=\"no_shipping\" value=\"1\" /> <input type=\"hidden\" name=\"return\" value=\"$vboptions[bburl]\" /> <input type=\"hidden\" name=\"no_note\" value=\"1\" />"; break; Code:
case 'paypal': $form['action'] = 'https://www.paypal.com/cgi-bin/webscr'; $form['method'] = 'post'; $form['hiddenfields'] = " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\" /> <input type=\"hidden\" name=\"business\" value=\"$vboptions[ppemail]\" /> <input type=\"hidden\" name=\"item_name\" value=\"$title Subscription\" /> <input type=\"hidden\" name=\"item_number\" value=\"$item\" /> <input type=\"hidden\" name=\"amount\" value=\"$cost\" /> <input type=\"hidden\" name=\"currency_code\" value=\"$currency\" /> <input type=\"hidden\" name=\"no_shipping\" value=\"1\" /> <input type=\"hidden\" name=\"shipping\" value=\"0.00\" /> <input type=\"hidden\" name=\"return\" value=\"$vboptions[bburl]/$vboptions[forumhome].php\" /> <input type=\"hidden\" name=\"notify_url\" value=\"$vboptions[bburl]/subscriptions/paypal.php\" /> <input type=\"hidden\" name=\"custom\" value=\"$userinfo[username]\" /> <input type=\"hidden\" name=\"no_note\" value=\"1\" />"; break; Code:
case 'paypal': $form['action'] = 'https://www.paypal.com/cgi-bin/webscr'; $form['method'] = 'post'; /// Add In For Reacuring Payments $paypalextra = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "subscription AS subscription WHERE subscriptionid=$subscriptionid"); if($paypalextra[reoccur]==0){// It is one time $form['hiddenfields'] = " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\" /> <input type=\"hidden\" name=\"business\" value=\"$vboptions[ppemail]\" /> <input type=\"hidden\" name=\"item_name\" value=\"$title Subscription\" /> <input type=\"hidden\" name=\"item_number\" value=\"$item\" /> <input type=\"hidden\" name=\"amount\" value=\"$cost\" /> <input type=\"hidden\" name=\"currency_code\" value=\"$currency\" /> <input type=\"hidden\" name=\"no_shipping\" value=\"1\" /> <input type=\"hidden\" name=\"return\" value=\"$vboptions[bburl]\" /> <input type=\"hidden\" name=\"no_note\" value=\"1\" />"; }else{ $form['hiddenfields'] = " <input type=\"hidden\" name=\"cmd\" value=\"_xclick-subscriptions\" /> <input type=\"hidden\" name=\"business\" value=\"$vboptions[ppemail]\" /> <input type=\"hidden\" name=\"item_name\" value=\"$title Subscription\" /> <input type=\"hidden\" name=\"item_number\" value=\"$item\" /> <input type=\"hidden\" name=\"currency_code\" value=\"$currency\" /> <input type=\"hidden\" name=\"ammount\" value=\"$cost\" /> <input type=\"hidden\" name=\"a3\" value=\"$cost\" /> <input type=\"hidden\" name=\"p3\" value=\"$paypalextra[length]\"> <input type=\"hidden\" name=\"t3\" value=\"$paypalextra[units]\"> <input type=\"hidden\" name=\"src\" value=\"1\"> <input type=\"hidden\" name=\"sra\" value=\"1\"> <input type=\"hidden\" name=\"no_shipping\" value=\"1\" /> <input type=\"hidden\" name=\"return\" value=\"$vboptions[bburl]\" /> <input type=\"hidden\" name=\"no_note\" value=\"1\" />"; } break; |
#96
|
|||
|
|||
you just need to find the corresponding lines, and that's all... put the missing lines.
the new version of 3.0.3 is adding some lines in the paypal reoccuring process that may answer the bugs with the older versions, that's why... |
#97
|
|||
|
|||
Cool, thanks for the advice, but I've tried messing with the code, I keep getting all kinds of errors, I am a complete novice and don't know what the heck I'm doing when it comes to programing.
$$$$ If someone wants to figure this out, I'd pay them for their time and share it with the forum for free I'll pay you by paypal. |
#98
|
|||
|
|||
duplicate post removed... oops
|
#99
|
|||
|
|||
heynurse, I just upgraded to 3.03 myself, and re-adding hacks I ran into the same problem. This is what I put in, and everything appears to be working fine. I don't receive any errors at all. Hopefully it's correct.
PHP Code:
|
#100
|
|||
|
|||
Trying to install this on 3.0.3, and am having trouble finding some of the code....
Instructions call to find - Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userid) { global $vboptions; Code:
function construct_payment($method, $cost, $currency, $subscriptionid, $title, $userinfo) { global $vboptions; |
#101
|
|||
|
|||
I had the same problem, por4x4. I tried changing userid to userinfo and it didn't work. I'd get the paypal subscription and money, but their subscription was not activated.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|