{"id":2428,"date":"2016-08-05T15:29:10","date_gmt":"2016-08-05T22:29:10","guid":{"rendered":"https:\/\/www.fabyouniversity.com\/?page_id=2428"},"modified":"2023-08-05T15:13:07","modified_gmt":"2023-08-05T22:13:07","slug":"12-week-payment","status":"publish","type":"page","link":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/","title":{"rendered":"12 week payment"},"content":{"rendered":"<div class=\"oval\">\n<figure class=\"div1\"><a href=\"https:\/\/www.fabyouniversity.com\/index.php\/new-home\/\"><img decoding=\"async\" src=\"https:\/\/www.fabyouniversity.com\/wp-content\/uploads\/2020\/01\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png\" alt=\"FAB Logo\"><\/a><\/figure>\n<\/div>\n<center>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.fabyouniversity.com\/wp-content\/uploads\/2016\/01\/FabU-logo-300x78.png\" alt=\"FabU logo\" width=\"300\" height=\"78\" class=\"alignnone size-medium wp-image-1126\">\n<\/center>\n<h1><center>Payment processing for 12 Week Coaching Program<\/center><\/h1>\n<h2><center>Your credit card will be billed $995.00 for this program<\/center><\/h2>\n<meta charset=\"UTF-8\">\n<title>Sample Payment Form<\/title>\n<script type=\"text\/javascript\" src=\"https:\/\/js.squareup.com\/v2\/paymentform\"><br \/>\n  <\/script>\n<script><\/p>\n<p>  var applicationId = 'sq0idp-RNQ0nVj6_vLWs2e2NBR5GQ'; \/\/ <-- Add your application's ID here\n\n  if (applicationId == '') {\n    alert('You need to provide a value for the applicationId variable.');\n  }\n\n  \/\/ Initializes the payment form. See the documentation for descriptions of\n  \/\/ each of these parameters.\n  var paymentForm = new SqPaymentForm({\n    applicationId: applicationId,\n    inputClass: 'sq-input',\n    inputStyles: [\n      {\n        fontSize: '15px'\n      }\n    ],\n    cardNumber: {\n      elementId: 'sq-card-number',\n      placeholder: '\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022'\n    },\n    cvv: {\n      elementId: 'sq-cvv',\n      placeholder: 'CVV'\n    },\n    expirationDate: {\n      elementId: 'sq-expiration-date',\n      placeholder: 'MM\/YY'\n    },\n    postalCode: {\n      elementId: 'sq-postal-code'\n    },\n    callbacks: {\n\n      \/\/ Called when the SqPaymentForm completes a request to generate a card\n      \/\/ nonce, even if the request failed because of an error.\n      cardNonceResponseReceived: function(errors, nonce, cardData) {\n        if (errors) {\n          console.log(\"Encountered errors:\");\n\n          \/\/ This logs all errors encountered during nonce generation to the\n          \/\/ Javascript console.\n          errors.forEach(function(error) {\n            console.log('  ' + error.message);\n          });\n\n        \/\/ No errors occurred. Extract the card nonce.\n        } else {\n\n       \/\/ Delete this line and uncomment the lines below when you're ready\n       \/\/ to start submitting nonces to your server.\n       alert ('Nonce received: ' + nonce) ;\n\n          \/*\n            These lines assign the generated card nonce to a hidden input\n            field, then submit that field to your server.\n            Uncomment them when you're ready to test out submitting nonces.\n\n            You'll also need to set the action attribute of the form element\n            at the bottom of this sample, to correspond to the URL you want to\n            submit the nonce to.\n          *\/\n          document.getElementById('card-nonce').value = nonce;\n          document.getElementById('nonce-form').submit();\n        }\n      },\n\n      unsupportedBrowserDetected: function() {\n        \/\/ Fill in this callback to alert buyers when their browser is not supported.\n      },\n\n      \/\/ Fill in these cases to respond to various events that can occur while a\n      \/\/ buyer is using the payment form.\n      inputEventReceived: function(inputEvent) {\n        switch (inputEvent.eventType) {\n          case 'focusClassAdded':\n            \/\/ Handle as desired\n            break;\n          case 'focusClassRemoved':\n            \/\/ Handle as desired\n            break;\n          case 'errorClassAdded':\n            \/\/ Handle as desired\n            break;\n          case 'errorClassRemoved':\n            \/\/ Handle as desired\n            break;\n          case 'cardBrandChanged':\n            \/\/ Handle as desired\n            break;\n          case 'postalCodeChanged':\n            \/\/ Handle as desired\n            break;\n        }\n      },\n\n      paymentFormLoaded: function() {\n        \/\/ Fill in this callback to perform actions after the payment form is\n        \/\/ done loading (such as setting the postal code field programmatically).\n        \/\/ paymentForm.setPostalCode('94103');\n      }\n    }\n  });\n\n  \/\/ This function is called when a buyer clicks the Submit button on the webpage\n  \/\/ to charge their card.\n  function requestCardNonce(event) {\n\n    \/\/ This prevents the Submit button from submitting its associated form.\n    \/\/ Instead, clicking the Submit button should tell the SqPaymentForm to generate\n    \/\/ a card nonce, which the next line does.\n    event.preventDefault();\n\n    paymentForm.requestCardNonce();\n  }\n  <\/script>\n<!--\n    These styles can live in a separate .css file. They're just here to keep this\n    example to a single file.\n  -->\n\n<style type=\"text\/css\">\n    .sq-input {<br \/>\n      border: 1px solid rgb(223, 223, 223);<br \/>\n      outline-offset: -2px;<br \/>\n      margin-bottom: 5px;<br \/>\n    }<br \/>\n    .sq-input--focus {<br \/>\n      \/* Indicates how form inputs should appear when they have focus *\/<br \/>\n      outline: 5px auto rgb(59, 153, 252);<br \/>\n    }<br \/>\n    .sq-input--error {<br \/>\n      \/* Indicates how form inputs should appear when they contain invalid values *\/<br \/>\n      outline: 5px auto rgb(255, 97, 97);<br \/>\n    }<br \/>\n  <\/style><!--\n    These div elements are the placeholder elements that are replaced by the\n    SqPaymentForm's iframes.\n  -->\n<label>Card Number<\/label>\n<div id=\"sq-card-number\"><\/div>\n<label>CVV<\/label>\n<div id=\"sq-cvv\"><\/div>\n<label>Expiration Date<\/label>\n<div id=\"sq-expiration-date\"><\/div>\n<label>Postal Code<\/label>\n<div id=\"sq-postal-code\"><\/div>\n<!--\n    After the SqPaymentForm generates a card nonce, *this* form POSTs the generated\n    card nonce to your application's server.\n\n    You should replace the action attribute of the form with the path of\n    the URL you want to POST the nonce to (for example, \"\/process-card\")\n  -->\n\n<form id=\"nonce-form\" novalidate=\"\" action=\"https:\/\/www.fabyouniversity.com\/index.php\/1-payment-processing\/\" method=\"post\">    <!--\n      Whenever a nonce is generated, it's assigned as the value of this hidden\n      input field.\n    -->\n<input type=\"hidden\" id=\"card-nonce\" name=\"nonce\">\n\n<!--\n      Clicking this Submit button kicks off the process to generate a card nonce\n      from the buyer's card information.\n    -->\n<input type=\"submit\" onclick=\"requestCardNonce(event)\">\n<\/form>","protected":false},"excerpt":{"rendered":"<p>Payment processing for 12 Week Coaching Program Your credit card will be billed $995.00 for this program Sample Payment Form Card Number CVV Expiration Date Postal Code<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"pagewide.php","meta":{"footnotes":""},"class_list":["post-2428","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>12 week payment<\/title>\n<meta name=\"description\" content=\"12 week program, Fab Youniversity programs\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"12 week payment\" \/>\n<meta property=\"og:description\" content=\"12 week program, Fab Youniversity programs\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/\" \/>\n<meta property=\"og:site_name\" content=\"Home of FabYOUniversity: Where women Dare to be Fabulous\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-05T22:13:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fabyouniversity.com\/wp-content\/uploads\/2020\/01\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fabyouniversity.com\\\/index.php\\\/12-week-payment\\\/\",\"url\":\"https:\\\/\\\/www.fabyouniversity.com\\\/index.php\\\/12-week-payment\\\/\",\"name\":\"12 week payment\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fabyouniversity.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fabyouniversity.com\\\/index.php\\\/12-week-payment\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fabyouniversity.com\\\/index.php\\\/12-week-payment\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fabyouniversity.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png\",\"datePublished\":\"2016-08-05T22:29:10+00:00\",\"dateModified\":\"2023-08-05T22:13:07+00:00\",\"description\":\"12 week program, Fab Youniversity programs\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fabyouniversity.com\\\/index.php\\\/12-week-payment\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fabyouniversity.com\\\/index.php\\\/12-week-payment\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.fabyouniversity.com\\\/index.php\\\/12-week-payment\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fabyouniversity.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png\",\"contentUrl\":\"https:\\\/\\\/www.fabyouniversity.com\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png\",\"width\":316,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fabyouniversity.com\\\/index.php\\\/12-week-payment\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fabyouniversity.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"12 week payment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fabyouniversity.com\\\/#website\",\"url\":\"https:\\\/\\\/www.fabyouniversity.com\\\/\",\"name\":\"Home of FabYOUniversity: Where women Dare to be Fabulous\",\"description\":\"Dare to be Fabulous\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.fabyouniversity.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"12 week payment","description":"12 week program, Fab Youniversity programs","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/","og_locale":"en_US","og_type":"article","og_title":"12 week payment","og_description":"12 week program, Fab Youniversity programs","og_url":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/","og_site_name":"Home of FabYOUniversity: Where women Dare to be Fabulous","article_modified_time":"2023-08-05T22:13:07+00:00","og_image":[{"url":"https:\/\/www.fabyouniversity.com\/wp-content\/uploads\/2020\/01\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/","url":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/","name":"12 week payment","isPartOf":{"@id":"https:\/\/www.fabyouniversity.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/#primaryimage"},"image":{"@id":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fabyouniversity.com\/wp-content\/uploads\/2020\/01\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png","datePublished":"2016-08-05T22:29:10+00:00","dateModified":"2023-08-05T22:13:07+00:00","description":"12 week program, Fab Youniversity programs","breadcrumb":{"@id":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/#primaryimage","url":"https:\/\/www.fabyouniversity.com\/wp-content\/uploads\/2020\/01\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png","contentUrl":"https:\/\/www.fabyouniversity.com\/wp-content\/uploads\/2020\/01\/web_fabU-Logo-black2pink-bottom-up-e1579711583809.png","width":316,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.fabyouniversity.com\/index.php\/12-week-payment\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fabyouniversity.com\/"},{"@type":"ListItem","position":2,"name":"12 week payment"}]},{"@type":"WebSite","@id":"https:\/\/www.fabyouniversity.com\/#website","url":"https:\/\/www.fabyouniversity.com\/","name":"Home of FabYOUniversity: Where women Dare to be Fabulous","description":"Dare to be Fabulous","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fabyouniversity.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.fabyouniversity.com\/index.php\/wp-json\/wp\/v2\/pages\/2428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fabyouniversity.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.fabyouniversity.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.fabyouniversity.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fabyouniversity.com\/index.php\/wp-json\/wp\/v2\/comments?post=2428"}],"version-history":[{"count":97,"href":"https:\/\/www.fabyouniversity.com\/index.php\/wp-json\/wp\/v2\/pages\/2428\/revisions"}],"predecessor-version":[{"id":11882,"href":"https:\/\/www.fabyouniversity.com\/index.php\/wp-json\/wp\/v2\/pages\/2428\/revisions\/11882"}],"wp:attachment":[{"href":"https:\/\/www.fabyouniversity.com\/index.php\/wp-json\/wp\/v2\/media?parent=2428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}