-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.php
56 lines (55 loc) · 1.84 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
| -------------------------------------------------------------------
| UPS Account Setting
| -------------------------------------------------------------------
*/
$config['ups']['account'] = array(
'access' => '1D**************',
'userid' => '*****',
'passwd' => '*******',
'shipperNumber' => '******',
'mode' => 'test' // production
);
$config['ups']['urls'] = array(
'rating' => ( $config['ups']['account']['mode'] == 'test' ) ? 'https://wwwcie.ups.com/rest/Rate' : 'https://wwwcie.ups.com/rest/Rate',
'shipping' => ( $config['ups']['account']['mode'] == 'test' ) ? 'https://wwwcie.ups.com/rest/Ship' : 'https://onlinetools.ups.com/rest/Ship',
'tracking' => ( $config['ups']['account']['mode'] == 'test' ) ? 'https://wwwcie.ups.com/rest/Track' : 'https://onlinetools.ups.com/rest/Track'
);
/*
| -------------------------------------------------------------------
| UPS Shipper
| -------------------------------------------------------------------
*/
$config['ups']['shipper'] = array(
'Description' => '***',
'Name' => '***',
'AttentionName' => '***',
'AddressLine' => array(
'***',
'***'
),
'City' => '***',
'StateProvinceCode' => '***',
'PostalCode' => '***',
'CountryCode' => '**',
'Number' => '**********'
);
/*
| -------------------------------------------------------------------
| UPS Serivce Type
| -------------------------------------------------------------------
*/
$config['ups']['services'] = array(
'01' => 'UPS Next Day Air',
'02' => 'UPS 2nd Day Air',
'03' => 'UPS Ground',
'07' => 'UPS Worldwide Express',
'08' => 'UPS Worldwide Expedited',
'11' => 'UPS Standard',
'12' => 'UPS 3 Day Select',
'13' => 'UPS Next Day Air Saver',
'14' => 'UPS Next Day Air Early A.M.',
'54' => 'UPS Worldwide Express Plus',
'59' => 'UPS 2nd Day Air AM',
'65' => 'UPS World Wide Saver'
);