fix-center page,payment success/failed page,deleted extra folders

This commit is contained in:
2023-01-28 07:07:59 +00:00
parent 21f85e2186
commit a7f88ffff6
344 changed files with 255 additions and 3449 deletions

View File

@@ -20,6 +20,43 @@
.card-body{height:100px}
}
</style>
<script>
(function() {
var stripe =
Stripe('pk_live_51Jp9QPSJqIKN8UICMumatjNFXJzcfLKv8BVLTiGsvlMGBQrrquId2zeMbqnk5wr4
YVYr6ZUvZ9vpo3N9Li98cEDL00x4eazfLT');
var checkoutButton = document.getElementById('checkout-buttonprice_1MUMMoSJqIKN8UICv6G735l3');
checkoutButton.addEventListener('click', function () {
/*
* When the customer clicks on the button, redirect
* them to Checkout.
*/
stripe.redirectToCheckout({
lineItems: [{price: 'price_1MUMMoSJqIKN8UICv6G735l3', quantity: 1}],
mode: 'payment',
/*
* Do not rely on the redirect to the successUrl for fulfilling
* purchases, customers may not always reach the success_url after
* a successful payment.
* Instead use one of the strategies described in
* https://stripe.com/docs/payments/checkout/fulfill-orders
*/
successUrl: 'https://atheneumglobal.education/',
cancelUrl: 'https://atheneumglobal.education/',
})
.then(function (result) {
if (result.error) {
/*
* If `redirectToCheckout` fails due to a browser or network
* error, display the localized error message to your customer.
*/
var displayError = document.getElementById('error-message');
displayError.textContent = result.error.message;
}
});
});
})();
</script>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
@@ -140,7 +177,7 @@
</div>
<div class="d-flex">
<div style="flex:1;background-color:#f7a325;border-bottom-left-radius:1rem;" class="py-2 text-center"><a class='text-black text-decoration-none' href='/baguiati/diploma-montessori-teacher-training.html'>View Details</a></div>
<div style="flex:1;background-color:#094268;color:white;border-bottom-right-radius:1rem;" class="py-2 text-center">Buy Course</div>
<div style="flex:1;background-color:#094268;color:white;border-bottom-right-radius:1rem;" class="py-2 text-center"><a class='text-white text-decoration-none' href='https://pmny.in/DrcQntAnCSSt' target="_blank"> Buy Course</a></div>
</div>
</div>
</div>
@@ -161,7 +198,7 @@
</div>
<div class="d-flex">
<div style="flex:1;background-color:#f7a325;border-bottom-left-radius:1rem;" class="py-2 text-center"><a class='text-black text-decoration-none' href='/baguiati/advance-diploma-montessori-teacher-training.html'>View Details</a></div>
<div style="flex:1;background-color:#094268;color:white;border-bottom-right-radius:1rem;" class="py-2 text-center">Buy Course</div>
<div style="flex:1;background-color:#094268;color:white;border-bottom-right-radius:1rem;" class="py-2 text-center"><a class='text-white text-decoration-none' href='https://pmny.in/ere01LDr6kzA' target="_blank"> Buy Course</a></div>
</div>
</div>
</div>
@@ -171,6 +208,21 @@
<!-- / .container -->
</div>
</section>
<!-- ----------------------------------------------------------------------------------------------- -->
<!-- Load Stripe.js on your website. -->
<script src="https://js.stripe.com/v3"></script>
<!-- Create a button that your customers click to complete their purchase. Customize the styling
to suit your branding. -->
<button
style="background-color:#6772E5;color:#FFF;padding:8px 12px;border:0;borderradius:4px;font-size:1em;cursor:pointer"
id="checkout-button-price_1MUMMoSJqIKN8UICv6G735l3"
role="link"
type="button"
>
Checkout
</button>
<div id="error-message"></div>
<!-- ------------------------------------------------------------------- -->
<!------------------------------------------------- SECOND SECTION--------------------------------->
<section>
<div class="container mt-4">