source: branches/comu-ver2/html/test/naka/sri_client.php @ 18701

Revision 18701, 725 bytes checked in by nanasess, 14 years ago (diff)

Copyright の更新(#601)

Line 
1<?php
2require_once('../../require.php');
3ini_set('include_path', DATA_PATH . 'module' . PATH_SEPARATOR . ini_get('include_path'));
4require_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);
28print_r($result);
29
30
31
32?>
Note: See TracBrowser for help on using the repository browser.