<script>// <![CDATA[
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);

const user_id = parseInt(urlParams.get('user_id'));
const signature = String(urlParams.get('signature'));
const timestamp = parseInt(urlParams.get('timestamp'));

const url = 'https://core.onefid.com/api/v2/accounts/verify-registration/';

const params = {
"user_id": user_id,
"timestamp": timestamp,
"signature": signature
}

const options = {
method: 'POST',
body: JSON.stringify(params),
headers: {
'Content-Type': 'application/json'
}
};
fetch(url, options)
.then(response => {
if (response.status == 200) //if success
{
document.querySelector('.success_meassage').style.display = "block";
}
else {
document.querySelector('.error_meassage').style.display = "block";
}
});
// ]]></script>
<div class="success_meassage" style="display: none;">
<h2>Vielen Dank!</h2>
<p>Sie haben Ihre SHOEPASSION ID erfolgreich bestätigt.</p>
<p>Die perfekte Schuh-Passform zu finden, war noch nie so einfach.<br /><br />Klicken Sie auf einer Produktseite den Link "Welche Größe brauche ich?" und mit Eingabe Ihrer E- Mail Adresse als ID erhalten Sie automatisch Ihre Größenempfehlung.</p>
</div>
<div class="error_meassage" style="display: none;">
<h2>Ein Fehler ist aufgetreten</h2>
</div>
<style><!--
.success_meassage,
.error_meassage{
margin: 100px 0;
text-align: center;
}
.SectionHeader .SectionHeader__Heading.Heading.u-h1{
display: none;
}
--></style>