https://wtpay.net/

URL inviato:
https://wtpay.net/
Report terminato:

Variabili JavaScript · 6 trovate

Messaggi di log della console · 2 trovati

HTML

<!DOCTYPE html><html lang="en"><head>
	<title>wtpay.net</title>
	<meta charset="UTF-8">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/css/style.min.css?_v=20240608164906">
	<!-- <link rel="shortcut icon" href="/favicon.ico"> -->
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>



<script type="text/javascript">

$(document).ready(function () {

    const cancelSubForm = document.getElementById('cancelSub');

    cancelSubForm.addEventListener("submit", function (e) {
        e.preventDefault();
        const email = document.getElementById('usr_email').value;

        if (email == '') {
            return false;
        }

        document.querySelector("#btnSubcan").classList.add('_loading');
        document.querySelector("#btnSubcan").disabled = true;

		// document.querySelector("#btnSubcan").disabled = false;
		// document.querySelector("#btnSubcan").classList.remove('_loading');

		// document.querySelector("#btnSubcan").style.display = 'block';
		// const resultErr = document.querySelector('#notfond');
		// const resultContainer = document.querySelector('#result');
		// resultContainer.innerHTML = '';
		// resultContainer.style.display = 'none';
		// resultErr.style.display = 'block';

        $.ajax({
            url: '/stripe/findsubs.php',
            method: 'POST',
            dataType: 'json',
            data: {
                email: email
            },
            success: function (response) {
                document.querySelector("#btnSubcan").disabled = false;
                document.querySelector("#btnSubcan").classList.remove('_loading');

                if (response.success) {
					document.querySelector("#btnSubcan").style.display = 'none';
                    const resultContainer = document.querySelector('#result');
					const resultErr = document.querySelector('#notfond');
					resultErr.style.display = 'none';
                    resultContainer.innerHTML = '';

                    response.results.forEach(result => {
						// console.log(result);
                        const db = result.db;
                        const subscription = result.subscription;
                        const price_am = Number(subscription.amount) / 100;
						const interval = result.interval;

                        let status_ff = subscription.status === 'active' ? ''+interval+' subscription' : subscription.status;

                        let subscriptionInfo = `
                            <div class="result-form__item">
                                <span class="result-form__label">Service:</span>
                                <span class="result-form__value">${db}</span>
                            </div>
                            <div class="result-form__item">
                                <span class="result-form__label">Email:</span>
                                <span class="result-form__value">${email}</span>
                            </div>
                            <div class="result-form__item">
                                <span class="result-form__label">Subscription Status:</span>
                                <span class="result-form__value" id="status_sub_${subscription.sub_id}">${status_ff}</span>
                            </div>
                            <div class="result-form__item">
                                <span class="result-form__label">Subscription Price:</span>
                                <span class="result-form__value" id="price_sub_${subscription.sub_id}">$${price_am}/${interval}</span>
                            </div>
                        `;

                        if (subscription.status !== 'canceled') {
                            subscriptionInfo += `
                                <div class="result-form__item">
                                    <div class="form__action" id="cancel_btn_${result.uid}">
                                        <button class="form__button button" onclick="cancelSubscription('${subscription.sub_id}', '${subscription.cus_id}', '${result.uid}', '${db}', '${subscription.stripe}');">CANCEL</button>
                                    </div>
                                </div>
                            `;
                        } else {
                            subscriptionInfo += `<br/>`;
                        }

                        resultContainer.innerHTML += subscriptionInfo;
                    });

                    resultContainer.style.display = 'block';
                } else {
					document.querySelector("#btnSubcan").style.display = 'block';
                    const resultErr = document.querySelector('#notfond');
					const resultContainer = document.querySelector('#result');
					resultContainer.innerHTML = '';
					resultContainer.style.display = 'none';
                    resultErr.style.display = 'block';
                }
            }
        });
    });

    window.cancelSubscription = function (subscription_id, customer_id, uid, db, stripe) {

    	let url;
		url = '/stripe/cancelsubs.php';

        $.ajax({
            url: url,
            method: 'POST',
            dataType: 'json',
            data: {
                subscription_id: subscription_id,
				customer_id: customer_id,
                uid: uid,
				db: db
            },
            success: function (response) {
                if (response.success) {
                    const cancelBtn = document.querySelector(`#cancel_btn_${uid}`);
                    if (cancelBtn) {
                        cancelBtn.style.display = 'none';
                    }

                    const price_am = Number(response.subscription.amount) / 100;
					const intervalc = response.interval;
                    let status_f = response.subscription.status === 'active' ? ''+intervalc+' subscription' : response.subscription.status;

                    document.getElementById(`status_sub_${subscription_id}`).innerText = status_f;
                    document.getElementById(`price_sub_${subscription_id}`).innerText = `$${price_am}/${intervalc}`;
                }
            }
        });
    }
});
</script>



</head>

<body>
	<div class="wrapper">
		<header class="header">
			<div class="header__container">
				<a href="/" class="header__logo">
					<span>WT</span>Pay
				</a>
			</div>
		</header>
		<main class="page">
			<div class="page__banner banner">
				<div class="banner__container">
					<h1 class="banner__title">WELCOME TO WTPAY!</h1>
					<div class="banner__text">
					If you're visiting us because you have noticed a charge on your credit card statement. You can easily lookup a purchase by going to the box below or contacting our customer support.
					</div>
				</div>
			</div>
			<div class="page__body">
				<div class="page__container">
					<div class="page__forms">
						<div class="page__column">
							<div class="page__form form">
								<div class="form__header">
									<h2 class="form__title">Lookup Your Purchase</h2>
									<div class="form__icon"><img src="/img/h2_secure.svg" alt="h2 secure"></div>
								</div>
								<div class="form__text">
									For billing inquiries or to cancel your subscription, please start by using the form below to search for your subscription. Please enter your email to find details.
								</div>
								<form id="cancelSub" class="form__body">
									<div class="form__item">
										<div class="form__line">
											<label for="usr_email" class="form__label">Email address<span>*</span></label>
											<input data-required="email" type="email" id="usr_email" name="email" data-error="Email address must not be empty" class="input">
										</div>
									</div>
									<div class="form__action">
										<button type="submit" id="btnSubcan" class="form__button button"><span>LOOKUP NOW</span></button>
									</div>
								</form>
									<div class="form__result result-form"> 
										<div class="result-form__body"> 
											<div class="result-form__item" id="notfond" style="display:none;"> 
												Nothing was found 
											</div> 

											<div id="result" style="display:none;"></div>

										</div> 
									</div>

							</div>
						</div>
						<div class="page__column">
							<div class="page__form form">
								<div class="form__header">
									<h2 class="form__title">Contact Customer Support</h2>
									<div class="form__icon"><img src="/img/email.svg" alt="email"></div>
								</div>
								<div class="form__text">
									Our professional support team has the resources to help you with our services and assist you with any questions you might have.
										
								</div>
								<form method="POST" class="form__body">
									<div class="form__item">
										<div class="form__row">
											<div class="form__line">
												<label for="support-first-name" class="form__label">First Name<span>*</span></label>
												<input id="support-first-name" data-required="" autocomplete="off" type="text" name="first-name" data-error="First Name must not be empty" class="input">
											</div>
											<div class="form__line">
												<label for="support-last-name" class="form__label">Last Name<span>*</span></label>
												<input id="support-last-name" data-required="" autocomplete="off" type="text" name="last-Name" data-error="Last Name must not be empty" class="input">
											</div>
										</div>
									</div>
									<div class="form__item">
										<div class="form__line">
											<label for="support-email" class="form__label">Email address<span>*</span></label>
											<input id="support-email" data-required="email" type="email" name="email-address" data-error="Email address must not be empty" class="input">
										</div>
									</div>
									<div class="form__item">
										<div class="form__line">
											<label for="support-message" class="form__label">Comments or Questions<span>*</span></label>
											<textarea id="support-message" data-required="" autocomplete="off" name="message" placeholder="Type your message here" data-error="Comments or Questions must not be empty" class="input"></textarea>
										</div>
									</div>
									<div class="form__action">
										<button type="submit" name="send" class="form__button button">SUBMIT</button>
									</div>
								</form>
							</div>
						</div>
					</div>
					<div class="page__questions questions">
						<div class="questions__body">
							<h2 class="questions__title">Common Questions</h2>
							<div class="questions__items">
								<div class="questions__item item-questions">
									<div class="item-questions__icon">
										<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 24 24">
											<path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-.001 5.75c.69 0 1.251.56 1.251 1.25s-.561 1.25-1.251 1.25-1.249-.56-1.249-1.25.559-1.25 1.249-1.25zm2.001 12.25h-4v-1c.484-.179 1-.201 1-.735v-4.467c0-.534-.516-.618-1-.797v-1h3v6.265c0 .535.517.558 1 .735v.999z"></path>
										</svg>
									</div>
									<div class="item-questions__content">
										<div class="item-questions__title">What is WTPay</div>
										<div class="item-questions__text">
											<p><span>WTPay</span> is the merchant descriptor for <span>iqpulse.co</span> </p>
										</div>
									</div>
								</div>
								<div class="questions__item item-questions">
									<div class="item-questions__icon">
										<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 24 24">
											<path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-.001 5.75c.69 0 1.251.56 1.251 1.25s-.561 1.25-1.251 1.25-1.249-.56-1.249-1.25.559-1.25 1.249-1.25zm2.001 12.25h-4v-1c.484-.179 1-.201 1-.735v-4.467c0-.534-.516-.618-1-.797v-1h3v6.265c0 .535.517.558 1 .735v.999z"></path>
										</svg>
									</div>
									<div class="item-questions__content">
										<div class="item-questions__title">Why am I seeing a charge from "wtpay.net" on my credit card statement?</div>
										<div class="item-questions__text">
											<p>If you signed up for one of the websites: iqpulse.co you will see a charge from "wtpay.net".</p>
										</div>
									</div>
								</div>
								<div class="questions__item item-questions">
									<div class="item-questions__icon">
										<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 24 24">
											<path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-.001 5.75c.69 0 1.251.56 1.251 1.25s-.561 1.25-1.251 1.25-1.249-.56-1.249-1.25.559-1.25 1.249-1.25zm2.001 12.25h-4v-1c.484-.179 1-.201 1-.735v-4.467c0-.534-.516-.618-1-.797v-1h3v6.265c0 .535.517.558 1 .735v.999z"></path>
										</svg>
									</div>
									<div class="item-questions__content">
										<div class="item-questions__title">How do I get a refund?</div>
										<div class="item-questions__text">
											<p>Please contact our customer support by filling the form above and we'll do our best to help you with your refund requests. You can also contact us at <span>[email protected]</span></p>
										</div>
									</div>
								</div>
								<div class="questions__item item-questions">
									<div class="item-questions__icon">
										<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 24 24">
											<path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-.001 5.75c.69 0 1.251.56 1.251 1.25s-.561 1.25-1.251 1.25-1.249-.56-1.249-1.25.559-1.25 1.249-1.25zm2.001 12.25h-4v-1c.484-.179 1-.201 1-.735v-4.467c0-.534-.516-.618-1-.797v-1h3v6.265c0 .535.517.558 1 .735v.999z"></path>
										</svg>
									</div>
									<div class="item-questions__content">
										<div class="item-questions__title">How can I cancel my subscription?</div>
										<div class="item-questions__text">
											<p>Please contact our customer support by filling the form above to cancel your subscription. You can also contact us at <span>[email protected]</span></p>
										</div>
									</div>
								</div>
								<div class="questions__item item-questions">
									<div class="item-questions__icon">
										<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 24 24">
											<path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-.001 5.75c.69 0 1.251.56 1.251 1.25s-.561 1.25-1.251 1.25-1.249-.56-1.249-1.25.559-1.25 1.249-1.25zm2.001 12.25h-4v-1c.484-.179 1-.201 1-.735v-4.467c0-.534-.516-.618-1-.797v-1h3v6.265c0 .535.517.558 1 .735v.999z"></path>
										</svg>
									</div>
									<div class="item-questions__content">
										<div class="item-questions__title">What are your Customer Care Team's hours of operation?</div>
										<div class="item-questions__text">
											<p>Our online Customer Care Team is available Monday through Sunday, from 7 am to Midnight Eastern Standard Time. We do our best to resolve any issues within 24 hours</p>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</main>
		<footer class="footer">
			<div class="footer__container">
				<div class="footer__body">
					<a href="/" class="footer__logo">
						<span>WT</span>Pay
					</a>
					<div class="footer__copy">© Copyright 2024 wtpay.net by Quzibo Ltd. All Rights Reserved.</div>
				</div>
			</div>
		</footer>
	</div>
	<script src="/js/app.min.js?_v=20240608164905"></script>


</body></html>