Skip to content

Commit

Permalink
new params
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 authored Dec 12, 2018
1 parent 0e01cf9 commit 03b8bba
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function createTransaction(array $params)
'success_returl' => null,
// 交易失敗後的轉址(若動態網址可以使用此方式傳遞)
'failure_returl' => null,
// 折價
// 折價(​數值帶負數​)
'discount' => null,
// 當pfn=CSTORECODE或 E_COLLECTION時,此為自訂有效使 用天數,否則以系統設定為預設有效天數
'limit_pay_days' => null,
Expand All @@ -163,6 +163,14 @@ public function createTransaction(array $params)
'ewallet_type' => 1,
// 定期扣款起扣日(若未指定日期, 或小於今日則將判為當日扣)
'regular_first_charge_date' => null,
// 1網路交易(預設)/2實體交易
'transaction_type' => null,
// 國內信用卡分期限定顯示期數(且必須服務商與 支付頁面設定有支援)
'creditcard_installment' => null,
// 無卡支付商品名稱代碼
'cardless_code' => null,
// 1: 應稅 2:零稅率 3: 免稅
'invoice_ratetype' => null,
];

$supportedItemParams = ['id', 'name', 'cost', 'amount'];
Expand Down

0 comments on commit 03b8bba

Please sign in to comment.