{"id":246,"date":"2018-11-15T12:53:39","date_gmt":"2018-11-15T12:53:39","guid":{"rendered":"https:\/\/demo.mekshq.com\/megaphone\/dc\/?page_id=246"},"modified":"2021-08-13T15:15:16","modified_gmt":"2021-08-13T09:45:16","slug":"donate","status":"publish","type":"page","link":"https:\/\/www.rustiktravel.com\/podcast\/donate\/","title":{"rendered":"Donate"},"content":{"rendered":"\n<p>As you are aware that we have been hosting The Rustik Travel Podcast for sometime now since November 2020. And we have been doing so without any commercial or monetary motivations. However, to produce the show esp. in these times of the pandemic takes a toll on our already scarce resources in terms of time and money. Therefore, if you like this show and want us to continue, please do donate. It would help us a great deal. No amount is big or small. Just receiving it from you would be a validation of our work and your love. All you have to do is make a donation in any of the following ways. <br>And after you have done so, please do inform us by sending you transaction details by email to <a href=\"mailto:podcast@rustiktravel.com\">podcast@rustiktravel.com<\/a><\/p>\n\n\n\n<p><strong>Option 1: Razorpay <\/strong>(Credit, Debit card and Netbanking). Domestic transactions.<\/p>\n\n\n\n<form><script src=\"https:\/\/checkout.razorpay.com\/v1\/payment-button.js\" data-payment_button_id=\"pl_HXI8G9WSCdp7pa\" async=\"\"> <\/script> <\/form>\n\n\n\n<p><strong>Option 2: PayPal <\/strong>(Credit, Debit card and Netbanking). International transactions.<\/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><\/p>\n          <select id=\"item-options\"><option value=\"Option 1\" price=\"10\">Option 1 &#8211; 10 USD<\/option><option value=\"Option 2\" price=\"25\">Option 2 &#8211; 25 USD<\/option><option value=\"Option 3\" price=\"50\">Option 3 &#8211; 50 USD<\/option><option value=\"Option 4\" price=\"100\">Option 4 &#8211; 100 USD<\/option><option value=\"Option 5\" price=\"200\">Option 5 &#8211; 200 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=sb&amp;enable-funding=venmo&amp;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: 'rect',\n        color: 'gold',\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) ? 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: '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(details) {\n          alert('Transaction completed by ' + details.payer.name.given_name + '!');\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>Thank you so much for your support. \ud83d\ude42<br>Till then, Do Subscribe and Continue to Listen in.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"excerpt","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"episode_type":"","audio_file":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","filesize_raw":""},"_links":{"self":[{"href":"https:\/\/www.rustiktravel.com\/podcast\/wp-json\/wp\/v2\/pages\/246"}],"collection":[{"href":"https:\/\/www.rustiktravel.com\/podcast\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.rustiktravel.com\/podcast\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.rustiktravel.com\/podcast\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rustiktravel.com\/podcast\/wp-json\/wp\/v2\/comments?post=246"}],"version-history":[{"count":20,"href":"https:\/\/www.rustiktravel.com\/podcast\/wp-json\/wp\/v2\/pages\/246\/revisions"}],"predecessor-version":[{"id":3091,"href":"https:\/\/www.rustiktravel.com\/podcast\/wp-json\/wp\/v2\/pages\/246\/revisions\/3091"}],"wp:attachment":[{"href":"https:\/\/www.rustiktravel.com\/podcast\/wp-json\/wp\/v2\/media?parent=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}