Square payment integration: Unable to submit the form, it just shows "Please wait"