[WordPress] 外掛分享: WooCommerce Payment gateways

首頁外掛目錄 › WooCommerce Payment gateways
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
3765 天前
最後更新
問題解決
WordPress 3.0.1+ v2.0 上架:2015-11-26

內容簡介

允許客戶使用多種付款網關:
* Authorize.net – 只能使用信用卡付款。
* PayU(拉丁美洲)- 可以使用信用卡付款,也可以在7-Eleven、Oxxo等地點使用離線付款。

鉤子

共提供兩個鉤子,用於簡單工作流程中需要將訂單標記為完成,或用戶將發送離線付款收據;如果不需要這些鉤子,它們將是不必要的,它們適用於複雜和自定義的工作流程。

gp_order_online_completed_successfully – 當付款完成時觸發此鉤子。將包含網關回應信息和訂單 ID 的數組發送至回調函數。
gp_error_occurred – 當付款過程中發生錯誤時觸發此鉤子。將異常發送至回調函數。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WooCommerce Payment gateways」→ 直接安裝(推薦)

原文外掛簡介

Allows customers to pay using several payment gateways:
* Authorize.net – Credit card only.
* PayU (Latin America) – Credit card + offline payments on 7-Eleven, Oxxo’s.
Hooks
Two hooks are exposed, for a basic workflow in which the order needs to be marked as complete or users will send a
receipt for offline payments, these hooks are not needed, they are meant for more complex and custom workflows.

gp_order_online_completed_successfully – This hook is triggered when the payment is completed. Sends an array with
the gateway’s response information and the order ID to the callback.
gp_error_occurred – This hook is triggered when an error occurs during the payment process. Sends the exception
to the callback.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon