how to add custom functionality after woocommerce place order button


I am creating a plugin to send a one time password (OTP) to the user when the place order button is clicked. When the user clicks the button, the number from the phone number field must be captured and an API must be called to send the OTP. After that, a page with an input text box to enter the OTP must be present. If the user doesn’t verify the order with the OTP, it must not be placed.

I am unable to find any hook to place such a textbox area and for the order placing.

, , Harikesh 5 years 2018-06-14T06:20:10-05:00 0 Answers 73 views 0

Leave an answer