Last active
January 31, 2020 04:17
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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