Okay
  Public Ticket #3731794
Woocommerce integration not work on credit card payment
Closed

Comments

  • Nagy Bence started the conversation

    When I use the Amelia plugin with WooCommerce integration and people pay through the Simple Pay card payment method, the order is not added to the bookings. What could be the reason? The Simple Pay support hasnt idea. Could you help me where to looking for the solution?

  •  1,562
    Marko replied

     

    Hello there,

    Thank you for reaching out to us.

    There is quite a few that you need to check for example if Amelia service is connected to WooCommerce product.

    We will explain how the logic between Amelia bookings and WooCommerce Products works:

    -

    Once you enable WooCommerce as a payment method,  in Amelia settings/Payment settings,

    a new Woo Product is automatically created, named "Appointment".

    9387954985.png

    You will be able to see it in the back-end of WordPress in WooCommerce/Products:

    3177928457.png

    By default, all services/events are connected to this WooCommerce product,

    you are able to edit it/rename it, etc.

    You are also able to add multiple products and choose which product is connected to which Service/Event.

    In Amelia, go to the Services page, edit one of the services and you will see the Settings/Payments tab.

    Here you will see the option “Select WooCommerce product” where you can choose a product that will be connected to this service. 

    2128350322.png

    The same applies to Events

    This way, you will be able to set different taxes and other WooCommerce options for each product and each service/event in Amelia.

    After setting the product, you can set the Tax and/or invoice option, or if you don’t need either of these options, you can start using the WooCommerce payment methods

    1. We have recently updated our Documentation page that explains how you can connect the statuses between Amelia and WooCommerce;

    2. You can also add taxes, and invoices if you wish, with WooCommerce as well;

    3. In the “Redirect page” option you can choose which page customers will be redirected to after they finish their booking successfully. If you select the “WooCommerce Thank you page”, your users will stay on the last page of WooCommerce, and if you choose the “Amelia Add to Calendar page”, your customers will be redirected to the Congratulations page in Amelia, with the option to add their appointment or event to their calendar. -

    All of this is explained on this page - https://wpamelia.com/woocommerce-integration/

    This should help. 

    Also, you need to check if you have set rules correctly.

    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. 

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

    Kind Regards, 

    Marko Davidovic
    [email protected]

    Rate my support

    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