if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/1cpiae8dlyot/plugin/55/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AWN4qosT6UQLyTwizSEP-tSoyQqXKc4mWaJqd3-cS3wiKkKFnDEucfj0tEY6nAd3tr4L7BGb_pdZq0dv");
script.setAttribute("data-currency", "BRL");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2ZiMGU0MmZiZTliYTI3OTFhYjUwN2JlMmNhNDcwMTQ3MjIwOTM2MjNiNmViNDc1YmFjNGI5Y2ZkNGYzNGIyNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMTE6MDY6NDguODIwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9LSmRISW5pWFd3NVVwVmU3dzBQbW13NDUwWGRuaDMwNGJtSnFlNFhWZTN3Z2NaMno0aHVaU2NBejBVRTZOMjZtbDlNQ2ZIODBHZTZtTHlvNGJaRU52MFh4RzRnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AWN4qosT6UQLyTwizSEP-tSoyQqXKc4mWaJqd3-cS3wiKkKFnDEucfj0tEY6nAd3tr4L7BGb_pdZq0dv");
script.setAttribute("data-currency", "BRL");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2ZiMGU0MmZiZTliYTI3OTFhYjUwN2JlMmNhNDcwMTQ3MjIwOTM2MjNiNmViNDc1YmFjNGI5Y2ZkNGYzNGIyNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMTE6MDY6NDguODIwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9LSmRISW5pWFd3NVVwVmU3dzBQbW13NDUwWGRuaDMwNGJtSnFlNFhWZTN3Z2NaMno0aHVaU2NBejBVRTZOMjZtbDlNQ2ZIODBHZTZtTHlvNGJaRU52MFh4RzRnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "en_GB");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6628f0ab7b7a9', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6628f0ab7b7a9', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6628f0ab7b7a9', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6628f0ab7b7a9', 'paypal', 'buynow', 'rect', 'gold');
}