Home › Forums › Ticket Products › Event Tickets Plus › Ticket Stock Not Reducing
- This topic has 22 replies, 4 voices, and was last updated 9 years, 5 months ago by
tim.
-
AuthorPosts
-
October 23, 2016 at 1:49 pm #1181683
tim
ParticipantHello i’m experiencing an issue with the tickets for my events not reducing in quantity when a ticket is purchased via the standard Paypal gateway. If I make/use a coupon to make the cost $0 (Bypassing the need for payment it decreases the stock)
Also if I add/enable a Paypal express option, when payment goes through the stock decreases – however for some reason this causes duplicate orders/times out. So not ideal either.
Obviously this must have something to do Paypal communicating with the checkout/ticketing system in some way. However Paypal appears to be set up correctly (even added the API details) So cant quite figure out why this is happening.
I read somewhere Yoast SEO can cause issues so I deactivated it.
October 24, 2016 at 4:33 pm #1182190George
ParticipantHey Tim,
I noticed that your site’s version of Event Tickets Plus is 4.2.6; the most current version is 4.3.1.
Before any other steps can be taken here, please update Event Tickets Plus to 4.3.1. (You can get fresh files any time from here: https://theeventscalendar.com/my-account/downloads/)
Once you do this, do some test purchases with PayPal standard—does anything improve with these issues?
Thanks!
GeorgeOctober 24, 2016 at 11:51 pm #1182316tim
ParticipantHello George, Thank you for the reply. I have updated to 4.3.1 and tested with Paypal Standard and still getting the same issue. I’ve attached screenshots. And also a screenshot of the order on the orders page (to show its completing ok, they are set to complete automatically)
October 24, 2016 at 11:52 pm #1182317tim
ParticipantI have also tried deactivating all plugins and reverting to the default theme, which doesn’t help.
October 25, 2016 at 8:56 am #1182490George
ParticipantThanks for this, Tim!
You say, “I have also tried deactivating all plugins and reverting to the default theme, which doesn’t help.” To be clear, what I would recommend for this process is to first put your site in this state:
• All plugins are deactivated except for only The Events Calendar, Event Tickets, Event Tickets Plus, and WooCommerce.
• A default theme is active.
☝️ Once your site is in this state, then make a test event with some test tickets.
Buy these test tickets: for real, I mean, so that i.e. you’re not using the 100%-off coupon code trick.
In this state, with this event and ticket that are created after putting your site in this “troubleshooting mode”, does anything improve with your issues?
Thank you!
GeorgeOctober 25, 2016 at 9:21 am #1182508tim
ParticipantHello George, no nothing improves when the website is in the “troubleshooting mode” See attached images.
October 25, 2016 at 9:23 am #1182509tim
ParticipantAs you can see on the following screenshot the order completed ok.
October 25, 2016 at 9:23 am #1182514tim
Participant…
October 25, 2016 at 5:50 pm #1182896George
ParticipantHi Tim,
I admit I am a bit baffled by this behavior, and cannot reproduce it myself. I am going to escalate this thread to our development team for some insight. I will post news to this thread as soon as I have it — stay tuned!
Thank you for your patience here!
GeorgeOctober 26, 2016 at 12:15 am #1183049tim
ParticipantThank you!
October 27, 2016 at 7:36 am #1183717George
ParticipantHey Tim,
I wanted to let you know that I have just confirmed the behavior you describe on my own testing site, and thus we have confirmed this is a bug.
This is a significant bug so hopefully we can publish a fix promptly. I do not have a specific ETA for the arrival of a fix, but will keep this thread updated with news of updates!
Sorry for the trouble here, Tim — stay tuned to this thread for news about the bug fix.
And please let me know if there are any other issues or questions I can try to help with in the meantime.
Sincerely,
GeorgeOctober 27, 2016 at 7:59 am #1183738George
ParticipantHey Tim,
Apologies for another updated here, but I actually want to bear the news that we have not confirmed this as a bug. I was testing locally on my own local site and found your problems, but that is actually by design and PayPal does not communicate with local sites like that! So the order won’t complete and stock won’t reduce.
There are a few different things that could be affecting the stock issues you describe: all of them related to the setup of PayPal on your site.
To be certain that things are set up correctly, I urge you read this piece of documentation from WooCommerce about setting up PayPal Standard correctly:
https://docs.woocommerce.com/document/paypal-standard/#section-9
Check out the section starting with “Debugging IPN issues” specifically, and then check each section from that to the bottom of the article. What you are facing is almost certainly an IPN issue, so do all of the things the article walks through after the “Debugging IPN issues” header: check if you’re on a local site, if fsockopen is enabled, if your paypal email address are correct, enable logging, etc.
Please do let us know if any of the steps in that article help with your issues.
Thank you!
GeorgeOctober 27, 2016 at 9:01 am #1183775tim
ParticipantHello George – Thank you for the responses, i appreciate you looking into this and pointing in in the right direction.
I’m not testing Locally, fsockopen is enabled. I have added Paypal API. My hosting doesn’t have a firewall option. I’e enabled logging. I’ve added the Paypal notification URL.
It just frustrating, as the order does complete and the payment comes through (which would imply some level of communication between Paypal and the website). Its almost as if its just missing a step.
The only step I am unable to do/try on the list you linked to is set up a Payment Data Transfer (PDT) and get the identity token. As to do this you need to set up “auto return” and as the Paypal address used also takes payments from another website. So obviously cant return these orders to an incorrect website.
I cant think how to progress this further and am tempted to look into the other payment gateways your plugin supports to see if I have any better results.
Thanks again.
October 27, 2016 at 10:48 am #1183935George
ParticipantHey Tim,
In your reply above you say, “I have added Paypal API.”
1. Can you clarify specifically what you mean by this?
Next, you say you’ve enabled logging:
2. Can you do another test purchase and, if the stock does not update, can you share the PayPal logs? You may be able to find these from PayPal but WooCommerce itself also provides debugging — it will show you where the files for the logs can be found.
3. Can you also share a screenshot of the “Order notes” of the WooCommerce order itself? It’s the same as you did above with this screenshot that you previously shared.
Thanks for your patience here, Tim.
Sincerely,
GeorgeOctober 27, 2016 at 11:47 am #1183962tim
ParticipantThanks again for getting in touch. I’ve set up woocommerce on a different server I have access to, with the same paypal settings and it works. So im now thinking it is the host/server settings. I’m going to get in touch with the host and see what they say. Thanks again for all of your help, I will keep you updated incase this happens to someone else.
-
AuthorPosts
- The topic ‘Ticket Stock Not Reducing’ is closed to new replies.
