source: branches/feature-module-update/html/test/naka/sri_client.php @ 16958

Revision 16958, 721 bytes checked in by naka, 15 years ago (diff)

ソフィア総研クレジット検証

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' => '4111111111111111',
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.