APP ID
Secret Key
Aquasurge 3000
UPI QR Code

Aquasurge 3000

₹100.00

The Aquasurge 3000 is not your average boat - it's a marvel of engineering ingenuity. Powered by an advanced propulsion system, this sleek vessel effortlessly glides upstream, effortlessly cutting through the strongest currents with precision and power. Say goodbye to the limitations of traditional boats and embrace the freedom to explore waterways that were once considered impassable.

You will need a payment_session_id to try out this code. Search for yourPaymentSession and replace with yours.

1
<!DOCTYPE html>
2
<html lang="en">
3
	
4
	<head>
5
		<meta charset="UTF-8">
6
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
8
		<title>Document</title>
9
		<script src="https://sdk.cashfree.com/js/v3/cashfree.js"></script>
10
	</head>
11

12
	<body>
13
	<div id="qrComponent"></div>
14
	<input type="button" id="payBtn" value="Pay" />
15
	<script>
16
		
17
		const cashfree = await load({ 
18
			mode: "sandbox", //or production
19
		});
20

21
		const qrComponent = cashfree.create("upiQr", {
22
			values: {
23
                size: "220px",
24
            },
25
		});
26
		qrComponent.mount("#qrComponent");
27

28
		const showError = function(e){
29
			alert(e.message)
30
		}
31

32
		document.querySelector("#payBtn").addEventListener("click", async () => {
33
			cashfree.pay({
34
				paymentMethod: qrComponent,
35
				paymentSessionId: "yourPaymentSession",
36
				returnUrl: "https://merchantsite.com/return?order_id={order_id}",
37
			}).then(function (data) {
38
				if (data != null && data.error) {
39
					return showError(data.error)
40
				}
41
			});
42
		})
43
		</script>
44
	</body>
45
</html>
46

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