Forums / Built-in Shipping and Payment Modules / PayPal Product Name on Receipt

PayPal Product Name on Receipt

Locked

Views: 3,744

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
19 Sep 2006, 12:52 AM
#1
greatws avatar

greatws

New Zenner

Join Date:
Sep 2006
Posts:
2
Plugin Contributions:
0

PayPal Product Name on Receipt

I have ZenCart installed using the PayPal module. Everything works as expected :smartass: and I can access payments from PayPal.

The only problem I have is that on the receipt that PayPal issues, under product name it has: MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE instead of the actual product name. The receipt looks like:


Payment Details

Transaction ID: xxxxxxxxxxx
Item Price: $xx.xx USD
Total: $xx.xx USD
Item/Product Name: MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE
Item/Product Number: 1

(The xx are filled in with the correct values).

I cannot find that variable anywhere in the code base ... anyone know how to help?

Many Thanks,

Dennis

19 Sep 2006, 12:54 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: PayPal Product Name on Receipt

It's defined in the paypal language file, and is a new item since v1.3.5. Perhaps you missed it during your upgrade.

/includes/languages/english/modules/payment/paypal.php

.
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.

19 Sep 2006, 1:06 AM
#3
greatws avatar

greatws

New Zenner

Join Date:
Sep 2006
Posts:
2
Plugin Contributions:
0

Re: PayPal Product Name on Receipt

Yup -- that was it. Also explains why I couldn't find it -- you can't find what isn't there!!

Thanks for the quick reply!!!

Dennis

3 Nov 2006, 2:42 PM
#4
creativewitch avatar

creativewitch

New Zenner

Join Date:
Nov 2004
Posts:
43
Plugin Contributions:
0

Re: PayPal Product Name on Receipt

I haven't upgraded to 1.3.6 yet. Here's my related problem - up until today, my receipts were showing the correct product name. Then, for some reason today it decided to show the MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE text. The only things that I have done were to add credit card logos to the page 2 payment page and change the name of the payment options so instead of just Paypal it says "Paypal or Credit Cards (Credit cards processed through Paypal)". I also edited the admin/configuration/credit cards thing to show credit card logos in checkout.

How do I fix this?

3 Nov 2006, 4:46 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: PayPal Product Name on Receipt

in v1.3.5, the description sent to PayPal was changed to add the word " Purchase" to the store name.

You're missing this line:

  define('MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE', STORE_NAME . ' Purchase');

in:
/includes/languages/english/modules/payment/paypal.php

.
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.

3 Nov 2006, 5:09 PM
#6
creativewitch avatar

creativewitch

New Zenner

Join Date:
Nov 2004
Posts:
43
Plugin Contributions:
0

Re: PayPal Product Name on Receipt

Thanks DrByte! What would have caused the line to disappear? Prior to just this morning everything was sweet. Go figure.

So, where do I insert the line of code?

THX!

3 Nov 2006, 5:40 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: PayPal Product Name on Receipt

CreativeWitch:

So, where do I insert the line of code?
/includes/languages/english/modules/payment/paypal.php

.
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.

14 Nov 2006, 10:58 PM
#8
slash74 avatar

slash74

New Zenner

Join Date:
Jul 2006
Posts:
29
Plugin Contributions:
0

Re: PayPal Product Name on Receipt

The following displayed when paying via paypal below:

Payment For Quantity Price
Direct Fragrances Purchase
Item Number1 1 $69.95 AUD
Subtotal: $69.95 AUD
Postage & Packing: $0.00 AUD

                                                                Total Amount: $69.95 AUD 

Is there a way the description of the product can be displayed, plus postage and handling broken down into paypal. Please Note: Total amount correct, postage and handling included in the total amount. Zc doesn't transfer the P&H into paypal correctly.

11 Dec 2006, 2:40 PM
#9
one1niceguy avatar

one1niceguy

New Zenner

Join Date:
Dec 2006
Posts:
7
Plugin Contributions:
0

Re: PayPal Product Name on Receipt

Can anyone confirm that the Item/Product Name description still does not show the actual item description in the paypal email receipt? In this thread it almost appears as if the actual name of item should be showing instead of the "store name Purchase". I am getting the following using 1.3.6.

Item/Product Name: outdoorsinteriors Purchase
Item/Product Number: 1

Thank You

11 Dec 2006, 3:14 PM
#10
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: PayPal Product Name on Receipt

what you are getting is correct.

Zen Cart doesn't pass the items details.

nor does it pass an order number other that 1 because the order has not been created yet.

what you are seeing is correct.

Zen cart PCI compliant Hosting

7 Jul 2007, 7:29 PM
#11
jakedownhere avatar

jakedownhere

New Zenner

Join Date:
Aug 2006
Posts:
38
Plugin Contributions:
0

Re: PayPal Product Name on Receipt

I'm getting a similar problem on SOME PayPal payments.

On this transaction:

Total Amount: $40.66 USD
Currency: U.S. Dollars
Transaction ID: xxxx
Quantity: 1
Item/Product Name: MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE
Item/Product Number: 1
Buyer: xxx
Phone: xxx

But on other transactions, it works fine.

I've discoved that IF the buyer has a PayPal account already, the paypal receipt shows up with each item they bought listed. If they don't have an account and are just paying through PayPal, then it shows up like above.

Also, some orders in ZC have an "order refunds" section when you edit the order and others do not have this section.

I did look in the paypal.php module and the line was not entered. I've added it but will it show up now just as 'Purchase' instead of the items being purchased?

Any ideas?

Thanks,

Jake