
內容簡介
這是 WooCommerce 的官方 Safepay 結帳外掛程式,它允許您使用 WooCommerce 外掛程式接受信用卡和借記卡。它使用無縫整合,讓客戶在您的網站上付款。它在所有瀏覽器上運作,並與最新的 WooCommerce 相容。
依賴項
WordPress v3.9.2 及以上版本
Woocommerce v3.1 及以上版本
PHP v5.6.0 及以上版本
php-curl 擴展
配置方式
拜訪 WooCommerce 設定頁面,並點擊結帳/付款網關頁面。
點擊 Safepay 編輯設定。如果在屏幕頂端的列表中未看到 Safepay,確認您已在 WordPress 插件管理器中啟用該插件。
啟用付款方式,將其命名為使用信用卡和借記卡付款(這將顯示在您的客戶看到顯示付款的頁面上),添加您的沙盒和生產環境的 API 金鑰和 Webhook Secrets。
通過勾選/取消啟用沙盒模式核取方塊,在測試付款和實際付款之間切換。
支援
訪問 spectrum.chat/safepay 以訪問我們的社群,並與其他商家聊天。
訪問我們的 知識中心 以獲得關於如何作為商家使用 Safepay 的詳細指南。
外掛標籤
開發者團隊
② 後台搜尋「Safepay Checkout for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
The official Safepay Checkout plugin for WooCommerce. Customers are redirected to Safepay’s hosted checkout to pay by card, and order status is updated automatically through Safepay webhooks.
Supports the WooCommerce block checkout and the classic shortcode checkout
Compatible with WooCommerce High-Performance Order Storage (HPOS)
Sandbox and Production environments
Currencies: PKR, USD, GBP, AED, EUR, CAD, SAR
A Safepay merchant account is required. Sign up at getsafepay.com.
Configuration
Environment: choose Sandbox for testing or Production for live payments.
Merchant API key: your sec_… API key from the Safepay dashboard.
Merchant secret key: your merchant secret from the Safepay dashboard.
Webhook: in the Safepay dashboard, add an endpoint with the URL shown in the plugin settings (https://your-store.com/wp-json/safepay/v1/order-webhook), select all events, and paste the shared secret into Merchant webhook secret key.
Orders are marked paid when the webhook is received, so the webhook must be configured.
