Explorar el Código

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

master
sosuke.iwabuchi hace 2 años
padre
commit
26c7e09705
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      app/Http/API/SMBC/BankAccountRegister/SMBC.php

+ 3
- 1
app/Http/API/SMBC/BankAccountRegister/SMBC.php Ver fichero

@@ -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",


Cargando…
Cancelar
Guardar