“Non vado in terapia per scoprire che sono un’eccentrica Vado e trovo l’unica e la sola risposta ogni settimana”
(Dalla canzone di Dar Williams,What do you Hear in
These Sounds
(Dalla canzone di Dar Williams,What do you Hear in
These Sounds
A cura della Dr.ssa Giovanna Are Ordine degli Psicologi della Liguria n° 1409
P.IVA 01236970479
Ass.ne Resp.tà Civile Terzi e Prof.le – Polizza n.75713132
You can see how this popup was set up in our step-by-step guide: https://wppopupmaker.com/guides/auto-opening-announcement-popups/
<div id=”smart-button-container”>
<div style=”text-align: center”><label for=”description”>Seduta Psicoterapia </label><input type=”text” name=”descriptionInput” id=”description” maxlength=”127″ value=””></div>
<p id=”descriptionError” style=”visibility: hidden; color:red; text-align: center;”>Please enter a description</p>
<div style=”text-align: center”><label for=”amount”> </label><input name=”amountInput” type=”number” id=”amount” value=”” ><span> EUR</span></div>
<p id=”priceLabelError” style=”visibility: hidden; color:red; text-align: center;”>Please enter a price</p>
<div id=”invoiceidDiv” style=”text-align: center; display: none;”><label for=”invoiceid”> </label><input name=”invoiceid” maxlength=”127″ type=”text” id=”invoiceid” value=”” ></div>
<p id=”invoiceidError” style=”visibility: hidden; color:red; text-align: center;”>Please enter an Invoice ID</p>
<div style=”text-align: center; margin-top: 0.625rem;” id=”paypal-button-container”></div>
</div>
<script src=”https://www.paypal.com/sdk/js?client-id=sb¤cy=EUR” data-sdk-integration-source=”button-factory”></script>
<script>
function initPayPalButton() {
var description = document.querySelector(‘#smart-button-container #description’);
var amount = document.querySelector(‘#smart-button-container #amount’);
var descriptionError = document.querySelector(‘#smart-button-container #descriptionError’);
var priceError = document.querySelector(‘#smart-button-container #priceLabelError’);
var invoiceid = document.querySelector(‘#smart-button-container #invoiceid’);
var invoiceidError = document.querySelector(‘#smart-button-container #invoiceidError’);
var invoiceidDiv = document.querySelector(‘#smart-button-container #invoiceidDiv’);
var elArr = [description, amount];
if (invoiceidDiv.firstChild.innerHTML.length > 1) {
invoiceidDiv.style.display = “block”;
}
var purchase_units = [];
purchase_units[0] = {};
purchase_units[0].amount = {};
function validate(event) {
return event.value.length > 0;
}
paypal.Buttons({
style: {
color: ‘gold’,
shape: ‘rect’,
label: ‘paypal’,
layout: ‘vertical’,
},
onInit: function (data, actions) {
actions.disable();
if(invoiceidDiv.style.display === “block”) {
elArr.push(invoiceid);
}
elArr.forEach(function (item) {
item.addEventListener(‘keyup’, function (event) {
var result = elArr.every(validate);
if (result) {
actions.enable();
} else {
actions.disable();
}
});
});
},
onClick: function () {
if (description.value.length < 1) {
descriptionError.style.visibility = “visible”;
} else {
descriptionError.style.visibility = “hidden”;
}
if (amount.value.length < 1) {
priceError.style.visibility = “visible”;
} else {
priceError.style.visibility = “hidden”;
}
if (invoiceid.value.length < 1 && invoiceidDiv.style.display === “block”) {
invoiceidError.style.visibility = “visible”;
} else {
invoiceidError.style.visibility = “hidden”;
}
purchase_units[0].description = description.value;
purchase_units[0].amount.value = amount.value;
if(invoiceid.value !== ”) {
purchase_units[0].invoice_id = invoiceid.value;
}
},
createOrder: function (data, actions) {
return actions.order.create({
purchase_units: purchase_units,
});
},
onApprove: function (data, actions) {
return actions.order.capture().then(function (details) {
alert(‘Transaction completed by ‘ + details.payer.name.given_name + ‘!’);
});
},
onError: function (err) {
console.log(err);
}
}).render(‘#paypal-button-container’);
}
initPayPalButton();
</script>
Cookie | Durata | Descrizione |
---|---|---|
cookielawinfo-checkbox-advertisement | 1 year | Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category . |
cookielawinfo-checkbox-analytics | 1 year | Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Analytics" category . |
cookielawinfo-checkbox-functional | 1 year | The cookie is set by the GDPR Cookie Consent plugin to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 1 year | Set by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Necessary" category . |
cookielawinfo-checkbox-others | 1 year | Set by the GDPR Cookie Consent plugin, this cookie is used to store the user consent for cookies in the category "Others". |
cookielawinfo-checkbox-performance | 1 year | Set by the GDPR Cookie Consent plugin, this cookie is used to store the user consent for cookies in the category "Performance". |
PHPSESSID | session | This cookie is native to PHP applications. The cookie is used to store and identify a users' unique session ID for the purpose of managing user session on the website. The cookie is a session cookies and is deleted when all the browser windows are closed. |
Cookie | Durata | Descrizione |
---|---|---|
cb-enabled | 1 year | This cookie is associated with the cookie consent. This cookie saves the user preference on cookie consent. It saves whether a user has dismissed the notice to prevent it re-appearing on the re-visit to the website. |
Cookie | Durata | Descrizione |
---|---|---|
CONSENT | 2 years | YouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data. |
Cookie | Durata | Descrizione |
---|---|---|
_fbp | 3 months | This cookie is set by Facebook to display advertisements when either on Facebook or on a digital platform powered by Facebook advertising, after visiting the website. |
fr | 3 months | Facebook sets this cookie to show relevant advertisements to users by tracking user behaviour across the web, on sites that have Facebook pixel or Facebook social plugin. |
VISITOR_INFO1_LIVE | 5 months 27 days | A cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface. |
YSC | session | YSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages. |
yt-remote-connected-devices | never | YouTube sets this cookie to store the video preferences of the user using embedded YouTube video. |
yt-remote-device-id | never | YouTube sets this cookie to store the video preferences of the user using embedded YouTube video. |
Cookie | Durata | Descrizione |
---|---|---|
AUTH_SESSION | 14 days | No description |