Can I use a js hook like "window.beforeConfirmedBooking = function(object_appointment)" to identify if a customer choosed Stripe or in-local payment method? Based on that choice, I'm trying redirect to different "Thank You" pages...
"object_appointment.booking.payments" seems has length zero on all cenarios...
Can I use a js hook like "window.beforeConfirmedBooking = function(object_appointment)" to identify if a customer choosed Stripe or in-local payment method? Based on that choice, I'm trying redirect to different "Thank You" pages...
"object_appointment.booking.payments" seems has length zero on all cenarios...
Hello Eduardo,
Thanks for your question.
You can try it but I need a bit more time to clarify this with my dev team.