I've got my paypal configuration set up correctly as per: http://drupal.org/node/98892. I am procesing transactions correctly. My problem is that the paypal.module is sending my transactions to be processed with the following info:

Item/Product Name:		Test Site order #5 for somebody
Item/Product Number:		txnid_5

How can I get the module to send the correct info (i.e., actual product name and number)?

Thanks.

CommentFileSizeAuthor
#4 ec_paypal_item_name.patch1.05 KBnelson_rp

Comments

spidersilk’s picture

I'm having this same problem - has anyone found a fix for it yet?

No one's going to pay for an order if they can't see what they've ordered...

nelson_rp’s picture

Version: 4.7.x-2.1 » 5.x-3.0

Still relevant for version 3.0.

I'm contemplating making this change. I've done some preliminary testing that:

  1. for a single item check-out, it shows the product node title as the "product name".
  2. for multiple items, it sets the "product name" to a generic: "Cart with X items."

The "product number" is left unchanged to "txnid_Z".

It'll be a few days before I can take the time to post a proper patch, but I wanted to know if this would be of interest to anyone.

jdsaward’s picture

Just today finding the same problem. Yes please, nelson_rp, a patch like you suggest would be welcome.

nelson_rp’s picture

StatusFileSize
new1.05 KB

This patch does what I described above. It is against the 5.x-3.0 tarball version (not CVS). I've decided against using ecommerce for my current project, so I won't be following up on this further. Good luck.

fatjoe’s picture

sounds good man

how do you apply this patch?

fatjoe’s picture

added your patch. figured out it was just find replace.

now on checkout i get this in the payment for box:

Product Name
Item #txnid_2

spidersilk’s picture

Seems to have worked. Though it's not really ideal that people still can't see what they've ordered when it's more than one item, at least it doesn't look completely broken any more, and maybe if I'm lucky the client I'm setting this up for will be OK with it like this...

Though I'm not sure how they're supposed to know when processing an order what people have ordered if it just says "cart with n items". Hopefully they get some kind of more specific notification than that when an order is placed?

Striatum’s picture

any news on this, this is still an issue in 3.3 ?

gordon’s picture

Version: 5.x-3.0 » 5.x-4.x-dev
Status: Active » Fixed

Fixed in v4

Anonymous’s picture

Status: Fixed » Closed (fixed)