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, 1 month ago by sonalpandey.
-
AuthorPosts
-
February 2, 2011 at 2:59 pm #2628maxfoundryMember
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 #28651amin007ParticipantAre 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 #28652maxfoundryMemberWe are using the WP eStore payment button and the PayPal PDT feature.
February 4, 2011 at 2:04 am #28653amin007ParticipantWith 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 #28654maxfoundryMemberDo you have a link where I can find that information?
February 4, 2011 at 2:50 am #28655amin007ParticipantThis 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 #28656BookBizSpectatorI’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 #28657adminKeymasterNo 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 #28658sonalpandeyMemberHi 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 #28659adminKeymasterThats 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 #28660sonalpandeyMemberHi, 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 #28661sonalpandeyMemberPraise came too soon.. Hello sir? Boss?
October 1, 2015 at 11:09 pm #28662adminKeymasterSo 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:
October 2, 2015 at 1:23 pm #28663sonalpandeyMemberThanks, that add on worked perfectly!
-
AuthorPosts
- You must be logged in to reply to this topic.