osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Other Paypal Issues

This is a discussion on Other Paypal Issues within the Paypal forums, part of the Payment Modules category; Hi Typhus, As long as your order number is being passed you are OK in that respect. No worries there. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion > Payment Modules > Paypal

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack (1) Thread Tools
  #41  
Old 01-08-2008, 03:03 PM
New Member
 
Join Date: Mar 2005
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
techmatters
Default Re: Other Paypal Issues

Hi Typhus,

As long as your order number is being passed you are OK in that respect. No worries there.
Your server time is not a relevant factor.
From the order status you've shown it tells me the customer has returned to your website at 19:35 (i.e. they've reached the "thankyou for your order" page) and the customer notification email has been sent to them at that point, but the status has not changed on the order because the IPN has not "connected" with you and made the update.

It might be helpful for you to look at the official Paypal IPN contribution at oscommerce, and check through their latest recommendations. osCommerce: osCommerce PayPal IPN Module v1.0 For 2.2MS2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #42  
Old 01-18-2008, 09:55 AM
typhus's Avatar
osCMax Testing Team
 
Join Date: Aug 2005
Location: Midlands, UK
Posts: 28
Thanks: 15
Thanked 5 Times in 3 Posts
Rep Power: 0
typhus is on a distinguished road
Default Re: Other Paypal Issues

Quick update...

The store went live today. I changed the paypal settings over to the live server and when I made my first test purchase the status of the order DID update (hooray).

So I guess it was a problem with the sandbox server and not my site. To recap for everyone I made the changes mentioned at the start of this thread (comment & uncomment) and then replaced my original file with Mushroom's version. This has fixed everything paypal related, so I hope others have the same fortune as me.

Thanks again to those who helped, J.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43  
Old 04-06-2008, 03:21 PM
Lurker
 
Join Date: Mar 2008
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
divani is on a distinguished road
Default Re: Other Paypal Issues

PayPal IPN module is not working for me. I've just spent 2 days trying to get it to work!

This is what I have installed:
1. OSCMax RC3
2. Points & Rewards module
3. FAQ System
4. Advanced AJAX pop-up Image module

To fix IPN problems I
1. Did the comment/uncomment line 53/69 catalog/checkout_process.php
2. Downloaded Mushroom's moded file.
3. Merged changes from Points & Rewards modules.
4. Merged Bug Fix 157 (it wasn't there in Mushroom's moded file)

This is what I have setup at PayPal's side:
1. Auto Return not enabled
2. IPN not enabled
3. Secure Payments not enabled

This is what I have setup in PayPal mod configuration
1. Server: Live
2. Transaction Type: Aggregate
3. No Encrypted Payments
4. Working Directory: NONE SETUP (I don't know if this matters)

This is what works:
1. User chooses to pay using part GV and part PayPal and confirms. Hidden Invoice # is noted via View Source.
2. User is shown PayPal login page - the amount shown is correct (after changing the "Transaction Type" to Aggregate)
3. User logs in and pays. {Receives email confirmation from PayPal with correct Invoice/Order # - same as noted in step 1 above.}
4. User clicks on "Returns to Merchant" button.

This is what doesn't work:
(..contd from above)
5. User is taken to the Payment Information page.
6. The Shopping Cart still contains the products that were just purchased.
7. The GV balance doesn't reflect the amount utilized towards the recent purchase.

8. When user checks the Orders History, the recent purchase shows up with the right products and Invoice # etc.

I am attaching my catalog/includes/modules/payment/paypal_ipn.php

The website is Divani Chocolate Boutique-Chocolate Bark,Truffle,Chocolate Pretzel.

Any help will be gratefully accepted. Thanks in advance.

Vab
Attached Files
File Type: zip paypal_ipn.zip (8.5 KB, 4 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #44  
Old 10-01-2008, 07:38 AM
Lurker
 
Join Date: May 2007
Posts: 3
Thanks: 6
Thanked 0 Times in 0 Posts
Rep Power: 0
Growler is on a distinguished road
Default Re: Other Paypal Issues

Hi,

I've spent a lot of time on this, so I thought I'd summarise what I found in case it helps someone...

Mushroom's replacement paypal_ipn.php works, but it doesn't include Bugfix 157, so the Gift Voucher Balance doesn't reduce after the customer returns from PayPal.

When I added Bugfix 157 I ended up with a "Fatal error: Call to a member function on a non-object..." in relation to $order_total_modules->apply_credit(). This was on line 545 of my Mushroom file that had been modded for Bugfix 157, but is effectively the line 521 error that is mentioned elsewhere in the forums.

I think the problem is with Bugfix 157. It added the $order_total_modules global in the "before_process()" function but fails to declare it within the function.

At around line 448 I added $order_total_modules to the global declaration:

Original:
global $customer_id, $order, $sendto, $billto, $payment, $languages_id, $currencies, $cart, $cart_PayPal_IPN_ID;

Replace with:
global $customer_id, $order, $sendto, $billto, $payment, $languages_id, $currencies, $cart, $cart_PayPal_IPN_ID, $order_total_modules;//mg - added $order_total_modules as fix for Bugfix 157

This seems to fix the problem...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.oscmax.com/forums/paypal/5240-other-paypal-issues.html

Posted By For Type Date
145: PayPal IPN produces creates two orders - Bug Tracker - open source Commerce Maximized :: osCMax This thread Refback 02-28-2007 02:15 PM

Similar Threads

Thread Thread Starter Forum Replies Last Post
PayPal IPN Issues usedcpus osCMax v2 Features Discussion 8 07-25-2006 05:55 AM
Help on 2 issues Please DBComics osCMax v1.7 Installation 1 04-10-2006 08:04 PM
FckEditor Issues netfrugal osCMax v1.7 Discussion 1 02-14-2006 01:08 AM
2CO Issues auntie22 osCMax v1.7 Discussion 0 05-28-2004 12:51 PM
linking issues Dumb_Question osCMax v1.7 Discussion 0 12-28-2003 07:28 PM


All times are GMT -8. The time now is 06:23 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax