Add independent PayPal hosted binding mode

This commit is contained in:
QLHazyCoder
2026-05-20 09:03:40 +08:00
parent f36e0cedb3
commit 72c578b9b4
19 changed files with 1621 additions and 60 deletions
+17
View File
@@ -327,6 +327,7 @@
<span class="data-label">Plus 支付</span>
<div class="data-inline">
<select id="select-plus-payment-method" class="data-select">
<option value="paypal-hosted">PayPal 无卡直绑</option>
<option value="paypal">PayPal</option>
<!--
<option value="gopay">GoPay</option>
@@ -352,6 +353,22 @@
<button id="btn-add-paypal-account" class="btn btn-outline btn-sm data-inline-btn" type="button">添加</button>
</div>
</div>
<div class="data-row" id="row-hosted-checkout-verification-url" style="display:none;">
<span class="data-label">直绑验证码</span>
<input type="text" id="input-hosted-checkout-verification-url" class="data-input"
placeholder="用于读取 PayPal / OpenAI 验证码的接口地址" autocomplete="off" />
</div>
<div class="data-row" id="row-hosted-checkout-phone" style="display:none;">
<span class="data-label">直绑电话</span>
<input type="text" id="input-hosted-checkout-phone" class="data-input"
placeholder="PayPal guest checkout 使用的电话" autocomplete="tel" />
</div>
<div class="data-row" id="row-plus-hosted-checkout-oauth-delay" style="display:none;">
<span class="data-label">成功等待</span>
<input type="number" id="input-plus-hosted-checkout-oauth-delay-seconds" class="data-input auto-delay-input"
value="3" min="0" max="120" step="1" />
<span class="setting-caption">支付成功页出现后再继续账号接入</span>
</div>
<div class="data-row" id="row-gpc-helper-api" style="display:none;">
<span class="data-label">GPC API</span>
<div class="data-inline">