Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – paypal redirect and email failure (cannot open file – Error code 1)
- This topic has 7 replies, 3 voices, and was last updated 11 years, 3 months ago by admin.
-
AuthorPosts
-
August 5, 2013 at 1:51 am #9429JSmegaphoneMember
I’m setting up my shop for the first time. I have a test file and have purchased it (several times…) to test my functionality. While both my buyer and seller email accounts receive a payment confirmation from PayPal, that is all.
The “redirecting to merchant” page ultimately ends in the following error: Error! Message: Cannot open /var/www/html/jo/joycesully.com/shop/lightning/pdfwithcover.pdf ! Error Code: 1. It is supposed to send them to my Thank You page, which includes the short code for immediate download links, but it never gets there.
The email that is supposed to go out to the buyer does not appear (not lost in spam either). I have run the WP email testing plugin and confirmed that my WP setup works for email. Nor do I receive the notification of sale email in my seller account. Money changes hands (including the refunds I keep issuing to myself) but as far as the plugin is concerned, no one bought anything.
I have verified (repeatedly) that PDT, auto redirect, and IPN are all correct and turned on. I have followed all the steps outlined in the eStore documentation pages and I have checked my settings after consulting other forum threads, all to no avail.
Purchase attempts generate the following debug report:
[08/05/2013 1:26 AM] – SUCCESS :Paypal Class Initiated by 173.0.81.1 eStore Version: 6.9.8.7
[08/05/2013 1:26 AM] – SUCCESS :Post string : [redacted]
[08/05/2013 1:26 AM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[08/05/2013 1:26 AM] – SUCCESS :IPN successfully verified.
[08/05/2013 1:26 AM] – SUCCESS :Creating product Information to send.
[08/05/2013 1:26 AM] – SUCCESS :Transaction Type: Shopping Cart
[08/05/2013 1:26 AM] – SUCCESS :Number of Cart Items: 1
[08/05/2013 1:26 AM] – SUCCESS :Item Number: 1
[08/05/2013 1:26 AM] – SUCCESS :Item Name: Test PDF
[08/05/2013 1:26 AM] – SUCCESS :Item Quantity: 1
[08/05/2013 1:26 AM] – SUCCESS :Item Price: 0.01
[08/05/2013 1:26 AM] – SUCCESS :Item Shipping: 0.00
[08/05/2013 1:26 AM] – SUCCESS :Item Currency: USD
[08/05/2013 1:26 AM] – SUCCESS :Value of the reference text field for this product:
That’s as far as it gets. Please help?
August 5, 2013 at 3:14 am #56943PeterMemberHi, Have you double-checked that the “Return URL” field in eStore settings has the correct value, ie, the URL of your “Thank You” page?
Also, if possible can you please provide a link to the page with the buy now or add to cart button so we can take a quick look?
I know you mentioned that you’ve followed the documentation but I am including a link here for the “Instant Digital Product Delivery on A Thank You Page” feature just in case
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-instant-digital-product-delivery-499
August 5, 2013 at 5:28 am #56944JSmegaphoneMemberI double-checked the Return URL and didn’t have any better luck. And yeah, I’ve been through the Thank You page tutorial several times. PayPal probably thinks I’m kind of neurotic about checking my account settings, considering how many times I’ve gone back and made absolutely sure they match what the tutorial says.
The shop page is: [http://www.joycesully.com/shop/]
The cart/checkout page is: [http://www.joycesully.com/checkout/]
Thank you for your assistance.
August 5, 2013 at 6:09 am #56945PeterMemberI have looked at your site and noticed that you have a javascript error which I think is causing your problem on the thank you page.
The javascript error as shown in firebug is:
Uncaught Error: Syntax error, unrecognized expression: {selector}
My guess is that another plug is probably causing this. To find out which one please do the plugin/theme conflict tests as shown here:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
August 5, 2013 at 5:49 pm #56946JSmegaphoneMemberI used the theme checker (after updating to the latest WP theme) and got an all-clear from it. I then turned off all my extraneous plugins (leaving WordPress SEO, eStore, PDF Stamper, and WP Super Cache on) and attempted the purchase again. On the buyer end, I’m still receiving this error in place of the Thank You page:
Error! Message: Cannot open /var/www/html/jo/joycesully.com/shop/lightning/pdfwithcover.pdf ! Error Code: 1
In eStore, the debug file shows this:
[08/05/2013 5:32 PM] – SUCCESS :Paypal Class Initiated by 173.0.81.1 eStore Version: 6.9.8.7
[08/05/2013 5:32 PM] – SUCCESS :Post string : [redacted]
[08/05/2013 5:32 PM] – SUCCESS :Connection to http://www.paypal.com successfuly completed.
[08/05/2013 5:32 PM] – SUCCESS :IPN successfully verified.
[08/05/2013 5:32 PM] – SUCCESS :Creating product Information to send.
[08/05/2013 5:32 PM] – SUCCESS :Transaction Type: Shopping Cart
[08/05/2013 5:32 PM] – SUCCESS :Number of Cart Items: 1
[08/05/2013 5:32 PM] – SUCCESS :Item Number: 1
[08/05/2013 5:32 PM] – SUCCESS :Item Name: Test PDF
[08/05/2013 5:32 PM] – SUCCESS :Item Quantity: 1
[08/05/2013 5:32 PM] – SUCCESS :Item Price: 0.01
[08/05/2013 5:32 PM] – SUCCESS :Item Shipping: 0.00
[08/05/2013 5:32 PM] – SUCCESS :Item Currency: USD
[08/05/2013 5:32 PM] – SUCCESS :Value of the reference text field for this product:
Also, is it possible there is any kind of setting I need to activate or change within my host itself? I ask because I ran into that issue previously and discovered there was an easy option to switch things on in my host. (This was turning IonCube on for the PDF stamper.)
My host is Tiger Technologies and I know for sure that at least one other person is using the combination of TigerTech and eStore for their shop, because they are the one who recommended both services. So surely it isn’t impossible, but perhaps there is something I need to do there?
August 5, 2013 at 11:46 pm #56947adminKeymasterLooks like the PDF file URL that you specified in the product configuration is not accessible. Can you please copy and paste the full URL of the PDF file here so I can check it in the browser and make sure it is accessible? (I will remove the URL after I check it)
August 6, 2013 at 1:46 am #56948JSmegaphoneMemberOh, my life… Yes, that was it. I had created a conflict when I was first setting up by having both the shop page and the folder for storing products called “shop.” When I figured out the conflict, I changed the name of the product folder aaaaand promptly forgot to change the product URL inside eStore.
I ran my tests again with the plugins turned off and with them turned back on again. Everything went through correctly: payment, Thank You page, all confirmation emails, and download links. Problem completely solved. I’m not sure whether to be pleased or embarrassed that it was such a simple fix.
Thank you very much for the help! (Let me just say that this is some of the most efficient technical support I’ve ever dealt with. Your response times are wonderful. I’m very glad I went with your company for my shop.)
August 6, 2013 at 5:07 am #56949adminKeymasterGlad to hear that
-
AuthorPosts
- You must be logged in to reply to this topic.