內容簡介
**總結:**
Melon付款閘道是一個完整的付款整合外掛,讓您的商店透過以下方式接受付款:
- Melon錢包 - 通過OTP驗證進行直接錢包間的支付
- 付款閘道 - 通過Paga進行卡片和手機付款
**問題與答案:**
1. Melon付款閘道的主要功能有哪些?
- 完整的付款流程與電話號碼驗證
- 提供安全交易的OTP驗證
- 檢查Melon錢包餘額
- 支持傳統和基於區塊的結帳方式
- 即時付款狀態更新
- 支援付款確認的Webhook
- 響應式移動端付款對話框
- 通過安全API整合進行適當驗證
- 付款參考跟踪
2. 如何開始使用Melon付款閘道?
- 安裝並啟用外掛
- 前往“設置 > Melon”
- 輸入您的Melon API認證:
- 基礎URL
- 公鑰
- 來源(注意:原始來源將自動從您的WordPress站點URL檢測)
- 在“設置 > 付款”中啟用Melon付款閘道
- 開始接受付款!
3. Melon付款基礎設施的重要性是什麼?
Melon付款基礎設施對於通過Melon錢包和付款閘道(Paga)進行付款處理至為重要。如果沒有這項服務,外掛將無法正常運作。
外掛標籤
開發者團隊
② 後台搜尋「Melon Payment Gateway for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Melon Payment Gateway is a complete payment integration plugin that allows your store to accept payments through:
Melon Wallet – Direct wallet-to-wallet payments with OTP verification
Payment Gateway – Card and mobile money payments via Paga
Key Features
Complete payment flow with phone number validation
OTP verification for secure transactions
Melon wallet balance checking
Support for both traditional and block-based checkout
Real-time payment status updates
Webhook support for payment confirmations
Mobile-responsive payment modals
Secure API integration with proper validation
Payment reference tracking
Payment Flow
Customer enters phone number (Melon ID)
System validates Melon ID via API
OTP verification (if required)
Payment method selection (Melon Wallet or Gateway)
Payment processing and confirmation
Order completion
Requirements
WooCommerce 5.0 or higher
WordPress 5.8 or higher
PHP 7.4 or higher
Valid Melon API credentials
Getting Started
Install and activate the plugin
Go to Settings > Melon
Enter your Melon API credentials:
Base URL
Public Key
Source
Note: Origin is automatically detected from your WordPress site URL
Enable the Melon payment gateway in Settings > Payments
Start accepting payments!
Support
For support, documentation, and updates, visit getmelon.co
Additional Information
API Integration
The plugin integrates with the Melon API to provide secure payment processing. All API communications are encrypted and validated. The plugin supports both staging and production environments.
Webhook Configuration
The plugin automatically registers a webhook endpoint at /wp-json/melon/v1/paga-webhook for payment confirmations. No additional configuration is required for webhook functionality.
Custom Metadata
The plugin supports sending custom order metadata to the Melon API. Enable this feature in Settings > Melon to send additional order information including customer details, billing and shipping addresses.
HPOS Compatibility
This plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS) and WooCommerce Blocks checkout, ensuring compatibility with the latest features.
Security
All user inputs are sanitized and validated. API credentials are stored securely in the WordPress database. The plugin follows WordPress coding standards and security best practices.
External Services
This plugin communicates with external services operated by Melon to provide payment processing functionality.
Melon Payment Infrastructure
The plugin integrates with the Melon payment infrastructure API (https://api.getmelon.co) to process payments, verify phone numbers, and handle transaction confirmations.
Why this service is required:
The Melon payment infrastructure is essential for processing payments through the Melon Wallet and Payment Gateway (Paga). Without this service, the plugin cannot function.
What data is sent:
Phone number (Melon ID) – Required for wallet verification and payment processing
Order reference – Unique identifier for tracking transactions
Payment amount – Transaction amount in the store’s currency
Payment metadata (optional) – Additional order information if custom metadata is enabled, including:
Order ID
Customer name, email, and phone
Billing and shipping addresses
Product information
When data is sent:
During checkout – When customer initiates payment
During payment verification – When OTP is verified
During payment confirmation – When payment is processed
During webhook callbacks – When payment status is updated
Who provides the service:
Melon (https://getmelon.co) provides the payment infrastructure and API services.
Service Links:
Terms of Service: https://getmelon.co/terms
Privacy Policy: https://getmelon.co/privacy
