vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Workarounds for 2Checkout Subscription Purchase Issues (https://vborg.vbsupport.ru/showthread.php?t=137443)

calorie 01-24-2007 10:00 PM

Workarounds for 2Checkout Subscription Purchase Issues
 
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.

projectpilot 01-27-2007 06:07 PM

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?

calorie 01-27-2007 08:46 PM

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.

projectpilot 01-27-2007 10:37 PM

Quote:

Originally Posted by calorie (Post 1168548)
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?

hydn 02-27-2007 05:05 PM

Does this work or can be adapted for 3.5.7?

thanks

pmkb 08-05-2008 04:46 PM

Quote:

Originally Posted by projectpilot (Post 1168603)
... 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...

addamroy 06-28-2011 10:21 PM

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.


All times are GMT. The time now is 07:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01064 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete