Okay
  Public Ticket #3825610
an issue with Woocommerce & Aemlia wp
Open

Comments

  • Tariq started the conversation

    Hey there , 

    We are experiencing an issue with Amelia WP when integrated with WooCommerce. The problem occurs when an admin cancels or refunds an  payment order from WooCommerce. The expected behavior is:

    1. The appointment should be removed from Google Calendar (which is working correctly).
    2. The slot should become available for other users to book (which is NOT happening).
    3. The appointment in Amelia should be marked as Canceled or Rejected (instead, it remains in a pending status). 


    Currently, when a WooCommerce order paid is refunded or canceled, the slot remains blocked, and the appointment stays in the pending status. This prevents new bookings for that time slot.


    Steps to Reproduce:
    1. A customer books an appointment and completes the payment through WooCommerce and the payment gate.
    2. An admin cancels or refunds the order in WooCommerce.
    3. The appointment disappears from Google Calendar (which is expected).
    4. However, the appointment in Amelia remains in "Pending" status.
    5. The slot is still blocked, preventing other users from booking the same time.
    Expected Behavior:
    • When an order is refunded or canceled in WooCommerce, Amelia should automatically mark the appointment as canceled or rejected so that the slot is freed up for new bookings
    Current Amelia Settings:

    see the attachment of Booking Rules, Status Settings, and Payment Settings from Amelia.)


    Could you please advise on how to resolve this issue or if this requires a bug fix?



    Additional Note:

    If the order was not paid yet and was sent to WooCommerce, and we cancel it, Amelia correctly marks the appointment as rejected and releases the slot for new bookings. However, this does not happen when the order was paid and then refunded or canceled.

    Attached files:  rules 1-5.png
      rules 5-12.png

  •  811
    Stefan replied

    Hi Tariq,

    Thanks for reaching out to us.

    Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

    Kind Regards, 

    Stefan Petrov
    [email protected]

    Rate my support

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

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

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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