Okay
  Public Ticket #1998333
deposit (if on-site selected)
Closed

Comments

  •  1
    PARISI TOUR started the conversation

    Hello,

    1. I'd like to require a 30% paid deposit for clients who choose 'on-site' as a payment option.

    Ideally, the reservation would be 'pending' until the deposit is paid. 

    Is there a way to do this within Amelia (with a short code parameter?), or does it have to be done manually?

    Or, could this be done with a coupon-code called deposit (which is set to -70%)?


    2. Also, I'd like to direct clients from the services page 'reserve now' button to a specific service on the reservations page (so they don't have to scroll through the list of services again to choose, which is redundant).

    I saw the shortcodes ID, but cannot see a way to see the service ID in the amelia backend. Please advise.


    Thanks


  •  1,818
    Miloš replied

    Hi PARISI TOUR ,
    Thank you for your purchase.

    1.

    At the moment the solution would be to use the coupons but you will need to add a coupon and send to all of the customers. Setup of coupons are based on service, and the plugin can not know which payment method will be used.

    There is no other way to achieve this because we can not know which payment method will be used for the coupon.

    2.

    You can use hooks like beforeConfirmedBooking or afterConfirmBooking that will be triggered when your customers confirm booking. You can set that redirect URL that you need like on this script (we use https://www.google.com as example, but you will replace this with your own URL)

    <script>
    window.beforeConfirmedBooking = function()
    {
    window.location.href = "https://www.google.com";
    };
    </script>

    Please insert this script on page where you insert Amelia shortcode.



    Best regards.

    Kind Regards, 

    Miloš Jovanović
    [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