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
Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details
This cutover relies on some testing that is still incomplete so may be cancelled at short notice
Started by pauls on 26 Sep 2006, 10:22 AM · Views: 4,494
Zen Follower
I see the following in the description at the paypal site and ideas ?
MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE
Zen Follower
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?
Zen Follower
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 ?
Oba-san
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.phpLine #188 : zen_draw_hidden_field('item_name', MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE ) .
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Zen Follower
Only found it here /var/www/html/includes/modules/payment/paypal.php Linda
Zen Follower
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.
Obaa-san
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.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Zen Follower
The zen cart shouldn't put the detail in here?

Sensei
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.
.
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.
Zen Follower
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 ?

Sensei
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.
.
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.
Zen Follower
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'
Sensei
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").
.
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.
Zen Follower
Yep, brilliant, thanks very much that was the problem there was an over-ride file :smile:
Tell staff why this post should be reviewed.