Okay
  Public Ticket #2580744
JS Hook - Identify Payment Method
Closed

Comments

  •  1
    Eduardo started the conversation

    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...


  • [deleted] replied

    Hello Eduardo,

    Thanks for your question.

    You can try it but I need a bit more time to clarify this with my dev team.