{"id":11,"date":"2022-06-03T02:52:13","date_gmt":"2022-06-03T02:52:13","guid":{"rendered":"https:\/\/www.ridesaferidesmart.com\/77lakers\/services\/"},"modified":"2022-09-04T19:11:28","modified_gmt":"2022-09-05T00:11:28","slug":"register","status":"publish","type":"page","link":"https:\/\/www.ridesaferidesmart.com\/77lakers\/register\/","title":{"rendered":"Registration"},"content":{"rendered":"\n<p class=\"has-text-align-center wp-block-paragraph\"><p class=\"has-text-align-center has-custom-weight has-custom-letterspacing\" style=\"letter-spacing:1.4px;font-weight:bold\"><strong>Please register for yourself,<br>or for yourself and your guest, <br>by reserving one or two spots from the dropdown menu below. <\/strong><\/p><\/p>\n\n\n\n<p class=\"wp-block-paragraph\" align=center>\n<div id=\"smart-button-container\">\n      <div style=\"text-align: center;\">\n        <div style=\"margin-bottom: 1.25rem;\">\n          <p><\/p>\n          <select id=\"item-options\"><option value=\"Reserve a spot for yourself at the buffet - $25.00\" price=\"25.00\">Reserve a spot for yourself at the buffet &#8211; $25.00 &#8211; 25.00 USD<\/option><option value=\"Reserve a spot for yourself and a guest at the buffet - $50.00\" price=\"50.00\">Reserve a spot for yourself and a guest at the buffet &#8211; $50.00 &#8211; 50.00 USD<\/option><\/select>\n          <select style=\"visibility: hidden\" id=\"quantitySelect\"><\/select>\n        <\/div>\n      <div id=\"paypal-button-container\"><\/div>\n      <\/div>\n    <\/div>\n    <script src=\"https:\/\/www.paypal.com\/sdk\/js?client-id=AZHjQPQzPFZGsgmBB0w6XkVFYB3lOx5hIE2-5wn5aBKOFDDMHvz94s_QlGAIq08_yfO2iGBnDxBjagMz&#038;enable-funding=venmo&#038;currency=USD\" data-sdk-integration-source=\"button-factory\"><\/script>\n    <script>\n      function initPayPalButton() {\n        var shipping = 0;\n        var itemOptions = document.querySelector(\"#smart-button-container #item-options\");\n    var quantity = parseInt();\n    var quantitySelect = document.querySelector(\"#smart-button-container #quantitySelect\");\n    if (!isNaN(quantity)) {\n      quantitySelect.style.visibility = \"visible\";\n    }\n    var orderDescription = '';\n    if(orderDescription === '') {\n      orderDescription = 'Item';\n    }\n    paypal.Buttons({\n      style: {\n        shape: 'pill',\n        color: 'white',\n        layout: 'vertical',\n        label: 'pay',\n        \n      },\n      createOrder: function(data, actions) {\n        var selectedItemDescription = itemOptions.options[itemOptions.selectedIndex].value;\n        var selectedItemPrice = parseFloat(itemOptions.options[itemOptions.selectedIndex].getAttribute(\"price\"));\n        var tax = (0 === 0 || false) ? 0 : (selectedItemPrice * (parseFloat(0)\/100));\n        if(quantitySelect.options.length > 0) {\n          quantity = parseInt(quantitySelect.options[quantitySelect.selectedIndex].value);\n        } else {\n          quantity = 1;\n        }\n        tax *= quantity;\n        tax = Math.round(tax * 100) \/ 100;\n        var priceTotal = quantity * selectedItemPrice + parseFloat(shipping) + tax;\n        priceTotal = Math.round(priceTotal * 100) \/ 100;\n        var itemTotalValue = Math.round((selectedItemPrice * quantity) * 100) \/ 100;\n        return actions.order.create({\n          purchase_units: [{\n            description: orderDescription,\n            amount: {\n              currency_code: 'USD',\n              value: priceTotal,\n              breakdown: {\n                item_total: {\n                  currency_code: 'USD',\n                  value: itemTotalValue,\n                },\n                shipping: {\n                  currency_code: 'USD',\n                  value: shipping,\n                },\n                tax_total: {\n                  currency_code: 'USD',\n                  value: tax,\n                }\n              }\n            },\n            items: [{\n              name: selectedItemDescription,\n              unit_amount: {\n                currency_code: 'USD',\n                value: selectedItemPrice,\n              },\n              quantity: quantity\n            }]\n          }]\n        });\n      },\n      onApprove: function(data, actions) {\n        return actions.order.capture().then(function(orderData) {\n          \n          \/\/ Full available details\n          console.log('Capture result', orderData, JSON.stringify(orderData, null, 2));\n          \/\/ Show a success message within this page, e.g.\n          const element = document.getElementById('paypal-button-container');\n          element.innerHTML = '';\n          element.innerHTML = '<h3>Thank you for your payment!<\/h3>';\n          \/\/ Or go to another URL:  actions.redirect('thank_you.html');\n        });\n      },\n      onError: function(err) {\n        console.log(err);\n      },\n    }).render('#paypal-button-container');\n  }\n  initPayPalButton();\n    <\/script>\n <\/div>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;d rather reserve your spots through the mail, please send a check payable to &#8220;IDS 173 \u2013 Class of 1977&#8221; for your required amount to Brent. Please indicate who is coming and how many buffet spots you would like to reserve.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Class of 1977<br>c\/o Brent Jass<br>2369 20th Avenue<br>Odin, MN 56160<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>So who is already signed up, you ask?  Here is our list of confirmed (paid) guests<\/strong>.  <strong>Check back often as we add names to the list!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Brent &amp; Debby Jass<br>Brad Krehbiel<br>Bev (Friesen) &amp; Joe Boike<br>Deb (Wiebe) &amp; Pete Hetland<br>Andy &amp; Amy Ross<br>Diane (Fast) Crawford<br>Brent &amp; Judy Friesen<br>Bruce &amp; Darla Friesen<br>Perry &amp; Sharon (Penner) Harder<br>Steve &amp; Becky Kremmin<br>Randy &amp; Luann (Brabec) Kremmin<br>Sharon (Kunkel) Lipinski<br>Julie (Peters) &amp; Bill Hill<br>Marcia (Thone) &amp; Dale Hummel<br>Dean &amp; Jen Karschnik<br>Lenita Fast<br>John Ratzloff<br>Doug Loewen<br>Jay (Dick) Allen<br>Rod Gallaher<br>Mike Firme<br>Marlene (Gohr) &amp; Jim Wolff<br>George Gohr<br>Chris (Franz) &amp; Al O&#8217;Bannon<br>Jerry Molitor<br>Wendy (Fast) &amp; Dwight Becker<br>Eileen (Oeltjenbruns) Adrian<br>Dale &amp; Vicki Duerksen<br>Cindy (Bottin) Leverenz<br>Neil Krahn &amp; Julie Kroll<br>Cynthia (Regier) Foster<br>Joel Syverson<br>Tim &amp; Renee Herrig<br>Joyce Schultz &amp; Lanny Green<br>Jane (Paulson) Riley<br>Brenda (Curt) Feil<br>Anthony &amp; Allison Harder<br>Arden Duerksen<br>Marlin Zinke<br>Roxy (Behrends) Park<br>Daryl Olson<br>Mike &amp; Betty Adrian<br>Neil &amp; Tammy Bartel<br>Tuan &amp; Ailien Nguyen<br>Kaye Fox<br>Loren Becker<br>Greg Schmidt<br>Lori Anacker<br>Linda &amp; Gordon Goertzen<br>Roberta &amp; Gary Anderson<br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Please register for yourself,or for yourself and your guest, by reserving one or two spots from the dropdown menu below.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"class_list":["post-11","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ridesaferidesmart.com\/77lakers\/wp-json\/wp\/v2\/pages\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ridesaferidesmart.com\/77lakers\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ridesaferidesmart.com\/77lakers\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ridesaferidesmart.com\/77lakers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ridesaferidesmart.com\/77lakers\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":45,"href":"https:\/\/www.ridesaferidesmart.com\/77lakers\/wp-json\/wp\/v2\/pages\/11\/revisions"}],"predecessor-version":[{"id":359,"href":"https:\/\/www.ridesaferidesmart.com\/77lakers\/wp-json\/wp\/v2\/pages\/11\/revisions\/359"}],"wp:attachment":[{"href":"https:\/\/www.ridesaferidesmart.com\/77lakers\/wp-json\/wp\/v2\/media?parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}