Last active
November 4, 2015 20:47
-
-
Save salsalabs/c2f53f1596778cf63b69 to your computer and use it in GitHub Desktop.
Autofill test credit card, https://salsasupport.zendesk.com/entries/47317260
This file contains hidden or 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
| <!-- See https://salsasupport.zendesk.com/entries/47317260--> | |
| <fieldset id="form_of_payment_fields"> | |
| <legend>Form of Payment?</legend> | |
| <div class="formRow"> | |
| <input type="radio"name="Form_Of_Payment" value="Cash" checked/> | |
| <label for="cash">Cash</label> | |
| </div> | |
| <div class="formRow"> | |
| <input type="radio" selected="selected" name="Form_Of_Payment" value="Check"/> | |
| <label for="cash">Check</label> | |
| </div> | |
| </fieldset> | |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| $('#one_time').click(); | |
| $('#cc_number').val('1111111111111111'); | |
| $('#ccExpMonth').val('12'); | |
| $('#ccExpYear').val('20'); | |
| $('#CVV2').val('1111'); | |
| $('#credit_card_information').hide(); | |
| }) | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment