The vB Geek

Go Back   The vB Geek > vB Geek Products > GeekMart

GeekMart GMart is an integrated shopping cart system for vBulletin.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 10-01-2008, 03:51 AM
benFF benFF is offline
Member
 
Join Date: Oct 2005
Posts: 38
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Unhappy Issues since upgrading to vb3.6.11

I just jumped from 3.6.8 to 3.6.11 and now the Paypal IPN has just stopped working.

Nothing else changed, and from looking at the form data - all the correct stuff does seem to be going across fine.

Anyone else have an issue like this?
Reply With Quote
  #2  
Old 10-03-2008, 12:40 AM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Sorry, haven't heard of that problem before. Are you accidentally blocking the PayPal postback with an .htaccess file?
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 10-09-2008, 05:50 PM
benFF benFF is offline
Member
 
Join Date: Oct 2005
Posts: 38
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Default

Nope - and I can call the IPN manually.

Paypal deny everything, but I'm at a loss - I disable Javascript so I can catch the submit form, check it's all there and do the manual submission = fine.

But no callback - nothing in the logs either .... grrr.
Reply With Quote
  #4  
Old 10-10-2008, 01:21 PM
benFF benFF is offline
Member
 
Join Date: Oct 2005
Posts: 38
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Default

Ok putting a debug trap in - it seems that if you call the file on its own (ie not via a forum submit) it picks up the do=ipn

BUT - if you submit a form to the address shop.php?do=ipn then it doesn't pick up the $do variable (as it trips on the if (!$do) bit and sets it to view categories - however I've got it mailing the $REQUEST variables to me and they are all there).

No other changes have been made apart from the upgrade - could it be the new CRSF protection thing in VB?

p.s. I just remembered - it did the same thing on the Manage Orders page. It wasn't accepting the shop.php?do=ordersearch on the form submit, I had to put in the hidden field do = ordersearch.

I guess they're related!
Reply With Quote
  #5  
Old 10-10-2008, 01:57 PM
benFF benFF is offline
Member
 
Join Date: Oct 2005
Posts: 38
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Default

Ok a little bit more - the GPC['do'] is not being set if there is a form posted at the same time.

So narrows it down to :
PHP Code:
$vbulletin->input->clean_array_gpc('r', array(
    
'do'     => TYPE_STR,
    
'c'        => TYPE_UINT,
    
'id'    => TYPE_UINT,
    
'cur'    => TYPE_UINT,
));

$do         $vbulletin->GPC['do']; 
?

($do is blank at that point)
Reply With Quote
  #6  
Old 10-10-2008, 06:09 PM
benFF benFF is offline
Member
 
Join Date: Oct 2005
Posts: 38
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder 
Default

As a stop gap, changed that bottom line to:
PHP Code:
$do            trim($_REQUEST['do']); 
And everything is working now
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is GAZ compatible with vb3.7? fernandose Geek Gazette 1 06-17-2008 06:07 PM
Does GARS2.1.8c work on vB3.6.8 for anyone? JirQUEST Geek Article and Review System 7 12-09-2007 01:33 AM
Upgrading from vb3.03 with articles to current vBgeek BobdeBilder Geek Article and Review System 1 02-15-2007 03:29 PM
GAL 4.7b on vB3.6 The Geek Geek Auto-Linker 4 06-19-2006 04:48 PM
VB3.5.1 Upgrade Jason Lizard Lounge 1 11-07-2005 08:32 PM


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


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.