@@ -122,7 +122,7 @@ Compatible with any payment service that implements the EasyPay protocol.
...
@@ -122,7 +122,7 @@ Compatible with any payment service that implements the EasyPay protocol.
### Alipay (Direct)
### Alipay (Direct)
Direct integration with Alipay Open Platform. Desktop flows return a QR code for in-page display, while mobile flows return an Alipay WAP/app redirect URL.
Direct integration with Alipay Open Platform. Mobile flows return an Alipay WAP/app redirect URL. Desktop flows prefer Face-to-Face Precreate QR payloads; if the merchant has not enabled that product, the provider falls back to Computer Website Pay and also returns the cashier URL so the frontend can render a QR code or open the hosted checkout page directly.
| Parameter | Description | Required |
| Parameter | Description | Required |
|-----------|-------------|----------|
|-----------|-------------|----------|
...
@@ -229,7 +229,7 @@ User selects amount and payment method
...
@@ -229,7 +229,7 @@ User selects amount and payment method
▼
▼
User completes payment
User completes payment
├─ EasyPay → QR code / H5 redirect
├─ EasyPay → QR code / H5 redirect
├─ Alipay → Desktop QR / mobile Alipay redirect
├─ Alipay → Desktop QR payload (Face-to-Face preferred, Website Pay fallback) / mobile Alipay redirect
wxpayConfigHint:'WeChat Pay usually only needs App ID. Fill MP App ID, H5 App Name, and H5 App URL only when your Official Account or H5 flow specifically requires them.',
alipayGuideSummary:'Desktop prefers QR precreate and falls back to cashier; mobile prefers WAP checkout.',
alipayGuideFaceToFaceTitle:'Face-to-face / QR Payment',
alipayGuideFaceToFaceOpen:'Enable face-to-face or QR payment capability.',
alipayGuideFaceToFaceCall:'Desktop orders call alipay.trade.precreate first and render the QR code directly.',
alipayGuideFaceToFaceFallback:'If unavailable or failed, the flow falls back to website checkout automatically.',
alipayGuidePagePayTitle:'Website Payment',
alipayGuidePagePayOpen:'Enable website payment.',
alipayGuidePagePayCall:'When face-to-face is unavailable on desktop, the flow calls alipay.trade.page.pay and still renders the returned link as a QR code.',
alipayGuidePagePayFallback:'The cashier link stays available so users can reopen the checkout page manually.',
alipayGuideWapTitle:'WAP Payment',
alipayGuideWapOpen:'Enable mobile website payment.',
alipayGuideWapCall:'Mobile orders call alipay.trade.wap.pay first and jump to Alipay checkout.',
alipayGuideWapFallback:'If mobile payment is unavailable or fails, the frontend switches to QR payment and shows a notice.',
wxpayGuideSummary:'Desktop prefers Native QR; mobile routes to JSAPI or H5 based on browser context.',
wxpayGuideNote:'The current form defaults to one shared App ID, which fits the common single-subject web, mobile, and Official Account setup.',
wxpayGuideNativeTitle:'Native / QR Payment',
wxpayGuideNativeOpen:'Enable Native or QR payment capability.',
wxpayGuideNativeCall:'Desktop orders use Native by default and the frontend renders the QR payload.',
wxpayGuideNativeFallback:'Mobile flows also fall back here when JSAPI or H5 cannot be used.',
wxpayGuideJsapiTitle:'JSAPI / Official Account',
wxpayGuideJsapiOpen:'Enable Official Account payment and ensure the browser is inside WeChat with an available OpenID.',
wxpayGuideJsapiCall:'Inside WeChat, the app calls JSAPI after authorization and launches WeChat Pay directly.',
wxpayGuideJsapiFallback:'If configuration is missing, the bridge is unavailable, or launch fails, the flow falls back to QR payment.',
wxpayGuideH5Title:'H5 Payment',
wxpayGuideH5Open:'Enable H5 payment.',
wxpayGuideH5Call:'On mobile browsers outside WeChat, the app calls H5 payment when a client IP is available.',
wxpayGuideH5Fallback:'If H5 is unavailable or order creation fails, the flow falls back to QR payment.',
noProviders:'No provider instances configured',
noProviders:'No provider instances configured',
supportedTypes:'Supported Payment Types',
supportedTypes:'Supported Payment Types',
supportedTypesHint:'Comma-separated, e.g. alipay,wxpay',
supportedTypesHint:'Comma-separated, e.g. alipay,wxpay',
...
@@ -5627,6 +5660,7 @@ export default {
...
@@ -5627,6 +5660,7 @@ export default {
wechatOpenInWeChatHint:'Open the current page inside WeChat, or switch to desktop WeChat QR payment.',
wechatOpenInWeChatHint:'Open the current page inside WeChat, or switch to desktop WeChat QR payment.',
wechatScanOnDesktopHint:'On desktop, use WeChat Scan to pay; on mobile, reopen the current page inside WeChat.',
wechatScanOnDesktopHint:'On desktop, use WeChat Scan to pay; on mobile, reopen the current page inside WeChat.',
wechatSwitchBrowserHint:'Switch to desktop WeChat QR payment, or reopen this page in an external browser and retry.',
wechatSwitchBrowserHint:'Switch to desktop WeChat QR payment, or reopen this page in an external browser and retry.',
mobilePaymentFallbackToQr:'This merchant has not enabled mobile payment. The flow has been switched to QR payment automatically.',
alipayDesktopUnavailable:'The desktop Alipay flow could not generate a QR code.',
alipayDesktopUnavailable:'The desktop Alipay flow could not generate a QR code.',
alipayDesktopQrHint:'Desktop Alipay should render a QR code. Refresh and retry, or make sure the payment page was not blocked.',
alipayDesktopQrHint:'Desktop Alipay should render a QR code. Refresh and retry, or make sure the payment page was not blocked.',
alipayMobileUnavailable:'This page could not hand off to Alipay.',
alipayMobileUnavailable:'This page could not hand off to Alipay.',