Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Workarounds for 2Checkout Subscription Purchase Issues Details »»
Workarounds for 2Checkout Subscription Purchase Issues
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 01-24-2007 Last Update: Never Installs: 7
Template Edits
Code Changes  
No support by the author.

If you are using vB 3.6.0 or vB 3.6.1 and have not applied this fix, then when someone makes a vB subscription purchase, the sale does not get recorded in vB, even if you allow customer passback, and the customer can get stuck on a blank page.

If you are using vB 3.6.2 through vB 3.6.4, the sale will get recorded in vB when you allow customer passback, but the customer can still get stuck on a blank page.

Regardless of whether you are using vB 3.6.0 to vB 3.6.4, when users go to make a 2Checkout purchase, they see a hash string, but no product details like the name of the item they want to purchase.

2Checkout now requires the use of 'id_type' and 'c_prod' to be passed to identify the product being purchased, but vB 3.6.0 to vB 3.6.4 currently has nothing in place to account for this input.

These instructions provide workarounds for the aforementioned issues.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-27-2007, 06:07 PM
projectpilot projectpilot is offline
 
Join Date: Feb 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried this. Some part of works like the payment page at 2checkout.com shows the product information. But when someone pays, it takes them to sometimes a blank page or sometimes to an error page.

IS there anything I need to look at in particular?
Reply With Quote
  #3  
Old 01-27-2007, 08:46 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is one more line at the bottom of the payment_gateway.php file:
Code:
if ($apiobj->display_feedback AND !empty($apiobj->error))
Where you could change it to the following if you want:
Code:
if (($apiobj->display_feedback OR $apiobj_display_feedback) AND !empty($apiobj->error))
But a user only winds up there if the payment doesn't verify.

If you are testing in demo mode, set up a 0.01 subscription and try it live. Also, double check that all the file edits are in the correct locations. After a verified payment, you should wind up back on the payments.php page or the login thereto.
Reply With Quote
  #4  
Old 01-27-2007, 10:37 PM
projectpilot projectpilot is offline
 
Join Date: Feb 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie View Post
There is one more line at the bottom of the payment_gateway.php file:
Code:
if ($apiobj->display_feedback AND !empty($apiobj->error))
Where you could change it to the following if you want:
Code:
if (($apiobj->display_feedback OR $apiobj_display_feedback) AND !empty($apiobj->error))
But a user only winds up there if the payment doesn't verify.

If you are testing in demo mode, set up a 0.01 subscription and try it live. Also, double check that all the file edits are in the correct locations. After a verified payment, you should wind up back on the payments.php page or the login thereto.


Yes it worked. Thanks a lot. I haven't tested but does it work for recurring payments? In 2 checkout there is a recurring product setup option. Is it compatible with the vBulletin 3.6.4?
Reply With Quote
  #5  
Old 02-27-2007, 05:05 PM
hydn hydn is offline
 
Join Date: Oct 2005
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work or can be adapted for 3.5.7?

thanks
Reply With Quote
  #6  
Old 08-05-2008, 04:46 PM
pmkb's Avatar
pmkb pmkb is offline
 
Join Date: Sep 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by projectpilot View Post
... does it work for recurring payments? In 2 checkout there is a recurring product setup option. Is it compatible with the vBulletin 3.6.4?
Same question, but for 3.7.2 PL 1...
Reply With Quote
  #7  
Old 06-28-2011, 10:21 PM
addamroy addamroy is offline
 
Join Date: Sep 2010
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to see some kind of fix for 4.xx versions of vbulletin ... PLEASE PLEASE PLEASE fix the 2checkout issues. I'd greatly appreciate it and so would many other vbulletin users.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09247 seconds
  • Memory Usage 2,257KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete