Home › Forums › Ticket Products › Event Tickets Plus › Is this really the way you need to process a refund of tickets, and restock?
- This topic has 0 replies, 3 voices, and was last updated 8 years ago by
Dan Feeley.
-
AuthorPosts
-
February 17, 2018 at 8:51 pm #1456654
Dan Feeley
Participanthttps://theeventscalendar.com/knowledgebase/refund-cancel-tickets-order/#doing-refund
prior to version 4.6 my steps to process and refund for a customer and put the tickets back into available stock was a no-brainer and worked 100%.
- edit the order
- hit refund button and increase the stock counter to put the items back into inventory
- Give the moneys back via payment gateway
Once the money was returned the order was automatically set to refunded, the stock was replenished and event calendar didnt throw off warnings or errors.
Now with version 4.6 its several steps to do this.
1. Edit the order
2. hit the refund button and give the moneys back.
3. set the order to refunded and update.
4. Nav over and find the event/attendee list
5. Click on the names that were refunded
6. Bulk delete.Say it ain’t so!
If so, is there some way to have a hook or trigger that is basically cutting out these manual steps you’ve introduced? My need is tickets for seats. So when a refund is done those seats need to be selling again. This has just become cumbersome and now error prone to mistakes.
What can be done here?
Thanks.
February 20, 2018 at 2:45 am #1458406Andras
KeymasterHello Dan,
Thanks for reaching out to us.
Yes, currently that is the new process of restocking the refunded / cancelled tickets.
I will need some time to check if there is any kinda easy was to trigger these steps manually. I ask for a bit of patience.
Thanks,
AndrasMarch 6, 2018 at 1:40 am #1470778Andras
KeymasterHi Dan,
Sorry for the waiting time. I had some discussions with other team members on this.
If I understand correctly, you would like something like this:
- any time there is a full refund for an order containing tickets, then
- let WC take care of restocking
- automatically delete the relevant attendees (and of course, don’t do a further re-stock)
Would a solution like this do the trick for you?
Cheers,
AndrasMarch 9, 2018 at 5:59 pm #1475302Dan Feeley
ParticipantExactly! If you can do that I will be eternally grateful.
March 13, 2018 at 3:11 am #1477304Andras
KeymasterHi Dan,
Just to give you a heads-up, this is a custom development task and so is outside of our stated scope of support.
Even so, we’d love to help you if we can. We do need to prioritize requests from other customers right at this time but I’ll certainly flag this with the team and – although we can’t make any promises – if we have time and space to come back and help we’ll be happy to do so.
If you urgently need help with this, however, you may instead wish to consider working with a suitably skilled developer or designer who can offer the additional level of support you require.
Thanks and cheers,
AndrasApril 2, 2018 at 8:55 am #1494401Barry
MemberHi Dan,
Thanks for your patience.
https://gist.github.com/barryhughes/1b9b2d48fcaf441c5a6cd62058e67820
The above snippet (which could be added either to a custom plugin (preferred) or else to your theme’s functions.php file) works by detecting a change in order status.
Once an order is set to “refunded” it will identify any attendees associated with the order and delete them. By itself, the snippet does not attempt to handle re-stocking/inventory adjustments but you can ask WooCommerce to handle that side of things.
I hope that helps or at least serves as a starting point for further work on this 🙂
April 24, 2018 at 9:35 am #1514899Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Is this really the way you need to process a refund of tickets, and restock?’ is closed to new replies.
