{"id":15324,"date":"2022-11-04T13:45:05","date_gmt":"2022-11-04T13:45:05","guid":{"rendered":"https:\/\/www.pah.org.pl\/wplac-test\/"},"modified":"2026-01-19T13:57:08","modified_gmt":"2026-01-19T12:57:08","slug":"donate","status":"publish","type":"page","link":"https:\/\/www.pah.org.pl\/en\/donate\/","title":{"rendered":"Donate"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row full_width=&#8221;stretch_row_content_no_spaces&#8221;][vc_column]<div>\n  <div class=\"custom-section donation-form\">\n\n<form id=\"donation-custom-form\" action=\"\/wp-content\/themes\/pah\/app\/lib\/Donations\/web\/app.php\/payu\/payment\/process\" method=\"post\">\n  <input type=\"hidden\" class=\"\" name=\"token\">\n  <input type=\"hidden\" class=\"\" name=\"targetURL\" value=\"https:\/\/www.pah.org.pl\/dziekujemy-za-twoja-darowizne\/\">\n\n  <div class=\"custom-container custom-page-1 color-1 bold\">\n    <div class=\"title\">\n            <div class=\"target-title\">I'm donating to support PAH's humanitarian work around the world<\/div>\n    <\/div>\n    <div class=\"container-amount\">\n      <div class=\"amount-title\">\n        1. Select amount      <\/div>\n      <div class=\"amount-choose\">\n        <label for=\"val-1\" class=\"for-radio defined\">\n          <input checked type=\"radio\" name=\"amount\" id=\"val-1\" value=\"50\">\n          50<span class=\"currency\">PLN<\/span>\n        <\/label>\n        <label for=\"val-2\" class=\"for-radio defined\">\n          <input checked type=\"radio\" name=\"amount\" id=\"val-2\" value=\"100\">\n          100<span class=\"currency\">PLN<\/span>\n        <\/label>\n        <label for=\"val-3\" class=\"for-radio defined\">\n          <input  type=\"radio\" name=\"amount\" id=\"val-3\" value=\"250\">\n          250<span class=\"currency\">PLN<\/span>\n        <\/label>\n        <label for=\"val-4\" class=\"for-radio notdefined\">\n          <input type=\"radio\" name=\"amount\" min=\"1\" id=\"val-4\" value=\"\" >\n          <span class=\"custom-ammount r \">\n            Inna kwota          <\/span>\n          <div class=\"type-container display-none\">\n            <input type=\"number\" name=\"amount-value\" placeholder=\"Wpisz kwot\u0119\" class=\"type-ammount\"\n                   step=\"1\" min=\"5\" value=\"\"><span class=\"currency\">PLN<\/span>\n          <\/div>\n        <\/label>\n      <\/div>\n      <div class=\"amount-currency book\">\n        <div class=\"currency-title\">\n          <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/currency-euro-dollar-exchange.svg\" alt=\"\"\n            class=\"currency-image\">\n          <span class=\"list-change\">\n            Change currency<img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/small-arrow.svg\"\n              class=\"arrow-image\" alt=\"\">\n            <input type=\"hidden\" class=\"hidden-currency\" name=\"currency\" value=\"PLN\">\n            <div class='currency-list hidden-list display-none'>\n              <div class=\"item\">\n                PLN\n              <\/div>\n              <div class=\"item\">\n                EUR\n              <\/div>\n              <div class=\"item\">\n                GBP\n              <\/div>\n              <div class=\"item\">\n                USD\n              <\/div>\n            <\/div>\n          <\/span>\n        <\/div>\n      <\/div>\n    <\/div>\n    <div class=\"container-target\">\n      <div class=\"target-title\">\n        1. Deposit type      <\/div>\n      <div class=\"container-type\">\n        <label for=\"val-5\" class=\"for-radio\">\n          <input type=\"radio\" name=\"payment_type\" id=\"val-5\" value=\"single\">\n          Disposable        <\/label>\n        <label for=\"val-6\" class=\"for-radio\">\n          <input checked type=\"radio\" name=\"payment_type\" id=\"val-6\" value=\"recurring\">\n          Co miesi\u0105c        <\/label>\n      <\/div>\n      <div class=\"amount-currency book\">\n        <div class=\"target-container\">\n          <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/target.svg\" alt=\"\" class=\"currency-image\">\n          <span class=\"list-change\">\n            Select a target (optional)<img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/small-arrow.svg\"\n              class=\"arrow-image\" alt=\"\">\n            <div class='target-list hidden-list display-none'>\n                              <div class=\"item\" data-item=im-donating-to-support-pahs-humanitarian-work-around-the-world>\n                  I'm donating to support PAH's humanitarian work around the world                <\/div>\n                                <div class=\"item\" data-item=im-donating-sos-lebanon>\n                  I'm donating SOS LEBANON                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-support-people-in-ukraine>\n                  I'm donating to support people in Ukraine                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-support-people-on-the-polish-belarusian-border>\n                  I'm donating to support people on the Polish-Belarusian border                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-provide-food-aid-in-the-world>\n                  I'm donating to provide food aid in the world                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-provide-access-to-water-and-toilets-around-the-world>\n                  I'm donating to provide access to water and toilets around the world                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-provide-access-to-education>\n                  I'm donating to provide access to education                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-help-people-in-somalia>\n                  I'm donating to help people in Somalia                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-help-people-in-south-sudan>\n                  I'm donating to help people in South Sudan                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-help-people-in-yemen>\n                  I'm donating to help people in Yemen                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-help-people-in-palestine>\n                  I'm donating to help people in Palestine                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-support-pajacyk-aid-for-children-in-poland>\n                  I'm donating to support Pajacyk - aid for children in Poland                <\/div>\n                                <div class=\"item\" data-item=im-donating-to-help-people-in-syria>\n                  I'm donating to help people in Syria                <\/div>\n                              <input type=\"hidden\" name=\"description\" value=\"I'm donating to support PAH's humanitarian work around the world\" data-target=\"im-donating-to-support-pahs-humanitarian-work-around-the-world\"\n                class=\"hidden-target\">\n            <\/div>\n          <\/span>\n        <\/div>\n      <\/div>\n    <\/div>\n    <div class=\"container-nav-buttons extrabold\">\n      <div class=\"step-1 step active\">\n        Krok 1      <\/div>\n      <div class=\"step-2 step\">\n        Krok 2      <\/div>\n      <div class=\"step-3 step\">\n        Krok 3      <\/div>\n      <div class=button-cont>\n        <div class=\"custom-link-5 next-button\">\n          Dalej        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n  <div class=\"custom-container custom-page-2 color-1 bold display-none\">\n    <div class=\"container-grid-page\">\n      <div class=\"cont-left\">\n        <div class=\"title\">\n          <span class=\"title-in\">\n\n            <span class=\"js-occurence-single js-occurence\" >\n              Disposable            <\/span>\n            <span class=\"js-occurence-recurring js-occurence\" >\n              Co miesi\u0105c            <\/span>\n\n          <\/span>\n          <span class=\"ammount js-amount\">\n            100          <\/span><span class=\"currency\">PLN<\/span><span class=\"target\"><\/span>\n        <\/div>\n        <div class=\"subtitle medium \">\n          Uzupe\u0142nij niezb\u0119dne dane osobowe        <\/div>\n<!--          <input type=\"hidden\" name=\"phone_number\" value=\"\" \/>-->\n          <input type=\"hidden\" name=\"city\" value=\"\" \/>\n          <input type=\"hidden\" name=\"birth_date\" value=\"\" \/>\n          <input type=\"hidden\" name=\"address\" value=\"\" \/>\n          <input type=\"hidden\" name=\"post_code\" value=\"\" \/>\n          <input type=\"hidden\" name=\"sector\" value=\"\" \/>\n          <input type=\"hidden\" name=\"company_name\" value=\"\" \/>\n<!--          <input type=\"hidden\" name=\"description\" value=\"PAH\" \/>-->\n\n        <label for=\"name\" class=\"for-text normal\">\n          Imi\u0119<span class=\"star\">*<\/span>\n          <input required type=\"text\" name=\"first_name\" id=\"name\" placeholder=\"Wpisz imi\u0119\">\n        <\/label>\n        <label for=\"last-name\" class=\"for-text normal\">\n          Nazwisko<span class=\"star\">*<\/span>\n          <input required type=\"text\" name=\"last_name\" id=\"last-name\"\n            placeholder=\"Wpisz nazwisko\">\n        <\/label>\n        <label for=\"email\" class=\"for-text normal\">\n          Adres e-mail<span class=\"star\">*<\/span>\n          <input required type=\"text\" name=\"email\" id=\"email\" placeholder=\"Wpisz e-mail\">\n        <\/label>\n\n        <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/intl-tel-input@27.1.3\/dist\/css\/intlTelInput.css\">\n\n\n        <label for=\"phone_number\" class=\"for-text normal\">\n          <div>\n            Numer telefonu          <\/div>\n\n          <!-- W <head> -->\n          <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/intl-tel-input@23\/build\/css\/intlTelInput.css\">\n\n          <span>\n            <!-- Input -->\n            <input\n              type=\"tel\"\n              name=\"phone_number_display\"\n              id=\"phone_number\"\n              placeholder=\"Wpisz numer telefonu\"\n            >\n          <\/span>\n\n          <input type=\"hidden\" name=\"phone_number\" id=\"phone_number_clean\">\n\n          <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/intl-tel-input@23\/build\/js\/intlTelInput.min.js\"><\/script>\n\n       <\/label>\n\n        <div style=\"margin-top: 20px\" >\n          <div id=\"widget-container\" ><\/div>\n\n\n          <!-- Stripe-->\n          <div class=\"js-form-details js-form-details-stripe\" >\n            <div class=\"side-donations__stripe-wrong-options js-stripe-wrong-options\" >\n              Przepraszamy, w przypadku p\u0142atno\u015bci Stripe nie mo\u017cesz poda\u0107 w\u0142asnej kwoty oraz p\u0142atno\u015bci w PLN. Wybierz inn\u0105 metod\u0119 p\u0142atno\u015bci, lub wybierz kwoty zdefiniowane            <\/div>\n          <\/div>\n          <!-- #Stripe-->\n\n        <\/div>\n      <\/div>\n      <div class=\"cont-right\">\n        <div class=\"container-logos\">\n          <label for=\"logo-1\" class=\"for-radio pay payu\">\n            <input checked type=\"radio\" name=\"logo\" id=\"logo-1\" value=\"payu\">\n            <span class=\"w-full\" >\n              <img decoding=\"async\" class=\"inline\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/payu.svg\" alt=\"\"> <span class=\"text-black-50\" >\/ przelew \/ blik \/ karta<\/span>\n            <\/span>\n          <\/label>\n\n          <label for=\"logo-2\" class=\"for-radio  pay\">\n            <input type=\"radio\" name=\"logo\" id=\"logo-2\" value=\"stripe\">\n            <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/stripe.svg\" alt=\"\">\n          <\/label>\n\n          <label for=\"logo-3\" class=\"for-radio  pay\">\n            <input type=\"radio\" name=\"logo\" id=\"logo-3\" value=\"paypal\">\n            <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/pp.svg\" alt=\"\">\n          <\/label>\n        <\/div>\n        <div class=\"permission\">\n          <label for=\"per-1\" class=\"for-box\">\n            <input required type=\"checkbox\" name=\"personal_data_agreement\" id=\"per-1\" value=\"1\">\n            <span><span class=\"star\">*<\/span>\n              Wyra\u017cam zgod\u0119 na przekazywanie przez PAH moich danych osobowych zawartych w formularzu p\u0142atno\u015bci do PayU Sp\u00f3\u0142ka Akcyjna z siedzib\u0105 w Poznaniu, przy ul. Grunwaldzkiej 182, KRS 0000274399, w celu realizacji p\u0142atno\u015bci mojej darowizny na rzecz PAH.            <\/span>\n          <\/label>\n          <!--<label for=\"per-2\" class=\"for-box\">\n            <input type=\"checkbox\" name=\"tele\" id=\"per-2\" value=\"1\">\n                      <\/label>-->\n          <label for=\"per-3\" class=\"for-box\">\n            <input type=\"checkbox\" name=\"mailing\" id=\"per-3\" value=\"1\">\n            <span>\n                Chc\u0119 otrzymywa\u0107 od PAH newsletter zawieraj\u0105cy informacj\u0119 o rezultatach dzia\u0142a\u0144, kt\u00f3re s\u0105 mo\u017cliwe dzi\u0119ki mojemu wsparciu, a tak\u017ce potrzebach ludzi, do kt\u00f3rych wsp\u00f3lnie docieramy z pomoc\u0105. Rozumiem, \u017ce moje dane osobowe b\u0119d\u0105 przetwarzane przez PAH w celu obs\u0142ugi newslettera na zasadach opisanych w <a href=\"\/polityka-prywatnosci\/\" target=\"_blank\">polityce prywatno\u015bci<\/a>  i \u017ce w ka\u017cdym momencie mog\u0119 wycofa\u0107 zgod\u0119 lub poprosi\u0107 o wgl\u0105d w moje dane.            <\/span>\n          <\/label>\n          <label for=\"per-4\" class=\"for-box\">\n            <input type=\"checkbox\" id=\"per-4\">\n            Zaznacz wszystko.          <\/label>\n        <\/div>\n      <\/div>\n      <div class=\"container-nav-buttons extrabold\">\n        <div class=\"step-1 step\">\n          Krok 1        <\/div>\n        <div class=\"step-2 step active\">\n          Krok 2        <\/div>\n        <div class=\"step-3 step\">\n          Krok 3        <\/div>\n        <div class=button-cont>\n\n\n\n\n          <input type=\"submit\" value=\"Przeka\u017c\" class=\"g-recaptcha custom-link-5 js-submit-btn\"\n            data-sitekey=\"6Lf7VBcsAAAAAHDNb9p3qbykEM-q5pTWU-WKz3Ys\"\n            data-callback='onSubmit'\n            data-action='submit'\n          >\n          <script>\n            function onSubmit(token) {\n              $('#donation-custom-form').submit();\n            }\n          <\/script>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n  <div class=\"custom-container custom-page-3 color-1 bold display-none\">\n    <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/after-send-image.jpg\" alt=\"\">\n    <div class=\"h1-text big-title bold\">\n      Dzi\u0119kujemy za Tw\u00f3j wk\u0142ad    <\/div>\n    <div class=\"container-nav-buttons extrabold\">\n      <div class=\"step-1 step\">\n        Krok 1      <\/div>\n      <div class=\"step-2 step\">\n        Krok 2      <\/div>\n      <div class=\"step-3 step active\">\n        Krok 3      <\/div>\n      <div class=button-cont>\n        <a href=\"https:\/\/www.pah.org.pl\/en\/\" class=\"custom-link-5\">\n          Powr\u00f3\u0107 do serwisu        <\/a>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/form>\n\n    <div class=\"custom-container\" style=\"margin-top:-40px\">\n      <!-- Paypal -->\n      <div class=\"js-form-details js-form-details-paypal\" >\n        <div class=\"side-donations__paypal-recurring-alert js-paypal-recurring-alert\" >\n          Przy wybranej opcji p\u0142atno\u015bci powtarzalnych, musisz na stronie Paypal zaznaczy\u0107 opcj\u0119 \"Make this a monthly donation\"        <\/div>\n        <form\n          style=\"display: flex;justify-content: end;\"\n          accept-charset=\"UTF-8\"\n          enctype=\"multipart\/form-data\"\n          action=\"https:\/\/www.paypal.com\/donate\" method=\"post\">\n          <!-- Identify your business so that you can collect the payments. -->\n          <input type=\"hidden\" name=\"business\" value=\"paypal@pah.org.pl\">\n          <!-- Specify details about the contribution -->\n          <input type=\"hidden\" name=\"no_recurring\" value=\"0\">\n          <!--<input type=\"hidden\" name=\"lc\" value=\"PL_pl\">\n          <input type=\"hidden\" name=\"locale.x\" value=\"PL_pl\">-->\n          <input type=\"hidden\" name=\"item_name\" value=\"\">\n          <input type=\"hidden\" name=\"item_number\" value=\"\">\n          <input type=\"hidden\" name=\"amount\" class=\"js-amount-val\" value=\"15\">\n          <input type=\"hidden\" name=\"currency_code\" class=\"js-currency-val\" value=\"PLN\">\n          <!-- Display the payment button. -->\n          <input style=\"border: none\" type=\"image\" name=\"submit\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/assets\/images\/button-01.png\" alt=\"Donate\">\n          <img loading=\"lazy\" decoding=\"async\" alt=\"\" width=\"1\" height=\"1\" src=\"https:\/\/www.paypalobjects.com\/en_US\/i\/scr\/pixel.gif\" >\n        <\/form>\n\n      <\/div>\n      <!-- #Paypal -->\n    <\/div>\n\n<\/div>\n\n<\/div>\n<script>\n  let $ = jQuery.noConflict();\n\n  $(document).ready(function() {\n    selectProvider();\n    updateStripeLocalOptions();\n    updatePaypalLocalOptions();\n    const initialData = getFormData()\n    updateAmount(initialData.amount);\n\n    const input = document.querySelector('#phone_number');\n    const iti = window.intlTelInput(input, {\n      initialCountry: 'pl',\n      utilsScript: 'https:\/\/cdn.jsdelivr.net\/npm\/intl-tel-input@23\/build\/js\/utils.js',\n      formatAsYouType: true,\n    });\n\n    input.addEventListener('keydown', function (e) {\n      const allowed = \/[\\d\\s\\+\\-]|Backspace|Delete|ArrowLeft|ArrowRight|ArrowUp|ArrowDown|Tab\/;\n      if (!allowed.test(e.key)) {\n        e.preventDefault();\n      }\n    });\n\n    $('.next-button').click( function(evt) {\n      const input = $(this).closest('form').find('[name=\"amount-value\"]')[0];\n      const customPage1 = $(this).closest('.custom-page-1')\n      const customPage2 = $(this).closest('.custom-page-1').siblings('.custom-page-2')\n\n      \/\/ If the form is not valid, trigger native validation UI\n      if (!input.checkValidity()) {\n        evt.preventDefault();\n        input.reportValidity();\n        return;\n      }\n\n      \/\/ showing form page\n      customPage1.addClass('display-none');\n      customPage2.removeClass('display-none');\n\n      const data = getFormData()\n      updateCurrency(data.currency)\n\n      \/\/ updating custom amount\n      if( $('[name=\"amount-value\"]').val() ) {\n        updateAmount($('[name=\"amount-value\"]').val())\n      }\n    } );\n\n    $('#donation-custom-form').submit( function() {\n      const form = $(this).closest('form')[0];\n\n\n      const raw = iti.getNumber();\n      const clean = raw.replace(\/[\\s\\-]\/g, '');\n      console.log(\"clean\", clean)\n      $('#phone_number_clean').val(clean);\n\n      if (!form.checkValidity()) {\n        evt.preventDefault();\n        form.reportValidity();\n        return;\n      }\n\n      var formData = getFormData()\n\n      if( formData.providerName !== 'payu' ) {\n        if( formData.providerName ==='stripe' ) {\n          window.triggerStripe()\n        } else{\n\n        }\n        return false\n      }\n\n      if( $('#donation-custom-form [name=\"payment_type\"]:checked').val() == 'recurring' && !jQuery('#donation-custom-form').find('input[name=\"token\"]').val() ) {\n        const data = getFormData()\n\n        let nr = 1\n        let price = $('[name=\"amount\"]:checked').val()\n        let currency = data.currency\n\n        const values = {\n          formNr: nr,\n          amount: price,\n          language: window.WP.language,\n          currency,\n        };\n\n\n        $.ajax({\n          url: `\/\/${window.location.hostname}\/wp-content\/themes\/pah\/app\/lib\/Donations\/web\/app.php\/payu\/payment\/widget`,\n          data: values,\n          dataType: 'html',\n          type: 'post',\n          success: (response, textStatus, xhr) => {\n            console.log( 'response from the server', response, xhr, $('#widget-container').length);\n            $('#widget-container').append(response);\n          },\n        });\n\n        return false\n      } else {\n        console.log( 'Its not recurring payment' );\n      }\n    } )\n\n    selectOccurence('recurring')\n\n    $('[name=\"payment_type\"]').change(function(){\n      console.log( 'Payment type change' );\n      selectOccurence($(this).val())\n    })\n\n    $('[name=\"amount\"]').change(function(){\n      updateAmount($(this).val())\n    })\n\n    $('.hidden-currency').change(function(){\n      console.log( 'currency changed', $(this).val() );\n      updateCurrency($(this).val())\n    })\n\n    $('[name=\"amount-value\"]').change(function(){\n      const amount = $(this).val()\n      updateAmount(amount)\n    })\n\n    $('[name=\"logo\"]').change(function(){\n      selectProvider()\n    })\n  })\n\n  function selectOccurence( type ) {\n    console.log( 'Changing occurence ', type, $('.js-occurence') );\n    $('.js-occurence').hide()\n    $('.js-occurence-' + type).show()\n  }\n\n  function selectProvider() {\n    var formData = getFormData();\n\n    \/\/ onpy payu actually submits the form\n    $('.js-form-details').hide();\n    $('.js-form-details-'+formData.providerName).show();\n\n    if( formData.providerName =='paypal' ) {\n      console.log(\"Hiding button, bcause paypal was selected as a provider\")\n      $('.js-submit-btn').hide()\n    } else {\n      $('.js-submit-btn').show()\n    }\n\n\n    if( formData.providerName != 'payu' ) {\n      if( formData.providerName == 'paypal' ) {\n        updatePaypalLocalOptions();\n      } else if( formData.providerName == 'stripe' ) {\n        updateStripeLocalOptions();\n      }\n      return false;\n    }\n\n    return true\n  }\n\n  function updateCurrency( value ) {\n    $('.js-currency-val').val(value)\n    $('.hidden-currency').val(value)\n  }\n\n  function updateAmount(amount) {\n    $('.js-amount').html(amount);\n    $('.js-amount-val').val(amount);\n\n    if( $('#val-4').is(':checked') ) {\n      $('#val-4').val(amount)\n    }\n  }\n\n  function success_action($data) {\n    jQuery('#donation-custom-form').find('input[name=\"token\"]').val($data.value);\n    jQuery('#donation-custom-form').submit();\n  }\n\n  function getFormData() {\n    var currency = jQuery('input[name=\"currency\"]').val();\n    var amount = $('[name=\"amount\"]:checked').val();\n    var type = $('[name=\"payment_type\"]').val();\n    var providerName = $('[name=\"logo\"]:checked').val();\n\n    return {\n      currency: currency,\n      amount: amount,\n      type: type,\n      providerName: providerName\n    };\n  }\n\n  \/** Paypal *\/\n  function updatePaypalLocalOptions() {\n    var data = getFormData();\n\n    if( data.type === 'recurring' ) {\n      jQuery('.js-paypal-recurring-alert').show();\n    } else {\n      jQuery('.js-paypal-recurring-alert').hide();\n    }\n  }\n\n  \/** stripe *\/\n  function updateStripeLocalOptions() {\n    \/\/ lets update options of the stripe button\n    var data = getFormData();\n\n    if( data.providerName !== 'stripe' ) {\n      return;\n    }\n\n    if( window.isStripeAmountAvailable( data.currency, data.amount ) ) {\n      jQuery( '.js-stripe-wrong-options' ).hide();\n      jQuery( '.js-submit-btn' ).show();\n      jQuery( '#stripe-checkout-button' ).show();\n\n      console.log( 'Stripe values are ok ', data );\n      window.updateStripeGlobalOptions( data.type, data.amount, data.currency );\n    } else {\n      console.log( 'Stripe values are NOT ok, hiding submit button', data );\n      jQuery( '.js-stripe-wrong-options' ).show();\n      jQuery( '.js-submit-btn' ).hide();\n      jQuery( '#stripe-checkout-button' ).hide();\n\n      console.log( 'Wrong currency or amount, stripe option cant be updated ', data );\n    }\n  }\n<\/script>\n\n\n\n<!-- Load Stripe.js on your website. -->\n<script src=\"https:\/\/js.stripe.com\/v3\"><\/script>\n\n<script>\n  window.stripeMode = 'payment';\n\n  \/\/ inital $50 price\n  window.stripePrice = 'price_1KkmXrAdNxVp8lC9ck8mQupS';\n\n  window.stripeValue = 50;\n  window.stripeCurrency = 'eur';\n\n  window.stripeMap = {\n    'chf': {\n      50: 'price_1KkmbYAdNxVp8lC9Tb7IFCWc',\n      100: 'price_1KkmbYAdNxVp8lC9KkKXHvDV',\n      250: 'price_1KkmbYAdNxVp8lC9cmZogNhg',\n    },\n\n    'usd' : {\n      50: 'price_1KkmXrAdNxVp8lC9ck8mQupS',\n      100: 'price_1KkmXrAdNxVp8lC9yMmXeghb',\n      250: 'price_1KkmXrAdNxVp8lC9dIRjVUtN',\n    },\n\n    'gbp' : {\n      50: 'price_1KkmaQAdNxVp8lC9CVBEYq6a',\n      100: 'price_1KkmaQAdNxVp8lC9ciWDONsN',\n      250: 'price_1KkmaQAdNxVp8lC9iPxl3NQV',\n    },\n\n    'eur' : {\n      50: 'price_1KkmZXAdNxVp8lC9Dyj6HcWF',\n      100: 'price_1KkmZXAdNxVp8lC9m2pU1b0C',\n      250: 'price_1KkmZXAdNxVp8lC9kdtz2Lmp',\n    },\n\n    'pln' : {\n      50: 'price_1L5oBpAdNxVp8lC9tILEWLXX',\n      100: 'price_1L5oBqAdNxVp8lC9ZH2eZih6',\n      250: 'price_1L5oBqAdNxVp8lC9ZlJNnC6u',\n    }\n  };\n\n  window.stripeSubscriptionMap = {\n    'chf': {\n      50: 'price_1KlVfhAdNxVp8lC9riMaKCbt',\n      100: 'price_1KlVfhAdNxVp8lC9Z126zSdm',\n      250: 'price_1KlVfhAdNxVp8lC9d8lWBiib',\n    },\n\n    'usd' : {\n      50: 'price_1KlVkjAdNxVp8lC9uChvpOvk',\n      100: 'price_1KlVkjAdNxVp8lC9LQYftp3Y',\n      250: 'price_1KlVkjAdNxVp8lC9dUNk3l2L',\n    },\n\n    'gbp' : {\n      50: 'price_1KlViMAdNxVp8lC9OWStNvBh',\n      100: 'price_1KlViMAdNxVp8lC9s5DgpZWE',\n      250: 'price_1KlViMAdNxVp8lC9HFDeuVcR',\n    },\n\n    'eur' : {\n      50: 'price_1KlVKoAdNxVp8lC9EyPxKPCx',\n      100: 'price_1KlVdAAdNxVp8lC9Tuaftzi7',\n      250: 'price_1KlVdVAdNxVp8lC93wGmQjSZ',\n    },\n\n    'pln' : {\n      50: 'price_1L5oFjAdNxVp8lC9B1LzFgyG',\n      100: 'price_1L5oFjAdNxVp8lC9GYVVl9W7',\n      250: 'price_1L5oFjAdNxVp8lC9j9OE5gHb',\n    }\n  };\n\n  function updateStripeOptions() {\n    if( window.stripeMode === 'payment' ) {\n      window.stripePrice = window.stripeMap[window.stripeCurrency.toLowerCase()][window.stripeValue];\n    } else {\n      window.stripePrice = window.stripeSubscriptionMap[window.stripeCurrency.toLowerCase()][window.stripeValue];\n    }\n  }\n\n  \/***\n   * @param mode single or recurring\n   * @param amount float -\n   * @param currency single or recurring\n   * *\/\n  window.updateStripeGlobalOptions = function ( mode, amount, currency ) {\n    currency = currency.toLowerCase();\n\n    if( mode === 'single' ) {\n      window.stripeMode = 'payment';\n    } else if( mode === 'recurring' ) {\n      window.stripeMode = 'subscription';\n    } else {\n      console.log( 'Wrong mode ', mode );\n      return;\n    }\n\n    if( !window.stripeMap[currency] ) {\n      console.warn( 'Wrong currency ', currency, window.stripeMap );\n      return;\n    } else {\n      window.stripeCurrency = currency;\n    }\n\n    if( !window.stripeMap[currency][amount] ) {\n      console.warn( 'Wrong amount ', amount );\n      return;\n    } else {\n      window.stripeValue = amount;\n    }\n\n    window.updateStripeOptions();\n  };\n\n  window.isStripeAmountAvailable = function( currency, amount ) {\n    if( !window.stripeMap[currency.toLowerCase()] ) {\n      console.warn( 'Wrong currency', currency, window.stripeMap );\n      return false;\n    }\n\n    return !!window.stripeMap[currency.toLowerCase()][amount];\n  };\n\n  try {\n    var stripe = Stripe('pk_live_51KiFQsAdNxVp8lC9bZTYzh28ZbUXwFsaVWUrv2k50eVaWbbjW8B96bCg1AUissWBF177seVgJS1AaTQtSGMTHhRw004jF2V4CJ');\n  } catch (err){\n    console.warn( err );\n  }\n\n  window.triggerStripe = function () {\n    console.log( 'Stripe triggered' );\n    \/**\n     * When the customer clicks on the button, redirect\n     * them to Checkout.\n     *\/\n\n    stripe.redirectToCheckout({\n      lineItems: [{price: window.stripePrice, quantity: 1}],\n      mode: window.stripeMode,\n\n      \/*\n       * Do not rely on the redirect to the successUrl for fulfilling\n       * purchases, customers may not always reach the success_url after\n       * a successful payment.\n       * Instead use one of the strategies described in\n       * https:\/\/stripe.com\/docs\/payments\/checkout\/fulfill-orders\n\n       *\/\n\n      successUrl: 'https:\/\/www.pah.org.pl\/success',\n      cancelUrl: 'https:\/\/www.pah.org.pl\/canceled',\n\n    }).then(function (result) {\n      if (result.error) {\n        \/**\n         * If `redirectToCheckout` fails due to a browser or network\n         * error, display the localized error message to your customer.\n         *\/\n        var displayError = document.getElementById('error-message');\n        displayError.textContent = result.error.message;\n      }\n    });\n  }\n<\/script>\n\n\n<!-- Load Stripe.js on your website. -->\n<section\n  class=\"custom-section faq big-padding-top none-padding-bottom\">\n  <div class=\"custom-container\">\n    <div class=\"grid-12\">\n              <div class=\"title h2-text bold\">\n          BANK ACCOUNT NUMBERS        <\/div>\n            <div class=\"subtitle h4-text medium\">\n        <div class=\"subtitle-in\">\n          Donations in PLN          <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/doc-arr-black.svg\" alt=\"\">\n        <\/div>\n        <div class=\"content\">\n          <div class=\"content-in default-text\">\n            <p>Alior Bank S.A.<\/p>\n<p>Account number:<strong><span class=\"number\">\u00a002 2490 0005 0000 4600 8316 8772<\/span><\/strong><\/p>\n<p>IBAN:\u00a0<strong><span class=\"number\">PL02 2490 0005 0000 4600 8316 8772<\/span><\/strong><\/p>\n<p>SWIFT CODE: ALBPPLPW<\/p>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/section><section\n  class=\"custom-section faq none-padding-top none-padding-bottom\">\n  <div class=\"custom-container\">\n    <div class=\"grid-12\">\n            <div class=\"subtitle h4-text medium\">\n        <div class=\"subtitle-in\">\n          Donations in EUR          <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/doc-arr-black.svg\" alt=\"\">\n        <\/div>\n        <div class=\"content\">\n          <div class=\"content-in default-text\">\n            <p>Alior Bank S.A.<\/p>\n<p>Account number:<strong><span class=\"number\">\u00a087 2490 0005 0000 4600 6277 7551<\/span><\/strong><\/p>\n<p>IBAN:\u00a0<strong><span class=\"number\">PL87 2490 0005 0000 4600 6277 7551<\/span><\/strong><\/p>\n<p>SWIFT CODE: ALBPPLPW<\/p>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/section><section\n  class=\"custom-section faq none-padding-top none-padding-bottom\">\n  <div class=\"custom-container\">\n    <div class=\"grid-12\">\n            <div class=\"subtitle h4-text medium\">\n        <div class=\"subtitle-in\">\n          Donations in USD          <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/doc-arr-black.svg\" alt=\"\">\n        <\/div>\n        <div class=\"content\">\n          <div class=\"content-in default-text\">\n            <p>Alior Bank S.A.<\/p>\n<p>Account number:<strong><span class=\"number\">\u00a050 2490 0005 0000 4600 2305 1673<\/span><\/strong><\/p>\n<p>IBAN:\u00a0<strong><span class=\"number\">PL50 2490 0005 0000 4600 2305 1673<\/span><\/strong><\/p>\n<p>SWIFT CODE: ALBPPLPW<\/p>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/section><section\n  class=\"custom-section faq none-padding-top none-padding-bottom\">\n  <div class=\"custom-container\">\n    <div class=\"grid-12\">\n            <div class=\"subtitle h4-text medium\">\n        <div class=\"subtitle-in\">\n          Donations in GBP          <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/doc-arr-black.svg\" alt=\"\">\n        <\/div>\n        <div class=\"content\">\n          <div class=\"content-in default-text\">\n            <p>Alior Bank S.A.<\/p>\n<p>Account nuber:<strong><span class=\"number\">\u00a080 2490 0005 0000 4600 5226 1519<\/span><\/strong><\/p>\n<p>IBAN:\u00a0<strong><span class=\"number\">PL80 2490 0005 0000 4600 5226 1519<\/span><\/strong><\/p>\n<p>SWIFT CODE: ALBPPLPW<\/p>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/section><section\n  class=\"custom-section faq small-padding-top small-padding-bottom\">\n  <div class=\"custom-container\">\n    <div class=\"grid-12\">\n              <div class=\"title h2-text bold\">\n          For Donors from the USA - donate here        <\/div>\n            <div class=\"subtitle h4-text medium\">\n        <div class=\"subtitle-in\">\n          CAF AMERICA          <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/doc-arr-black.svg\" alt=\"\">\n        <\/div>\n        <div class=\"content\">\n          <div class=\"content-in default-text\">\n            <p><strong><a href=\"https:\/\/cafa.iphiview.com\/cafa\/AccountInformation\/tabid\/495\/dispatch\/accountselection_id$414237_hash$c62b8a39ca94b10f898eae2b0faf45d18487d868\/Default.aspx\">CAF AMERICA<\/a><\/strong><\/p>\n<p>(tax deduction, 501 (c)(3))<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.pah.org.pl\/wp-content\/uploads\/2026\/01\/CAF-America-PAH-credential_11.2025_2027.pdf\" target=\"_blank\" rel=\"noopener\">See our CAF cartificate<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/section><section\n  class=\"custom-section faq big-padding-top big-padding-bottom\">\n  <div class=\"custom-container\">\n    <div class=\"grid-12\">\n              <div class=\"title h2-text bold\">\n          We are subject to constant controls and audits        <\/div>\n            <div class=\"subtitle h4-text medium\">\n        <div class=\"subtitle-in\">\n          AUDITS AND CONTROLS          <img decoding=\"async\" src=\"https:\/\/www.pah.org.pl\/wp-content\/themes\/pah\/resources\/images\/doc-arr-black.svg\" alt=\"\">\n        <\/div>\n        <div class=\"content\">\n          <div class=\"content-in default-text\">\n            <p>Audits and controls are an important part of building transparency and credibility for us. Every year, we conduct internal audits, but we also undergo an assessment of independent, external entities.<\/p>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/section>[\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row_content_no_spaces&#8221;][vc_column][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":8,"featured_media":26408,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"xn-wppe-expiration":[],"xn-wppe-expiration-action":[],"xn-wppe-expiration-prefix":[],"footnotes":""},"class_list":["post-15324","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/pages\/15324"}],"collection":[{"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/comments?post=15324"}],"version-history":[{"count":29,"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/pages\/15324\/revisions"}],"predecessor-version":[{"id":29254,"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/pages\/15324\/revisions\/29254"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/media\/26408"}],"wp:attachment":[{"href":"https:\/\/www.pah.org.pl\/en\/wp-json\/wp\/v2\/media?parent=15324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}