Line | |
---|
1 | <?php
|
---|
2 | require_once('../../require.php');
|
---|
3 | ini_set('include_path', DATA_PATH . 'module' . PATH_SEPARATOR . ini_get('include_path'));
|
---|
4 | require_once('SOAP/Client.php');
|
---|
5 |
|
---|
6 | $client = new SOAP_Client('http://testwallet.sri.jp/index.php?module=CreditV&wsdl');
|
---|
7 |
|
---|
8 | $authonlyData = array(
|
---|
9 | // 加盟店ID
|
---|
10 | 'spid' => 'd45f9d00f62721e7',
|
---|
11 | // 注文ID
|
---|
12 | 'orderid' => '3',
|
---|
13 | // カード番号
|
---|
14 | 'cardno' => '5555-5555-5555-4444',
|
---|
15 | // 有効期限
|
---|
16 | 'expire' => '0808',
|
---|
17 | // 金額
|
---|
18 | 'amount'=> '1000',
|
---|
19 | // 支払方法
|
---|
20 | 'method' => '10'
|
---|
21 | );
|
---|
22 |
|
---|
23 | $input = array(
|
---|
24 | 'authonlyData' => $authonlyData
|
---|
25 | );
|
---|
26 |
|
---|
27 | $result = $client->call('CreditVService.authonly', $input);
|
---|
28 | print_r($result);
|
---|
29 |
|
---|
30 |
|
---|
31 |
|
---|
32 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.