feat(can-charge): 이롬넷(Payverse) 통합결제 추가

This commit is contained in:
Yu Sung
2025-10-01 01:48:18 +09:00
parent e62c89d7bc
commit d045722b8d
13 changed files with 639 additions and 72 deletions

View File

@@ -0,0 +1,31 @@
//
// Untitled.swift
// SodaLive
//
// Created by klaus on 9/29/25.
//
<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<!-- PayVerse SDK -->
<script src="https://ui.payverseglobal.com/js/payments.js"></script>
</head>
<body>
<script>
// 안드로이드에서 JSON 문자열을 넘기면 이 함수를 호출
function startPay(payloadJson) {
try {
const p = JSON.parse(payloadJson);
// 즉시 실행: 페이지가 열리자마자 결제창 시작
window.payVerse.requestUI(p);
} catch (e) {
console.error('startPay error', e);
alert('결제 초기화에 실패했습니다.');
}
}
</script>
</body>
</html>