{"id":587,"date":"2021-03-03T07:01:19","date_gmt":"2021-03-03T07:01:19","guid":{"rendered":"https:\/\/elnclassrooms.ee\/?page_id=587"},"modified":"2022-08-05T11:08:40","modified_gmt":"2022-08-05T11:08:40","slug":"paypal-platezhi","status":"publish","type":"page","link":"https:\/\/elnclassrooms.ee\/ru\/oplata\/paypal-platezhi\/","title":{"rendered":"PayPal \u043f\u043b\u0430\u0442\u0435\u0436\u0438"},"content":{"rendered":"\n<p>\u0417\u0430 \u043f\u043e\u0441\u0435\u0449\u0451\u043d\u043d\u044b\u0435 \u043e\u043d\u043b\u0430\u0439\u043d-\u0443\u0440\u043e\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PayPal. \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0447\u0430\u0441\u0430 EUR 20\/60 mins, \u043a \u043d\u0435\u0439 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0438\u0441\u0441\u0438\u044f PayPal. \u041d\u0421\u041e (\u043d\u0430\u043b\u043e\u0433 \u0441 \u043e\u0431\u043e\u0440\u043e\u0442\u0430) c \u0444\u0435\u0432\u0440\u0430\u043b\u044f 2022 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043d\u0435 \u043d\u0430\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f. <\/p>\n\n\n\n<p>\u0427\u0442\u043e\u0431\u044b \u043e\u043f\u043b\u0430\u0442\u0438\u0442\u044c 1 \u0437\u0430\u043d\u044f\u0442\u0438\u0435, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0443\u0436\u043d\u044b\u0439 \u0432\u0430\u043c \u0442\u0438\u043f \u0443\u0440\u043e\u043a\u0430 (\u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u044d\u0437\u0430\u043c\u0435\u043d\u0443, \u043e\u0442 1 \u0434\u043e 39 \u0443\u0440\u043e\u043a\u043e\u0432, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u044d\u043a\u0437\u0430\u043c\u0435\u043d\u0443, 40 \u0443\u0440\u043e\u043a\u043e\u0432 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435, \u043e\u0431\u0449\u0438\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u044f \u044f\u0437\u044b\u043a\u043e\u043c, \u043e\u0442 1 \u0434\u043e 39 \u0443\u0440\u043e\u043a\u043e\u0432, \u043e\u0431\u0449\u0438\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u044f \u044f\u0437\u044b\u043a\u043e\u043c, 40 \u0443\u0440\u043e\u043a\u043e\u0432 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435) \u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043d\u044f\u0442\u0438\u0439. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u043f\u043b\u0430\u0442\u0438\u0442\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043d\u044f\u0442\u0438\u0439 \u043b\u0438\u0431\u043e \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0439, \u043b\u0438\u0431\u043e \u0447\u0435\u0440\u0435\u0437 PayPal, \u043a\u0430\u043a \u0432\u0430\u043c \u0443\u0434\u043e\u0431\u043d\u0435\u0435. <\/p>\n\n\n\n<div id=\"smart-button-container\">\n      <div style=\"text-align: center;\">\n        <div style=\"margin-bottom: 1.25rem;\">\n          <p>Online English lesson, the service has been received<\/p>\n          <select id=\"item-options\"><option value=\"60 mins, exam preparation 1-39 lessons, per lesson fee\" price=\"21\">60 mins, exam preparation 1-39 lessons, per lesson fee &#8212; 21 EUR<\/option><option value=\"60 mins, exam preparation, 40+ lessons, per lesson fee\" price=\"20\">60 mins, exam preparation, 40+ lessons, per lesson fee &#8212; 20 EUR<\/option><option value=\"60 mins, General English, 1-39 lessons, per lesson fee\" price=\"19\">60 mins, General English, 1-39 lessons, per lesson fee &#8212; 19 EUR<\/option><option value=\"60 mins, General English, 40+ lessons, per lesson fee\" price=\"18\">60 mins, General English, 40+ lessons, per lesson fee &#8212; 18 EUR<\/option><\/select>\n          <select style=\"visibility: hidden\" id=\"quantitySelect\"><option value=\"1\">1<\/option><option value=\"2\">2<\/option><option value=\"3\">3<\/option><option value=\"4\">4<\/option><option value=\"5\">5<\/option><option value=\"6\">6<\/option><option value=\"7\">7<\/option><option value=\"8\">8<\/option><option value=\"9\">9<\/option><option value=\"10\">10<\/option><option value=\"11\">11<\/option><option value=\"12\">12<\/option><option value=\"13\">13<\/option><option value=\"14\">14<\/option><option value=\"15\">15<\/option><option value=\"16\">16<\/option><option value=\"17\">17<\/option><option value=\"18\">18<\/option><option value=\"19\">19<\/option><option value=\"20\">20<\/option><option value=\"21\">21<\/option><option value=\"22\">22<\/option><option value=\"23\">23<\/option><option value=\"24\">24<\/option><option value=\"25\">25<\/option><option value=\"26\">26<\/option><option value=\"27\">27<\/option><option value=\"28\">28<\/option><option value=\"29\">29<\/option><option value=\"30\">30<\/option><option value=\"31\">31<\/option><option value=\"32\">32<\/option><option value=\"33\">33<\/option><option value=\"34\">34<\/option><option value=\"35\">35<\/option><option value=\"36\">36<\/option><option value=\"37\">37<\/option><option value=\"38\">38<\/option><option value=\"39\">39<\/option><option value=\"40\">40<\/option><\/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=AatNp1ITxjCZPtvA1KDHk3TkrWsXe-o1dmBL0Fb7shqtY_lq9U_k98RlsfRw5r0Ug1Km6H2XgvdtbUn_&#038;enable-funding=venmo&#038;currency=EUR\" 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(40);\n    var quantitySelect = document.querySelector(\"#smart-button-container #quantitySelect\");\n    if (!isNaN(quantity)) {\n      quantitySelect.style.visibility = \"visible\";\n    }\n    var orderDescription = 'Online English lesson, the service has been received';\n    if(orderDescription === '') {\n      orderDescription = 'Item';\n    }\n    paypal.Buttons({\n      style: {\n        shape: 'pill',\n        color: 'blue',\n        layout: 'vertical',\n        label: 'paypal',\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\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\n        return actions.order.create({\n          purchase_units: [{\n            description: orderDescription,\n            amount: {\n              currency_code: 'EUR',\n              value: priceTotal,\n              breakdown: {\n                item_total: {\n                  currency_code: 'EUR',\n                  value: itemTotalValue,\n                },\n                shipping: {\n                  currency_code: 'EUR',\n                  value: shipping,\n                },\n                tax_total: {\n                  currency_code: 'EUR',\n                  value: tax,\n                }\n              }\n            },\n            items: [{\n              name: selectedItemDescription,\n              unit_amount: {\n                currency_code: 'EUR',\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\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\n          \/\/ Or go to another URL:  actions.redirect('thank_you.html');\n\n        });\n      },\n      onError: function(err) {\n        console.log(err);\n      },\n    }).render('#paypal-button-container');\n  }\n  initPayPalButton();\n    <\/script>\n\n\n\n<p><strong>FAQ<\/strong> \u0410 \u0447\u0435\u043a \u0431\u0443\u0434\u0435\u0442? <\/p>\n\n\n\n<p><strong>\u041e\u0442\u0432\u0435\u0442<\/strong> \u041a\u0432\u0438\u0442\u0430\u043d\u0446\u0438\u044f \u043e\u0431 \u043e\u043f\u043b\u0430\u0442\u0435 \u043f\u0440\u0438\u0434\u0451\u0442 \u043d\u0430 \u0438\u043c\u0435\u0439\u043b. <\/p>\n\n\n\n<p><strong>FAQ<\/strong> \u0410 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u044f \u043e\u0448\u0438\u0431\u0443\u0441\u044c \u0432 \u0447\u0451\u043c-\u0442\u043e \u0432 \u0444\u043e\u0440\u043c\u0435 \u043e\u043f\u043b\u0430\u0442\u044b? \u041e\u043f\u043b\u0430\u0447\u0443 \u043d\u0435 \u0442\u043e\u0442 \u0442\u0438\u043f \u0443\u0440\u043e\u043a\u0430 \u0438\u043b\u0438 \u0432\u044b\u0431\u0435\u0440\u0443 \u043d\u0435 \u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e?<\/p>\n\n\n\n<p><strong>\u041e\u0442\u0432\u0435\u0442 <\/strong>\u0412\u043e\u0437\u0432\u0440\u0430\u0442\u044b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 60 \u0434\u043d\u0435\u0439 \u043f\u043e\u0441\u043b\u0435 \u043e\u043f\u043b\u0430\u0442\u044b. \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u0434\u0440\u0443\u0433 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u0435\u0440\u044c\u0451\u0437\u043d\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0431\u0443\u0445\u0433\u0430\u043b\u0442\u0435\u0440\u0438\u0438, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0435\u0432\u0435\u0440\u043d\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u043b\u0430\u0442\u0451\u0436 \u0438 \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0441\u0443\u043c\u043c\u0443 \u0437\u0430\u043d\u043e\u0432\u043e, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0432 \u0444\u043e\u0440\u043c\u0443 \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0417\u0430 \u043f\u043e\u0441\u0435\u0449\u0451\u043d\u043d\u044b\u0435 \u043e\u043d\u043b\u0430\u0439\u043d-\u0443\u0440\u043e\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PayPal. \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0447\u0430\u0441\u0430 EUR 20\/60 mins, \u043a \u043d\u0435\u0439 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0438\u0441\u0441\u0438\u044f PayPal. \u041d\u0421\u041e (\u043d\u0430\u043b\u043e\u0433 \u0441 \u043e\u0431\u043e\u0440\u043e\u0442\u0430) c \u0444\u0435\u0432\u0440\u0430\u043b\u044f 2022 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043d\u0435 \u043d\u0430\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f. \u0427\u0442\u043e\u0431\u044b \u043e\u043f\u043b\u0430\u0442\u0438\u0442\u044c 1 \u0437\u0430\u043d\u044f\u0442\u0438\u0435, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0443\u0436\u043d\u044b\u0439 \u0432\u0430\u043c \u0442\u0438\u043f \u0443\u0440\u043e\u043a\u0430 (\u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u044d\u0437\u0430\u043c\u0435\u043d\u0443, \u043e\u0442 1 \u0434\u043e 39 \u0443\u0440\u043e\u043a\u043e\u0432, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u044d\u043a\u0437\u0430\u043c\u0435\u043d\u0443, 40 \u0443\u0440\u043e\u043a\u043e\u0432 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435, \u043e\u0431\u0449\u0438\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u044f \u044f\u0437\u044b\u043a\u043e\u043c, &hellip; <a href=\"https:\/\/elnclassrooms.ee\/ru\/oplata\/paypal-platezhi\/\" class=\"more-link\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435<span class=\"screen-reader-text\"> \u00abPayPal \u043f\u043b\u0430\u0442\u0435\u0436\u0438\u00bb<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":349,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-587","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/pages\/587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/comments?post=587"}],"version-history":[{"count":13,"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/pages\/587\/revisions"}],"predecessor-version":[{"id":746,"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/pages\/587\/revisions\/746"}],"up":[{"embeddable":true,"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/pages\/349"}],"wp:attachment":[{"href":"https:\/\/elnclassrooms.ee\/ru\/wp-json\/wp\/v2\/media?parent=587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}