Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Item number not coming back from PayPal redirect

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Item number not coming back from PayPal redirect

Tagged: return url

  • This topic has 13 replies, 5 voices, and was last updated 9 years, 8 months ago by sonalpandey.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • February 2, 2011 at 2:59 pm #2628
    maxfoundry
    Member

    When a customer completes a sale and is redirected to our thank you page from PayPal, we’ve noticed that the item_number in the querystring is empty. We need the item_number value to properly track product conversions per product, and right now we can’t do that. How do we solve this? Is there a setting that we missed somewhere?

    February 3, 2011 at 3:47 am #28651
    amin007
    Participant

    Are you using plain PayPal button or WP eStore for the payment button? Are you using PayPal’s PDT feature?

    February 3, 2011 at 1:04 pm #28652
    maxfoundry
    Member

    We are using the WP eStore payment button and the PayPal PDT feature.

    February 4, 2011 at 2:04 am #28653
    amin007
    Participant

    With PDT PayPal won’t transfer all the payment data when you get redirected. They will send you a transaction key (in the “tx” variable) which you will have to send to PayPal and then PayPal will give you all the data for that payment. Please read up on how to retrieve Payment data from PayPal when used with PDT and you should see some code examples of what to do.

    February 4, 2011 at 2:36 am #28654
    maxfoundry
    Member

    Do you have a link where I can find that information?

    February 4, 2011 at 2:50 am #28655
    amin007
    Participant

    This link has examples for ASP, PERL, PHP etc languages (scroll down to the bottom for the PHP example):

    https://www.paypal.com/us/cgi-bin/webscr?cmd=p/pdn/pdt-codesamples-pop-outside

    March 26, 2013 at 8:11 pm #28656
    BookBiz
    Spectator

    I’m also having this problem. There is no item_number and it’s causing problems with the return URL … 403 Forbidden

    I have the same setup described above – WP eStore payment button and the PayPal PDT feature

    If I add a digit at the end, or simply remove &item_number, it works fine. I will check the URL above. Is this a common conflict for people using Paypal and Paypal Pmt Pro?

    March 27, 2013 at 12:18 am #28657
    admin
    Keymaster

    No it is not common (you shouldn’t have this issue). What version of the eStore plugin are you using? What version of WordPress are you using? Please post a link to the page where you have an eStore product.

    October 1, 2015 at 12:00 am #28658
    sonalpandey
    Member

    Hi guys, item_number is coming up blank in my case too. This is the URL that’s returned after Paypal payment: [http://mywebsitexyz.com/purchase-thanks/?tx=314672043K635625J&st=Completed&amt=6.95&cc=USD&cm=ip=125.239.74.249&item_number=]

    I’m using WordPress 4.3.1 and eStore 7.2.5.

    This is my checkout page in case it helps: [http://bit.ly/1FJ6wDe]

    Thank you!

    Sonal

    October 1, 2015 at 12:42 am #28659
    admin
    Keymaster

    Thats fine. Sometimes PayPal doesn’t send the item number in the PDT. It shouldn’t matter. The plugin can still do everything it needs to do. Are you seeing any issue where the plugin is not doing a certain functionality? If there is then what functionality of the plugin is not working?

    October 1, 2015 at 1:00 am #28660
    sonalpandey
    Member

    Hi, thanks for your reply. I need to use item_number to identify which product was purchased. This is needed for Google Analytics goals. Each of my products is priced differently, so calculating total revenue requires me to assign a monetary value to each goal in Google Analytics.

    I just want to take a moment to tell you that you kick butt! I’ve been a user of your free shopping cart plugin for years and I recently purchased the eStore and couldn’t be happier! I should have done this switch 4 years ago.

    October 1, 2015 at 4:20 pm #28661
    sonalpandey
    Member

    Praise came too soon.. :) Hello sir? Boss?

    October 1, 2015 at 11:09 pm #28662
    admin
    Keymaster

    So you are doing some kind of a custom integration? PayPal doesn’t send the item number in the URL of the thank you page all the time. This is a PayPal thing. It can’t be controlled by our plugin. Have you contacted PayPal and asked them why the thank you page URL (after the redirection from PayPal) doesn’t have the item number?

    On a side note, we have a google analytics integration addon. Not sure if that will help you:

    https://www.tipsandtricks-hq.com/ecommerce/google-analytics-e-commerce-tracking-addon-for-estore-plugin-3094

    October 2, 2015 at 1:23 pm #28663
    sonalpandey
    Member

    Thanks, that add on worked perfectly!

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ