Okay
  Public Ticket #3782123
Sync appointment status with WooCommerce
Closed

Comments

  •  1
    Alexandre Almeida started the conversation

    I am having trouble trying to integrate the status of the payment in WooCommerce with the appointment in Amelia.

    After I choose I form of delayed payment via WooCommerce (PIX in Brazil); the status of the order appear as pending in WooCommerce Orders. But, in Amelia it shows as the appointment is already approved.

    I've try setting up the rules in Amelia as following:

    Rule 1 Payment Pending

    Order: Payment Pending

    Apply on: Order Creation

    Reservation/Appointment: Pending

    Payment: Pending


    Rule 2 Concluded/Processed 

    Order: Concluded/Processed 

    Apply on: Order Update

    Reservation/Appointment: Approved

    Payment: Paid


    Is there a way to automatically sync the orders form WooCommerce and Appointments in Amelia?


    Attached files:  Amelia1.png
      Amelia2.png
      Amelia3.png

  •  1,596
    Marko replied

    Hello there,

    Thank you for reaching out to us.

    You created only two rules and Amelia creates and updates appointments completed through WooCommerce based on the rules configured in Amelia Settings/Payments/WooCommerce. There are rules for Appointments, Packages, and Events, so you have to make sure to create a rule for each if you're using them all.

    So, you need to check what the initial status in WooCommerce is, and create a rule in Amelia that will be used for "Order Creation". If there are multiple possibilities - create multiple rules. The same goes for order updates - if there are multiple order update options, create multiple rules in Amelia.

    We cannot provide you with an exact set of rules you need to create since WooCommerce has over 600 official extensions available and they affect the plugin in multiple ways. One of those ways is exactly the process of creating the orders.

    Depending on the payment method you're using in WooCommerce, there could be a need for the following "Order Creation" rules:

    • Order: Pending Payment; Booking: Pending; Payment: Pending;
    • Order: Processing; Booking: Pending; Payment: Pending;
    • Order: Completed; Booking: Approved; Payment: Paid

    And there could be a need for the following "Order Update" rules:

    • Order: Completed; Booking: Approved; Payment: Paid;
    • Order: Cancelled; Booking: Canceled; Payment: Paid;
    • Order: Failed; Booking: Rejected; Payment: Pending

    And so on. So, you need to first take a look at your orders, and see what the initial statuses have been in the past in order to create "Order Creation" rules. Then, you need to take every order update status into consideration and create "Order Update" rules. 

    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 [email protected]

    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

  •  1
    Alexandre Almeida replied

    I have solved by turning all appointments to "Pending" as default in Amelia in general settings.

    Then it automatically updates as WooCommerce update the status.


    Thank you for the reply.

  •  1,596
    Marko replied

    Hello again,

    We are glad to hear that all is fine not and 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 [email protected]

    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