APP ID
Secret Key
RetroTalk 8086
Wallet

RetroTalk 8086

₹100.00

The RetroTalk 8086 is a true relic of communication history, lovingly resurrected to bring a quirky and hilarious touch to your home or office. With its vintage design and classic rotary dial, this phone will transport you to a time when social media meant knocking on your neighbor's door and hashtags were reserved for secret codes.

+91

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
	
14
		<div id="phonepewal"></div>
15
		<input type="text" id="phone" value="" />
16
	<input type="button" id="payBtn" value="Pay" />
17
	<script>
18
		
19
		const cashfree = await load({ 
20
			mode: "sandbox", //or production
21
		});
22

23
		const walletComponet = cashfree.create("wallet", {
24
			values: {
25
				provider: "phonepe",
26
				buttonText: "PhonePe wallet",
27
				phone: document.getElementById("phone").value,
28
				buttonIcon: true
29
			},
30
			style:{
31
				base: {
32
					fontWeight: 500,
33
					color: "#141414"
34
				}
35
			}
36
		});
37
		walletComponet.mount("#phonepewal");
38

39
		const showError = function(e){
40
			alert(e.message)
41
		}
42

43
		document.querySelector("#payBtn").addEventListener("click", async () => {
44
			cashfree.pay({
45
				paymentMethod: walletComponet,
46
				paymentSessionId: "yourPaymentSession",
47
				returnUrl: "https://merchantsite.com/return?order_id={order_id}",
48
			}).then(function (data) {
49
				if (data != null && data.error) {
50
					return showError(data.error)
51
				}
52
			});
53
		})
54
		</script>
55
	</body>
56
</html>
57

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