Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / PayPal Express Checkout support / my customers are getting blank item descriptions in their paypal post sale receipts

my customers are getting blank item descriptions in their paypal post sale receipts

Locked
This thread is locked. New replies are disabled.
4 Mar 2010, 3:53 AM
#1
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Post #1 by dharma

I have the same issue, not sure if I'm Hijacking here (Kim -Please move if I am)

I have had PE for 2 years now and am seeing this on an off over the last few months. Not sure what causes the item descriptions to drop out. I now average about 50% with and 50% without item descriptions. These happen on the same day, with no common customer thread, USA, or Foreign addresses etc. I have not changed any settings.

As a test I issued placed an order and refunded myself. As a customer I received 2 HTML emails from paypal (see photos below) the purchase receipt with a blank item description: the unit price was the order total (product and shipping). The second (refund) email receipt filled in the Description with "Purchase from STORE NAME". As a vendor I received my usual plain text email with the missing description line : ```php

Purchase Details

Description:
Unit price: $27.72 USD
Qty: 1
Amount: $27.72 USD

Subtotal: $27.72 USD
Total: $27.72 USD

Payment: $27.72 USD


Due to the refund description field being populated by paypal, I'm guessing this is paypal bug, not zen-cart?

 since the customer receives the Zen cart email, with the item descriptions and 50% of the time they get paypal item description emails, its not such a big deal, but it would be nice if all pistons were firing, big blank spaces in financial data give me the willies.:unsure:

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

4 Mar 2010, 5:01 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

"Purchase from xxxxx(storename)xxxxx" will be used instead of the actual details in cases where discounts of any sort are applied to the purchase.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Mar 2010, 5:09 AM
#3
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Post #3 by dharma

Hi Dr, Byte! Thanks for your quick post!

I have no discounts at my store of any kind. The "Purchase from xxxxx(storename)xxxxx"" was only in the customer HTML refund email.

I am going through the log files now, and see if I can find anything that might help pinpoint this issue and will follow up in my next post.

Thanks again for your help.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

4 Mar 2010, 5:49 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

And why do you think it should list everything in the order when you're issuing a partial refund which may or may not apply to all items in the original order?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Mar 2010, 6:07 AM
#5
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Post #5 by dharma

Hi sorry if my post wasn't clear. The issue is that 50% of my customers are getting blank item descriptions in their paypal post sale receipts, and their(and ours) paypal.com transaction histories/Details .

I posted the refund for reference as it showed that paypal was populating that field in another instance. I agree, I think its unnecessary to list all the items in a partial refund etc. In fact I like "Purchase from xxxxx(storename)xxxxx" "

the former issue is my cause for concern.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

4 Mar 2010, 6:16 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

And this is with the Express Checkout option?

Turn on the Debug Logging option: http://www.zen-cart.com/forum/showthread.php?t=61199
And post the logs generated from your next 3 good and next 3 bad transactions. If you want to zip them, upload the zip to your server, and PM me with the URL, for privacy, that's fine.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Mar 2010, 6:28 AM
#7
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Post #7 by dharma

And this is with the Express Checkout option?

Yes.

I have enabled the logging option and will send you/post my findings. In addition I will do some testing to see if I can figure out what triggers the description (product names and product models ) to get dropped on some orders.

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

4 Mar 2010, 6:43 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #8 by drbyte

The log filenames which contain "PayPal CURL xxxxxx" should be the most useful in determining what information has been submitted. The other log files may explain "why" certain sections of the details are excluded.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Mar 2010, 11:47 PM
#9
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Post #9 by dharma

Update!

I did some testing and found this in my Paypal_Action_EC-XXXXXXXXX log file:

getLineItemDetails 3
LineItemDetails: 
Credits apply to this order, so all line-item details are NOT being submitted. Thus, the following data is REDUNDANT
Details:Array
(
    [ITEMAMT] => XXXXX
    [HANDLINGAMT] => XXXX
    [SHIPPINGAMT] => XXXXX
    [AMT] => XXXX
    [TAXAMT] => 0
    [L_NUMBER0] => XXXXX
    [L_QTY0] => 1
    [L_NAME0] => XXXXXXX
    [L_AMT0] => XXXXX
    [L_TAXAMT0] => 0
)

I have no discounts set on my store, but I do have an optional insurance add on which adds a small fee to the order total.

More testing revealed it is this add on that is triggering the item description stripping(Customers who choose the optional insurance).

Sorry, Dr. Byte I should of done more testing before posting...(mod related):oops: but I don't think I would found the issue so quickly without you.

Thanks again for your help!:clap:

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

4 Jun 2010, 12:40 AM
#10
idle avatar

idle

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Post #10 by idle

I have the exact same problem with Optional Insurance Add-On installed as well, but my customers are not choosing the optional insurance and it is still showing a blank description in the emails. Any other ideas? I am going to leave the debug overnight, hopefully somebody can help >.<