Skip to content

Instantly share code, notes, and snippets.

@apih
Last active January 31, 2020 04:17
Show Gist options
  • Save apih/0691cd3fd48152ccdc03b8f38acfaf2d to your computer and use it in GitHub Desktop.
Save apih/0691cd3fd48152ccdc03b8f38acfaf2d to your computer and use it in GitHub Desktop.
OnPay: Set a dummy client email and hide email field in the order form
<script type="text/javascript">
var dummyClientEmail = 'test@test.com';
$("#client_email").val(dummyClientEmail);
$("#client_email").closest(".form-group").hide();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment