ENG:
Spgateway is a third-party cash flow and logistics company in taiwan, this module is mainly to provide Drupal Commerce various payment methods .
Currently available methods are:
- Credit Card
- Web ATM
- ATM Transfer
- CVS
- BARCODE
- Pay2go
- Logistics Services
- Google Pay
- Samsuny Pay
- Union Pay
- Credit card staging
REQUIREMENTS
This module requires the following modules:
- commerce
- commerce_ui
- commerce_checkout
- commerce_order_ui
- commerce_order
- commerce_payment
中文:
這個模組主要是串接第三方支付智付通(藍星)的金流,跟Drupal Commerce整合。
支援的金流有:
1. 信用卡
2. WebATM
3. ATM轉帳
4. 超商代碼繳費
5. 超商條碼繳費
6. Pay2go電子錢包
7. 物流服務
8. Google Pay
9. Samsung Pay
10 銀聯卡
11. 信用卡分期付款
如何安裝:
1. 下載模組到sites/all/modules
2. 啟用模組
3. 去測試平台申請測試帳號
4. 到路徑/admin/commerce/config/spgateway,進行環境設定
5. 可以直接測試購物金流是否成功
常見問題:
1. 每次的付款紀錄在哪裡?
Ans: 訂單紀錄裡面的將會看到“付款方式”,裡面有每筆訂單成功與失敗的紀錄
2. 想要抓取每次交易回傳回來的全部參數?
Ans:回傳的參數全部存在 transaction這個entity當中的message_variables當中。
<?php
$transaction = commerce_payment_transaction_load($transactionID);
$data = $transaction->message_variables;
?>
備註:
1. 測試信用卡卡號 4000-2211-1111-1111,剩下資訊隨意打都會過
2. 若要切回正式環境,請到這個模組的【智付通金流服務平台】,進行切換設定。
3. 由於這個金流主要都是在台灣使用,因此,這個金流模組省去了使用t(),介面都是中文化,隨裝隨用。
4. 若有任何問題,歡迎在開issue,我們會再協助解決。
更新紀錄
1. 2019/1/10 加入銀聯卡與紅利折抵支援
2020/09/09 通知
1. API網址更換,目前此模組還是使用舊的網域進行API串接。
舊的:https://ccore.spgateway.com
新的:https://core.newebpay.com
Enjoy It.
Project information
- Project categories: E-commerce, Integrations
2 sites report using this module
- Created by cobenash on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.






