{"id":2532,"date":"2017-06-09T20:53:27","date_gmt":"2017-06-09T20:53:27","guid":{"rendered":"http:\/\/cldt.hr\/doniraj\/"},"modified":"2021-04-21T15:06:48","modified_gmt":"2021-04-21T14:06:48","slug":"donate","status":"publish","type":"page","link":"https:\/\/cldt.hr\/en\/donate\/","title":{"rendered":"Donate"},"content":{"rendered":"\n<h2 class=\"has-large-font-size wp-block-heading\" id=\"your-support matters\"><strong>Your support matters<\/strong><\/h2>\n\n\n\n<p>CLDTA is only nonprofit organisation dedicated to development of the entire CLDT. Our work would not be possible without the support of many people around the world who sympathized with our cause, like the CLDT, and hiking and nature in general. You donation supports our work of preserving and managing the CLDT. Sincerely, we thank you for your support.<\/p>\n\n\n\n<p>Your donations help us to:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>coordinate volunteer work in the field,<\/li><li>successfully mark and GPX record over 2000 km of trail,<\/li><li>maintain our informative website,<\/li><li>take care of ecological aspect of areas that CLDT goes through,<\/li><li>release trail related publications,<\/li><li>enable ecologically acceptable platform for tourist, mountaineering &amp; adventure type of tourism, especially useful for personal growth of those who will embark on thru-hike of Croatia.<\/li><\/ul>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"has-large-font-size wp-block-heading\" id=\"ways-to-give\"><strong>Ways to give<\/strong><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">1. Bank deposit<\/h2>\n\n\n\n<p>To donate via bank deposit visit your bank or Internet Banking to transfer funds to the following account:<\/p>\n\n\n<p>[vc_message icon_fontawesome=&#8221;fa fa-info&#8221;]<\/p>\n<p><b>Association name:<\/b> Long Distance Trail Hrvatska Association<\/p>\n<p><b>Association\u2019s short name:<\/b> LDTH<\/p>\n<p><b>OIB \/ PIN:<\/b> 25234697349<\/p>\n<p><b>IBAN (recipient\u2019s account number):<\/b> HR4623400091110868427<\/p>\n<p><b>SWIFT:<\/b> PBZGHR2X<\/p>\n<p><b>Description:<\/b> Donation (for LDTH)<\/p>\n<p><b>Amount:<\/b> enter the amount you want to donate<\/p>\n<p>[\/vc_message]<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">2. PayPal<\/h2>\n\n\n\n<div><style>\r\n        .wpedon-container .wpedon-select,\r\n        .wpedon-container .wpedon-input {\r\n            width: 300px;\r\n            min-width: 300px;\r\n            max-width: 300px;\r\n        }\r\n    <\/style><div class='wpedon-container wpedon-align-left'>\r\n\t\t<script>\r\n\t\tjQuery(document).ready(function(){\r\n\t\t\tjQuery('#dd_71df610b01465d0f4cd7a1fc33124e2f').on('change', function() {\r\n\t\t\t  jQuery('#amount_71df610b01465d0f4cd7a1fc33124e2f').val(this.value);\r\n              jQuery('#price_71df610b01465d0f4cd7a1fc33124e2f').val(this.value);\r\n\t\t\t});\r\n\t\t});\r\n\t\t<\/script>\r\n\t\t<br \/><label style='font-size:11pt !important;'>Choose amount<\/label><br \/><select class='wpedon-select' name='dd_71df610b01465d0f4cd7a1fc33124e2f' id='dd_71df610b01465d0f4cd7a1fc33124e2f'><option value='5.00'>$5<\/option><option value='10.00'>$10<\/option><option value='20.00'>$20<\/option><option value='50.00'>$50<\/option><option value='100.00'>$100<\/option><option value='200.00'>$200<\/option><option value='300.00'>$300<\/option><option value='500.00'>$500<\/option><option value='1000.00'>$1000<\/option><option value='3000.00'>$3000<\/option><\/select><br \/><br \/><form class='wpedon-form wpedon-form-disabled' id='71df610b01465d0f4cd7a1fc33124e2f' action='#' method='post'>\t\t<script\r\n\t\t\tsrc='https:\/\/www.paypal.com\/sdk\/js?client-id=Advx1wc_4Se6ICsYnMXTqWntyS0F1VdRHIeWnT2Qgv0nFi6sD86KEM9DSxcG79rq_weHqfs1uClL1xDy&merchant-id=E8JDCBDAK94NA&currency=USD&intent=capture&components=buttons,funding-eligibility&locale=en_US&enable-funding=card'\r\n\t\t\tdata-partner-attribution-id='WPPlugin_STP_CP'\r\n\t\t\t\t\t><\/script>\r\n\t\t<style>\r\n        .wpedon-paypal-button-container > *,\r\n        .wpedon-paypal-hosted-fields-container .wpedon-paypal-btn,\r\n        .wpedon-form .wpedon-or {\r\n            width: 300px;\r\n            min-width: 300px;\r\n            max-width: 300px;\r\n        }\r\n        .wpedon-paypal-hosted-fields-container .wpedon-paypal-btn {\r\n            height: 40px;\r\n        }\r\n\t\t<\/style>\r\n\t\t<script>\r\n      const wpedonPaypalFunding = [\"paypal\",\"card\"];\r\n\t\t<\/script>\r\n\t\t\r\n\t<!-- Buttons container -->\r\n\t<div id='wpedon-paypal-button-container-71df610b01465d0f4cd7a1fc33124e2f' class='wpedon-paypal-button-container wpedon-vertical'><\/div>\r\n\r\n\t\t<div id='wpedon-paypal-message-71df610b01465d0f4cd7a1fc33124e2f' class='wpedon-payment-message'><\/div>\r\n\r\n\r\n\r\n\r\n\t<script>\r\n    const message_71df610b01465d0f4cd7a1fc33124e2f = document.getElementById('wpedon-paypal-message-71df610b01465d0f4cd7a1fc33124e2f');\r\n    if ( typeof paypal === 'undefined' ) {\r\n      message_71df610b01465d0f4cd7a1fc33124e2f.innerHTML = '<span class=\"payment-error\">' + \r\n          'An error occurred while connecting PayPal SDK. Check the plugin settings.' + '<\/span>';\r\n      throw 'An error occurred while connecting PayPal SDK. Check the plugin settings.';\r\n    }\r\n\r\n    paypal.getFundingSources().forEach(function (fundingSource) {\r\n      if ( wpedonPaypalFunding.indexOf(fundingSource) > -1 ) {\r\n        const style = {\r\n          shape: 'rect',\r\n          label: 'donate',\r\n          height: 40        };\r\n\r\n        if ( fundingSource !== 'card' ) {\r\n          let color = 'gold';\r\n          if (fundingSource === 'venmo' && color === 'gold') {\r\n            color = 'blue';\r\n          } else if (['ideal', 'bancontact', 'giropay', 'eps', 'sofort', 'mybank', 'p24'].indexOf(fundingSource) > -1 && ['gold', 'blue'].indexOf(color) > -1) {\r\n            color = 'default';\r\n          } else if (fundingSource === 'credit' && ['darkblue', 'black', 'white'].indexOf(color) === -1) {\r\n              color = 'darkblue';\r\n          }\r\n          style.color = color;\r\n        }\r\n\r\n        const button = paypal.Buttons({\r\n          fundingSource: fundingSource,\r\n          style: style,\r\n          createOrder: function() {\r\n            message_71df610b01465d0f4cd7a1fc33124e2f.innerHTML = '';\r\n\r\n            const form = document.getElementById('71df610b01465d0f4cd7a1fc33124e2f');\r\n            const formData = new FormData(form);\r\n            formData.append('action', 'wpedon-ppcp-order-create');\r\n            formData.append('nonce', wpedon.nonce);\r\n\r\n            return fetch(wpedon.ajaxUrl, {\r\n              method: 'post',\r\n              body: formData\r\n            }).then(function(response) {\r\n              return response.json();\r\n            }).then(function(data) {\r\n              let orderID = false;\r\n              if (data.success && data.data.order_id) {\r\n                orderID = data.data.order_id;\r\n              } else {\r\n                throw data.data && data.data.message ? data.data.message : 'An unknown error occurred while creating the order. Please reload the page and try again.';\r\n              }\r\n              return orderID;\r\n            });\r\n          },\r\n          onApprove: function(data) {\r\n            const formData = new FormData();\r\n\r\n            formData.append('action', 'wpedon-ppcp-order-finalize');\r\n            formData.append('nonce', wpedon.nonce);\r\n            formData.append('order_id', data.orderID);\r\n\r\n            return fetch(wpedon.ajaxUrl, {\r\n              method: 'post',\r\n              body: formData\r\n            }).then(function(response) {\r\n              return response.json();\r\n            }).then(function(data) {\r\n              if (data.success) {\r\n\t\t\t    var return_url = '';\r\n                if (return_url.length) {\r\n                  window.location.href = return_url;\r\n                } else {\r\n                  message_71df610b01465d0f4cd7a1fc33124e2f.innerHTML = '<span class=\"payment-success\">' + \r\n                    'The payment was successful' + '<\/span>';\r\n                }\r\n              } else {\r\n                throw data.data.message;\r\n              }\r\n            });\r\n          },\r\n          onCancel: function() {\r\n            if (wpedon.cancel.length && fundingSource !== 'card') {\r\n              window.location.href = wpedon.cancel;\r\n            } else {\r\n              message_71df610b01465d0f4cd7a1fc33124e2f.innerHTML = '<span class=\"payment-error\">' + \r\n                'The payment was cancelled.' + '<\/span>';\r\n            }\r\n          },\r\n          onError: function (error) {\r\n            message_71df610b01465d0f4cd7a1fc33124e2f.innerHTML = '<span class=\"payment-error\">' + (error ? error : '<strong>Site admin<\/strong>, an error was detected in the plugin settings.<\/br>Please check the PayPal connection and product settings (price, name, etc.)') + '<\/span>';\r\n          }\r\n        });\r\n\r\n        if (button.isEligible()) {\r\n          button.render('#wpedon-paypal-button-container-71df610b01465d0f4cd7a1fc33124e2f');\r\n        }\r\n      }\r\n    });\r\n\r\n\t\t\t<\/script>\r\n\t\r\n\t\r\n\t\r\n\t<input type='hidden' name='amount' id='amount_71df610b01465d0f4cd7a1fc33124e2f' value='5.00' \/><input type='hidden' name='price' id='price_71df610b01465d0f4cd7a1fc33124e2f' value='5.00' \/><input type='hidden' name='item_number' value='' \/><input type='hidden' name='item_name' value='Donation (for LDTH)' \/><input type='hidden' name='name' value='Donation (for LDTH)' \/><input type='hidden' name='custom' value='3720'><input type='hidden' name='no_shipping' value='1'><input type='hidden' name='no_note' value='1'><input type='hidden' name='currency_code' value='USD'><\/form><\/div><\/div>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Your support matters CLDTA is only nonprofit organisation dedicated to development of the entire CLDT. Our work would not be possible without the support of many people around the world who sympathized with our cause, like the CLDT, and hiking and nature in general. You donation supports our work of preserving and managing the CLDT. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-2532","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/cldt.hr\/en\/wp-json\/wp\/v2\/pages\/2532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cldt.hr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cldt.hr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cldt.hr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cldt.hr\/en\/wp-json\/wp\/v2\/comments?post=2532"}],"version-history":[{"count":15,"href":"https:\/\/cldt.hr\/en\/wp-json\/wp\/v2\/pages\/2532\/revisions"}],"predecessor-version":[{"id":3773,"href":"https:\/\/cldt.hr\/en\/wp-json\/wp\/v2\/pages\/2532\/revisions\/3773"}],"wp:attachment":[{"href":"https:\/\/cldt.hr\/en\/wp-json\/wp\/v2\/media?parent=2532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}