osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

PayPal IPN E-mail order total

This is a discussion on PayPal IPN E-mail order total within the Paypal forums, part of the Payment Modules category; Ok I spent the entire day repairing my store after the PHP 5.0 server upgrade and have almost everyting ...


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 Thread Tools
  #1  
Old 11-14-2007, 05:15 PM
Lurker
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kmcmurtry
Question PayPal IPN E-mail order total

Ok I spent the entire day repairing my store after the PHP 5.0 server upgrade and have almost everyting working again. I'm finished tearing my hair out over the one important issue I'm still having. I had to install paypal_ipn.php,v 1.3.0.0 2006/06/22 after having the line 521 issue with the IPN included with RC3. Everything works great with the exception of the e-mail the IPN sends. If a coupon is applied to the order the total is right at PayPal, the shop Admin, and the customer order history. However the e-mail sent to the customer shows the price of the item without the coupon. I have several customers that will scream about this without looking at the receipt or history. Any help would be truly appreciated. I'm sure I'm missing some little line in the IPN file that sends the message, but sure can't find it. Also the order total is correct in the e-mail sent by all other modules.

Thanks!!
Kim
KMD-EmbShop : Welcome to K McMurtry Design Embroidery Shop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 11-16-2007, 09:13 AM
MindTwist's Avatar
Active Member
 
Join Date: Jun 2007
Location: Barcelona, Spain
Posts: 255
Thanks: 7
Thanked 21 Times in 20 Posts
Rep Power: 3
MindTwist will become famous soon enoughMindTwist will become famous soon enough
Default Re: PayPal IPN E-mail order total

When an order is paid with paypal_ipn, the email is sent from /includes/modules/payment/paypal_ipn.php.

You should check it out and compare it with /checkout_process.php which is from where the order emails are usually sent. Since you have upgraded the paypal_ipn module the emails it is sending will be the default OSC emails, which of course will not have any code to add discounts/coupons or anything else like that.

It shouldn't be too hard comparing with how /checkout_process.php send the email.
__________________
MindTwist of Twisted Reality and Twisted Tienda
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 11-16-2007, 02:36 PM
Lurker
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kmcmurtry
Default Re: PayPal IPN E-mail order total

Thanks for the suggestion, unfortunately I have looked over the e-mail section of both files and they are the same. I know the IPN file sends the message and that is where my problem is. Upon closer inspection of the e-mails, I did discover something. The PayPal message only contains the product description and price. The other modules contain the order total right below that, but the PayPal messages do not. The code in the IPN file shows that line should be there. I'm not using the standard OSC module, I'm using the one provided by Mushroom to solve the Line 521 error. Any suggestions or help would so be appreciated.

Thanks!
Kim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
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

Similar Threads

Thread Thread Starter Forum Replies Last Post
Order Totals: Total $ and Total Sales Count michael_s New osCommerce Contributions 0 04-18-2007 09:30 AM
Order Totals: Total $ and Total Sales Count michael_s New osCommerce Contributions 0 04-17-2007 05:54 PM
Order Totals: Total $ and Total Sales Count michael_s New osCommerce Contributions 0 04-17-2007 11:15 AM
Order Total module cupido osCMax v1.7 Discussion 2 11-05-2004 08:20 PM
Order Total Problem erikpiazza osCMax v1.7 General Mods Discussion 0 07-28-2004 03:22 PM


All times are GMT -8. The time now is 12:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax