6 replies [Last post]
enlighten_me's picture
Offline
Joined: 04/25/2008
Juice: 83
Was this information Helpful?

Paypal IPN has no value for item number. Here is a snippet from one of my Paypal IPN messages, slightly modified:

&item_name=1× My Product Name&mc_currency=USD&item_number=&residence_country=GB&receipt_id=3371-3012-4157-3671&handling_amount=0.00&transaction_subject=&payment_gross=1.99&shipping=0.00

This creates a problem because Shipwire is looking for the model number to process the order.

However, the code in uc_papal.module looks like item_number is being assigned correctly:

      $data['item_name_'. $i] = $item->title;
      $data['item_number_'. $i] = $item->model;
      $data['quantity_'. $i] = $item->qty;

I'm not using the Ubercart Shipwire module because I prefer a flat rate shipping charge.

If this is not a bug and just an isolated incident, then I apologize in advance. (running Ubercart 2.0)

Infosemantics's picture
Offline
Joined: 08/04/2010
Juice: 39
What version of Paypal payments are you using?

I'm also having problems with PayPal not sending back information. In my case it doesn't seem to be sending any Transaction ID, which means UberCart is not updating the payment status and other conditional actions aren't triggering. I'm using Website Payments Standard at the moment (because it's free) but I've been wondering if things would improve if I bit the bullet, paid the monthly fee and moved to Website Payments Pro. So which one are you using. Standard or Pro?

enlighten_me's picture
Offline
Joined: 04/25/2008
Juice: 83
Re: What version of Paypal payments are you using?

I'm using Website Payments Pro.

I think in the meantime I'll have to write a workaround by modifying an existing Paypal IPN script and redirecting modified data to Shipwire.

Infosemantics's picture
Offline
Joined: 08/04/2010
Juice: 39
Paypal Item Number

I just looked at my logs and found an IPN from Paypal. There seems to be a field for item_number but it seems to append a number on the end, possibly related to the number of the item in the list.

For example, this IPN array has:
[item_number1] => wdgt_event_handler_01

This is showing the SKU I set up in UberCart as the item number.

Is it possible your issue is related to the way you've set up SKU's?

enlighten_me's picture
Offline
Joined: 04/25/2008
Juice: 83
Re: Paypal Item Number

I just put a unique SKU as required by Ubercart.

I'm actually not seeing the item_number for two websites I have - one Ubercart 2.0, one is Ubercart 1.0 - in the Paypal IPN History logs.

Which logs are you looking at?

Infosemantics's picture
Offline
Joined: 08/04/2010
Juice: 39
Log files

I was just looking under Administer > Reports > Recent Log Entries and filtering to see only anything with uc_ in front of it.

Where are you able to view the Paypal IPN History logs? Is this available within UberCart or somewhere on your Paypal website? I'd be very interested to know.

enlighten_me's picture
Offline
Joined: 04/25/2008
Juice: 83
Re: Log files

I believe Paypal IPN History is in Paypal->Profile. You have to enable it and then you can view the history.