APP ID
Secret Key
Cashfree Hosted Checkout

Flicker Fusion

₹100

Tired of those mundane, scentless candles that take themselves too seriously? Say hello to FlickerFusion candles, where laughter and delightful scents collide! We've infused the ancient art of candle-making with a generous dose of humor to brighten up your space and tickle your funny bone.

1
<!DOCTYPE html>
2
<html lang="en">
3
	<head>
4
		<meta charset="UTF-8">
5
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
7
		<title>Document</title>
8
		<script src="https://sdk.cashfree.com/js/v3/cashfree.js"></script>
9
	</head>
10
	<body>
11
	 
12
		<input type="button" id="payBtn" value="Pay" />
13
		<script>
14
			const cashfree = await load({ 
15
				mode: "sandbox", //or production
16
			});
17
			const showError = function(e){
18
				alert(e.message)
19
			} 
20
			document.querySelector("#payBtn").addEventListener("click", async () => {
21
				cashfree.pay({
22
					redirectTarget: "_blank",//new tab
23
					paymentSessionId: "yourPaymentSession",
24
					returnUrl: "https://merchantsite.com/return?order_id={order_id}",
25
				}).then(function (data) {
26
					if (data != null && data.error) {
27
						return showError(data.error)
28
					}
29
				});
30
			})
31
		</script>
32
	</body>
33
</html>

The site is built using the Brutopia theme. Get it for free here