Support » Plugin: myCred Amelia - Gamification with Events & Appointments Booking » Allowed to book with zero points

  • Resolved javenarius

    (@javenarius)


    Hi,

    I am seeing a bug where users are allowed to book appointments using Amelia with zero points. Amelia says I should contact you about this. Are there any updates I can do to make this work?

    Thanks,
    Jeremy

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support A.Tariq

    (@arsalantariq)

    Hi @javenarius,

    Thank you for contacting us, We are in communication with the Amelia team there are some structural changes made by them, So Keep an eye for an update when it’s available please update the plugin.

    Thread Starter javenarius

    (@javenarius)

    They told me they haven’t made any structural changes lately and have no idea why it would work before but not work now.

    Can you provide me with a way to download a working version of your plugin? It worked about 6 months ago with Amelia and it hasn’t worked for the last 2-3 months. I spent a bunch of money paying a dev to custom build parts of my site knowing that Amelia and MyCred were integrated. Now it seems you are both blaming each other. I am frustrated with this situation. Thanks.

    Plugin Support A.Tariq

    (@arsalantariq)

    Hi @javenarius,

    Are you using the Pro version of Amelia or the free version also do let us know the version no you are using?

    Thread Starter javenarius

    (@javenarius)

    Hi,

    I am using the $79 Basic version of Amelia. The only difference between the Basic and Pro version is it only gives the user more licenses and the ability to create a “package” for Services offered, which I don’t even use anyway. Not sure why this wouldn’t work with a Basic license.

    Versions:
    Amelia: 4.4.1
    MyCred: 2.4.2
    MyCred-Amelia: 1.1.1

    Plugin Support A.Tariq

    (@arsalantariq)

    @javenarius ,

    we are trying to reach Amelia’s support and waiting for their response.

    Thread Starter javenarius

    (@javenarius)

    The Amelia team requested that I forward this message to you. I have a public ticket open with them here, https://tmsplugins.ticksy.com/ticket/2956129.

    I hope this helps you. Please let me know when you have a solution or need to relay a message to them. Thanks for your time.

    Here is the message:
    “Can you please send the following scripts to the MyCred team as our developer just used console.log to display the price in the console, and they need to apply the logic to not allow the booking to be made if there are no MyCred points?

    Amelia uses “JS hook” that is triggered when the “Confirm booking form” opens and that is where the “TotalPrice” can be found. We are not planning on changing the JS structure but you could use the following scripts for:”

    Service Booking:

    <script>
    window.beforeConfirmBookingLoaded = function (reservation, bookable, employee, location) {
    var totalPrice = bookable.aggregatedPrice ? reservation.bookings[0].persons * bookable.price : bookable.price;
    console.log(totalPrice);
    }
    </script>

    Event Booking:

    <script>
    window.beforeConfirmBookingLoaded = function (reservation, bookable, employee, location) {
    var totalPrice = !bookable.ticketsData ? reservation.bookings[0].persons * bookable.price : bookable.price;
    console.log(totalPrice);
    }
    </script>
    Thread Starter javenarius

    (@javenarius)

    Hi, just following up on my last message to you and wondering if this will ever be fixed?

    I have a site that I want to launch soon and this plugin’s broken functionality is holding up it back. Please help.

    Plugin Support A.Tariq

    (@arsalantariq)

    @javenarius,

    We are working on your request it will take some time. We will let you know once we are done.

    Plugin Support A.Tariq

    (@arsalantariq)

    @javenarius,

    It’s a beta version shared below so it is recommended to test it on the staging site first. Also, do let us know how is it working for you.

    Download Link: https://we.tl/t-OG5HKMUyep

    Thread Starter javenarius

    (@javenarius)

    Got it. I’ll try it out in the next day or so and report back to you. Thank you!

    Thread Starter javenarius

    (@javenarius)

    Hi, this did not work for me on my staging site. I even uninstalled MyCred and MyCred-Amelia and then reinstalled them from scratch. I did see more options listed under the MyCred in the menu than on my non-staging site. They are both running the same version.

    Are there any other things I should be trying? I installed the plugins, created my custom point type, double-checked Amelia’s settings to make sure it was still set up for on-site payments, and then I tested on Amelia by booking with zero points. In which it let me.

    Thanks.

    Plugin Support A.Tariq

    (@arsalantariq)

    @javenarius ,

    Can you please share the Page URL where you are using it?

    Thread Starter javenarius

    (@javenarius)

    The page is behind a maintenance page and behind a user login. You won’t be able to access without the login info, which I won’t post on a public forum. I can send it to you privately if you give me instructions. Thanks.

    Plugin Support A.Tariq

    (@arsalantariq)

    @javenarius,

    You can create a support ticket on our official website. Also, please try clearing the cache and try after power refreshing the page by using (ctrl + f5).

    hi @arsalantariq

    We were facing the same issue and we tried your beta version shared on this topic by you. We found a bug. Mostly everything works fine except for one problem.

    We charge 10 credits for an appointment.

    If a user has 10 or more credits in their account then they are able to book more appointments than their actual balance.

    This is only happening with recurring bookings (Services) and it only happens when a user has the balance for the first appointment.

    For example, A user has 10 credits. We charge 10 credits for an appointment. While making bookings the user clicks on repeat appointment and choose 5 more time slots. So the total cost is 60. The booking form simply allows the booking and the user’s balance goes in minus (-50 credits).`

    Could you please pass this to your dev team and provide a temporary solution until the official release of a new version?

    Truly appreciate your help.

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.