Hi again,
The tutorial is now updated. Please let us know if you continue to have any problems using it. Thanks!
Hi Marlowe - What is the status of the resolution to this issue? I believe Iām having the same / similar problem which I documented in another thread (below). Getting this working is really critical for our business. Can we please get an update / assistance from someone ASAP please? This thread started back in Nov 2019 so this has remained outstanding for quite some time. Your assistance is appreciated! Thank you.
Hey guys I know this is an old post, but that tutorial you are referring to still doesnt work. I added everything to my site and I also get the booking systems error:
Also, the timetable example referenced earlier by a wix master isnt updated: when I select a date in the repeater (using the example and not added to my site) it doesnt show services in the next repeater below it⦠as I am assuming its not updated for 2021. If I go back to 2020 Jan I see the services but as its in the past I cannot select the book button to see the lightbox in the next step. I would like to add this to my site and edit the info but can someone suggest what I need to do to populate 2021 info?
@mamfamotion Thanks for letting us know about both examples. Iāve reported the issues to the teams and will let you know as soon as I have an update.
Hi Samantha,
The example is now fixed. Please report back if you have any problems with it. Thanks!
Hi there, not sure if we should create a new thread or continue posting to this one.
Iām having trouble using the wix bookings API for a custom booking experience, specifically the checkoutBooking() method. Iāve stumbled across the example link youāve provided (the quick book and pending appointments one).
I tried using the example and added console.log() to the pending appointment page. I wanted to view the request payload and view the response or error in the example to see how I may be using the API incorrectly. But Iām getting the
{code: 500, message: "BOOKINGS_SYSTEM_ERROR"}
error there was well. I was wondering if this was expected for the tutorial?
Hi all, I was able to finally get my issue resolved. In case if others ran into my issue, gonna post what my issue was and my solution.
For my case, I was putting in an invalid email (hitting random keys on keyboard) because I didnāt expect the method to do some email validation.
After I put in a value much closer to that of a regular email format (something like test@mail. com) the checkoutBooking() method finally worked.
Admittedly, this is something I probably should have done from the get-go to save myself some time. One thing I would recommend is at least providing better error messaging back to the user. Something like this would be a lot more clearer and go a long way.
{code: 400, message:"EMAIL_INVALID"}
Hi, after dozens of tries, I realized that the problem is related to the āOffer this service only as part of a planā part.
This issue has nothing to do with the tutorial or anything else. Itās all about the technical side of Wix.
- checkoutBookign() api may be missing. that is, the payment part of the ābookings connected to the plansā.
- There may be a problem with your if else construct or your then() catch() construct, or a problem with try catches or async await. I donāt knowā¦
- Maybe you never wrote the ābooking + only planā scenario as a code.
- Maybe the codes are conflicting
Anyway, this is not a problem we can solve.
Dear wix genius stafs, coders, wix evangelists, I never underestimate you, wix is a software that changed my life. But all I ask is that you know that we cannot solve this problem. I know you can definitely fix this. And I expect you to fix it.
We love Wix thanks.
