{"id":71713,"date":"2021-03-25T12:28:00","date_gmt":"2021-03-25T12:28:00","guid":{"rendered":"https:\/\/hillside.work\/sec\/staging\/demo-2\/"},"modified":"2021-03-25T12:28:00","modified_gmt":"2021-03-25T12:28:00","slug":"demo-2","status":"publish","type":"post","link":"https:\/\/hillside.work\/sec\/staging\/demo-2\/","title":{"rendered":"Invoice payments"},"content":{"rendered":"<p>We have two options for payment of invoices to the General Synod Office:<\/p>\r\n<p><strong><span style=\"text-decoration: underline;\"><span class=\"s4\">Bank transfer<\/span><\/span><\/strong><\/p>\r\n<p>Our preferred method of invoice payment is by electronic bank transfer.<\/p>\r\n<p>Our details are:<\/p>\r\n<p>Account name: Scottish Episcopal Church<br \/>Sort Code: 80-11-20<br \/>Account Number: 00729349<\/p>\r\n<p>Please use your account and invoice numbers as the payment reference. \u00a0(For example ABCD123\/INV01234, you can find these on the top right of your invoice)<\/p>\r\n<p><span style=\"text-decoration: underline;\"><strong><span class=\"s4\">Payment by Debit \/ Credit Card<\/span><\/strong><\/span><\/p>\r\n<p>Payment can also be made by debit or credit card using our secure Square Up card payment service accessed via the payment button below: \u00a0<\/p>\r\n<div>\r\n<div style=\"overflow: auto; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; width: 259px; background: #FFFFFF; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: -2px 10px 5px rgba(0, 0, 0, 0); border-radius: 10px; font-family: SQ Market, SQ Market, Helvetica, Arial, sans-serif;\">\r\n<div style=\"padding: 20px;\"><a style=\"display: inline-block; font-size: 18px; line-height: 48px; height: 48px; color: #ffffff; min-width: 212px; background-color: #990838; text-align: center; box-shadow: 0 0 0 1px rgba(0,0,0,.1) inset; border-radius: 6px;\" href=\"https:\/\/square.link\/u\/My1E10wE?src=embed\" target=\"_blank\" rel=\"noopener\" data-url=\"https:\/\/square.link\/u\/My1E10wE?src=embd\">Pay now<\/a><\/div>\r\n<\/div>\r\n<script>\r\n    function showCheckoutWindow(e) {\r\n      e.preventDefault();\r\n \r\n      const url = document.getElementById('embedded-checkout-modal-checkout-button').getAttribute('data-url');\r\n      const title = 'Square Payment Links';\r\n \r\n      \/\/ Some platforms embed in an iframe, so we want to top window to calculate sizes correctly\r\n      const topWindow = window.top ? window.top : window;\r\n \r\n      \/\/ Fixes dual-screen position                                Most browsers          Firefox\r\n      const dualScreenLeft = topWindow.screenLeft !==  undefined ? topWindow.screenLeft : topWindow.screenX;\r\n      const dualScreenTop = topWindow.screenTop !==  undefined   ? topWindow.screenTop  : topWindow.screenY;\r\n \r\n      const width = topWindow.innerWidth ? topWindow.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;\r\n      const height = topWindow.innerHeight ? topWindow.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;\r\n \r\n      const h = height * .75;\r\n      const w = 500;\r\n \r\n      const systemZoom = width \/ topWindow.screen.availWidth;\r\n      const left = (width - w) \/ 2 \/ systemZoom + dualScreenLeft;\r\n      const top = (height - h) \/ 2 \/ systemZoom + dualScreenTop;\r\n      const newWindow = window.open(url, title, `scrollbars=yes, width=${w \/ systemZoom}, height=${h \/ systemZoom}, top=$, left=$`);\r\n \r\n      if (window.focus) newWindow.focus();\r\n    }\r\n \r\n    \/\/ This overrides the default checkout button click handler to show the embed modal\r\n    \/\/ instead of opening a new tab with the given link url\r\n    document.getElementById('embedded-checkout-modal-checkout-button').addEventListener('click', function (e) {\r\n      showCheckoutWindow(e);\r\n    });\r\n <\/script><\/div>\r\n<p>Please enter your account and invoice numbers in the reference box when making a payment. \u00a0(For example ABCD123\/INV01234, you can find these on the top right of your invoice)<\/p>\r\n<p>Please contact our finance team at <a href=\"mailto:finance@scotland.anglican.org\"><span class=\"s6\">finance@scotland.anglican.org<\/span><\/a> should you have any queries regarding your payment.<\/p>\r\n<p>Thank you<\/p>\r\n<p><a name=\"_GoBack\"><\/a><\/p>\r\n<p>&nbsp;<\/p>\r\n<!-- \/wp:post-content -->","protected":false},"excerpt":{"rendered":"We have two options for payment of invoices to the General Synod Office: Bank transfer Our preferred method of invoice payment is by electronic bank transfer. Our details are: Account name: Scottish Episcopal ChurchSort Code: 80-11-20Account Number: 00729349 Please use your account and invoice numbers as the payment reference. \u00a0(For example ABCD123\/INV01234, you can find [&hellip;]","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-71713","post","type-post","status-publish","format-standard","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/posts\/71713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/comments?post=71713"}],"version-history":[{"count":0,"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/posts\/71713\/revisions"}],"wp:attachment":[{"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/media?parent=71713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/categories?post=71713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hillside.work\/sec\/staging\/wp-json\/wp\/v2\/tags?post=71713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}