SHARE
TWEET

Untitled

a guest Jan 20th, 2020 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const firstName = 'FIRST NAME';
  2. const lastName = 'LAST NAME';
  3. const email = 'EMAIL';
  4. const password = 'ANY PASSWORD';
  5. var data = "form_type=create_customer&utf8=%E2%9C%93&customer%5Bfirst_name%5D=" + firstName + "&customer%5Blast_name%5D=" + lastName + "&customer%5Bemail%5D=" + email + "&customer%5Bpassword%5D=" + password;
  6. jQuery.post('/account', data).done(function (response) {
  7. var logErrors = jQuery(response).find('.errors').text();
  8. if (logErrors != '' && logErrors != 'undefined') {
  9. alert(logErrors);
  10. }
  11. else {
  12. alert('Account created!');
  13. }
  14. }).fail(function () {
  15. alert('Failed to create account! Please try different details or activate a VPN!');
  16. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top