瀏覽代碼

SMBC口座登録時のパラメータのバリデーション

master
sosuke.iwabuchi 2 年之前
父節點
當前提交
26c7e09705
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      app/Http/API/SMBC/BankAccountRegister/SMBC.php

+ 3
- 1
app/Http/API/SMBC/BankAccountRegister/SMBC.php 查看文件

@@ -70,9 +70,11 @@ class SMBC
throw new ConfigException('smbc.bankAccountRegister.registerUrl', $url);
}

$onlyZenkakuCustomerName = preg_replace("/[^\p{Hiragana}\p{Katakana}\p{Han}]/u", "", $customer->customerName);

$param = [
'bill_no' => sprintf("%012d", $customer->customerCode),
'bill_name' => $customer->customerName,
'bill_name' => $onlyZenkakuCustomerName,
'bill_kana' => mb_convert_kana($customer->customerNameKana, "ks"),

'version' => "130",


Loading…
取消
儲存