We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #3842636
Bug Report - Important
Closed

Comments

  • Leonard Chan started the conversation

    We experienced an issue with Amelia when using WooCommerce payment gateway

    • Using Amelia with payment gateway from WooCommerce
    • Payment gateway integrated with MasterCard Payment plugin from GitHub - Mastercard-Gateway/gateway-woocommerce-module
    • Issue: Appointments marked as "Approved" and "Paid" regardless of successful online payment
    • WooCommerce's report reflects the correct payment status
    • Observation: Appointments marked as approved once users reach the payment redirect page
    • Amelia should mark the payment is successful not when sending to WooCommerce, but when WooCommerce recorded successful payment

    Please help provide a solution asap. Thanks for your great work!

  •  1,725
    Marko replied

    Hello there,

    Thank you for reaching out to us.

    Amelia triggers the appointment creation on statuses "Completed", "Processing" and "On Hold". So, when you change the payment status to one of these, an appointment will be created.

    To stop Amelia from creating an appointment for "Processing" or "On Hold" statuses, you can simply comment those lines of code in ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php

    add_action('woocommerce_order_status_on-hold', [self::class, 'paymentComplete'], 10, 1);
    add_action('woocommerce_order_status_processing', [self::class, 'paymentComplete'], 10, 1);

    I hope that helps.

    Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.

    We wish you all the best and hope you have a wonderful day ahead.  

    Kind Regards, 

    Marko Davidovic marko.davidovic@tms-outsource.com

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Leonard Chan replied

    Thank you for the clarification provided. To ensure overbooking is avoided, could you kindly explain how the Amelia payment gateway manages the reservation of appointment slots prior to successful payment? Additionally, does the system designate appointments with a "processing" status during this reservation phase?

  •  1,725
    Marko replied

    Hello again,

    When you have multiple questions or issues, please open a separate ticket for each one, and we will be happy to assist you there. This helps keep different topics organized, making it easier for both our support team and other customers to find relevant information.

    Our policy is to have one issue or question per ticket for the reasons outlined above. Thank you for your understanding.

    Regarding your second question, we covered this in our initial response: Amelia triggers the appointment creation for statuses "Completed," "Processing," and "On Hold." So, when the payment status is changed to one of these, an appointment will be created.

    To prevent Amelia from creating an appointment for "Processing" or "On Hold" statuses, you can simply implement the solution we provided earlier.

    As for your first question, we are not entirely sure what you are asking. However, the likelihood of multiple users booking at the exact same second is quite low. That said, we can provide a solution for this scenario. There is a hidden option that you can enable to address this.

    This is not automatically enabled once you install the plugin and I will show you how to do it:

    1. Update the plugin to the latest version

    2. Access Amelia Settings/Payments, and expand the WooCommerce section. Scroll down to the last rule. Right-click just below it and click on "Inspect":

    6327449717.png

    In the console, you will see the following. Click on the last div:

    6575667097.png

    On the right-hand side panel, you will see this:

    2287319917.png

    Uncheck that option, like so:

    5271540571.png

    A new slider will appear below the last rule in WooCommerce settings (in Amelia):

    5910293711.png

    Enable it and save these settings. Please note that once you enable the slider, it will automatically hide again, but don't worry about it.

    The changes previously applied should remain intact since the hidden setting modifies the database once enabled, and it stays enabled after each update - similar to all settings in Amelia. So, once you enable the plugin, there's no need to go over the same changes again.

    Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there. Our policy is to have one issue or question per ticket.

    We wish you all the best and hope you have a wonderful day ahead. 

    Kind Regards, 

    Marko Davidovic marko.davidovic@tms-outsource.com

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Leonard Chan replied

    Thanks.

    After reviewing ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php, I noted the presence of the following actions:
    add_action('woocommerce_order_status_on-hold', [self::class, 'orderStatusChanged'], 10, 1);
    add_action('woocommerce_order_status_processing', [self::class, 'orderStatusChanged'], 10, 1);

    However, I couldn't locate:
    add_action('woocommerce_order_status_on-hold', [self::class, 'paymentComplete'], 10, 1);
    add_action('woocommerce_order_status_processing', [self::class, 'paymentComplete'], 10, 1);

    I attempted to comment on the "on-hold" case since processing should indicate payment completion.
    Unfortunately, the outcome did not meet expectations.
    In the Amelia Dashboard, all appointments are listed as "Approved," regardless of payment status.

    Regarding the second suggestion to disable "Create booking before payment process,"
    Appointments are only generated after a successful payment.
    >span class="text-only" data-eleid="27">
    Although the system seems to have the necessary function, there might be a bug.
    For instance, the "on-hold" status in WooCommerce transitions both booking and payment to "pending" but does not seem to function correctly.

  •  1,725
    Marko replied

    Hello again,

    You say the outcome did not meet expectations and does not seem to function correctly can you please elaborate more on this and explain what type of issue you have now? You can send us a short one minute video of the issue so that we can understand it better.

    Looking forward to your reply. 

    Kind Regards, 

    Marko Davidovic marko.davidovic@tms-outsource.com

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables