こんにちは私はewayトークン支払いAPI統合からこのエラーを受け取ります。
SoapFault例外:[HTTP]不正なリクエスト
次のコードを実行している間、soapからの関数
var_dump($client->__getFunctions());
と機能リストは
array
0 => string 'CreateCustomerResponse CreateCustomer(CreateCustomer $parameters)' (length=65)
1 => string 'UpdateCustomerResponse UpdateCustomer(UpdateCustomer $parameters)' (length=65)
2 => string 'QueryCustomerResponse QueryCustomer(QueryCustomer $parameters)' (length=62)
3 => string 'QueryCustomerByReferenceResponse QueryCustomerByReference(QueryCustomerByReference $parameters)' (length=95)
4 => string 'ProcessPaymentResponse ProcessPayment(ProcessPayment $parameters)' (length=65)
5 => string 'ProcessPaymentWithCVNResponse ProcessPaymentWithCVN(ProcessPaymentWithCVN $parameters)' (length=86)
6 => string 'ProcessPaymentWithBeagleResponse ProcessPaymentWithBeagle(ProcessPaymentWithBeagle $parameters)' (length=95)
7 => string 'QueryPaymentResponse QueryPayment(QueryPayment $parameters)' (length=59)
8 => string 'CreateCustomerResponse CreateCustomer(CreateCustomer $parameters)' (length=65)
9 => string 'UpdateCustomerResponse UpdateCustomer(UpdateCustomer $parameters)' (length=65)
10 => string 'QueryCustomerResponse QueryCustomer(QueryCustomer $parameters)' (length=62)
11 => string 'QueryCustomerByReferenceResponse QueryCustomerByReference(QueryCustomerByReference $parameters)' (length=95)
12 => string 'ProcessPaymentResponse ProcessPayment(ProcessPayment $parameters)' (length=65)
13 => string 'ProcessPaymentWithCVNResponse ProcessPaymentWithCVN(ProcessPaymentWithCVN $parameters)' (length=86)
14 => string 'ProcessPaymentWithBeagleResponse ProcessPaymentWithBeagle(ProcessPaymentWithBeagle $parameters)' (length=95)
15 => string 'QueryPaymentResponse QueryPayment(QueryPayment $parameters)' (length=59)
そして私がこのような関数を呼び出すとき
$client->CreateCustomer($customerinfo);
次に、SoapFault例外:[HTTP]BadRequestというエラーが発生します。
$ customerinfoは、すべてのデータの配列です。