Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Following PayPal error after upgrade to 1.3.5

Following PayPal error after upgrade to 1.3.5

Locked

Views: 4,455

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
26 Sep 2006, 10:22 AM
#1
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Following PayPal error after upgrade to 1.3.5

I see the following in the description at the paypal site and ideas ?
MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE

26 Sep 2006, 12:58 PM
#2
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

To be clear, I should see the description of the item purchased, this should be passed to PayPal, but the description is not being passed to paypal, instead the constant MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE is placed in instead ... any help?

26 Sep 2006, 1:08 PM
#3
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

Ok had a look in the paypal.php and found what looks like a typo error?

zen_draw_hidden_field('item_name', MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE)

So I added an S to the word DECRIPTION and made it DESCRIPTION and uploaded but it didn't fix it ... I am still looking any help greatly appreciated, or am I the only one seeing this problem ?

26 Sep 2006, 1:11 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Following PayPal error after upgrade to 1.3.5

Using the Tools ... Developer's Tool Kit ...

Do a search in the bottom input box for:
MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE

You should see it in two files:

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

Line #46 : define('MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE', STORE_NAME . ' Purchase');
/zencart_v135/includes/modules/payment/paypal.php

Line #188 : zen_draw_hidden_field('item_name', MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE ) .

26 Sep 2006, 1:14 PM
#5
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

Only found it here /var/www/html/includes/modules/payment/paypal.php Linda

26 Sep 2006, 1:30 PM
#6
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

I have now made sure that both files exist in the appropriate places, however I still get the same error as before. A tad disconcerting that the files weren't already in place I have to admit .. I have also uninstalled and re-installed the module, then tried an order, but still get the aforementioned error. It appears to work ok, but just not giving the detail of the item.

26 Sep 2006, 3:06 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

but just not giving the detail of the item.

Unless you have made modifications, the stock PayPal Module does not pass the item details. They are contained in the Order Confirmation email that is sent from the shop.

26 Sep 2006, 5:02 PM
#8
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

The zen cart shouldn't put the detail in here?

26 Sep 2006, 5:06 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Following PayPal error after upgrade to 1.3.5

Zen Cart sends the cart "total" to PayPal for payment.

All the line-item details are stored in Zen Cart, and are visible to the customer in their My Account area, and on the order-confirmation email. The Administrator can see all the order details in the Admin section, along with all other orders.

26 Sep 2006, 5:09 PM
#10
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

OK got the image to work, surely the cart should put the products information here, and pass it to PayPal, else how is paypal to know what one is purchasing ?

26 Sep 2006, 5:18 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: Following PayPal error after upgrade to 1.3.5

Perhaps you might go back up and read Ajeh's post.

MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_ TITLE is showing BECAUSE you missed upgrading the paypal language file:> /includes/languages/english/modules/payment/paypal.php

Line #46 : define('MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_ TITLE', STORE_NAME . ' Purchase');

Try fixing that and things will make a bit more sense.

26 Sep 2006, 5:49 PM
#12
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

DrByte:

Perhaps you might go back up and read Ajeh's post.

MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_ TITLE is showing BECAUSE you missed upgrading the paypal language file:

Try fixing that and things will make a bit more sense.

I did read Ajeh's post, perhaps you could read my post where I said 'I have now made sure that both files exist in the appropriate places, however I still get the same error as before. A tad disconcerting that the files weren't already in place I have to admit'

26 Sep 2006, 7:17 PM
#13
drbyte avatar

drbyte

Sensei

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

Re: Following PayPal error after upgrade to 1.3.5

Do you have a custom language file that's overriding the master?

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

If the define for MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_ TITLE isn't in your override file, then you will continue to have the constant-name (those upper-case letters) displayed instead of the defined contents which are supposed to read like "My Store Purchase" (assuming your store is called "My Store").

26 Sep 2006, 7:33 PM
#14
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Following PayPal error after upgrade to 1.3.5

Yep, brilliant, thanks very much that was the problem there was an over-ride file :smile: