Download First Data Global Gateway Integration Guide Web Service API

Transcript
8.11 CalculateTax .............................................................................................................. 42
8.12 Recurring Payment..................................................................................................... 43
9 Building a SOAP Request Message ............................................................................... 44
10 Reading the SOAP Response Message ......................................................................... 45
10.1 SOAP Response Message ......................................................................................... 45
10.1.1 Transaction ........................................................................................................... 45
10.1.2 Action .................................................................................................................... 46
10.2 SOAP Fault Message ................................................................................................. 47
10.2.1 SOAP-ENV:Server ................................................................................................ 48
10.2.2 SOAP-ENV:Client ................................................................................................. 48
11 Analyzing the Transaction Response ............................................................................ 50
11.1 Approval Response .................................................................................................... 50
11.2 Failure Response ....................................................................................................... 52
12 Building an HTTPS POST Request ................................................................................. 55
12.1 PHP............................................................................................................................ 56
12.1.1 Using the cURL PHP Extension ............................................................................ 56
12.1.2 Using the cURL Command Line Tool .................................................................... 57
12.2 ASP ............................................................................................................................ 57
13 Establishing an SSL connection .................................................................................... 59
13.1 PHP............................................................................................................................ 59
13.1.1 Using the PHP cURL Extension ............................................................................ 59
13.1.2 Using the cURL Command Line Tool .................................................................... 60
13.2 ASP ............................................................................................................................ 60
14 Sending the HTTPS POST Request and Receiving the Response ............................... 61
14.1 PHP............................................................................................................................ 61
14.1.1 Using the PHP cURL Extension ............................................................................ 61
14.1.2 Using the cURL Command Line Tool .................................................................... 61
14.2 ASP ............................................................................................................................ 62
15 Using .NET Framework ................................................................................................... 63
15.1 Prerequisites .............................................................................................................. 63
15.2 Creating Web Service Reference Classes in .NET ..................................................... 64
15.3 Writing the .NET Client ............................................................................................... 67
16 Using a Java Framework................................................................................................. 70
16.1 Axis Framework.......................................................................................................... 70
16.1.1 Client Certificate Configuration .............................................................................. 70
16.1.2 Generating Client Stubs ........................................................................................ 70
16.1.3 Writing the Axis Client ........................................................................................... 71
16.1.4 SSL and HTTP Authentication ............................................................................... 74
16.2 Spring Web Services .................................................................................................. 74
16.2.1 Client Configuration ............................................................................................... 74
16.2.2 Writing the Spring Client ........................................................................................ 76
16.2.3 SSL/Certificate Configuration ................................................................................ 81
17 Customer Test Environment (CTE) ................................................................................ 82
18 Troubleshooting .............................................................................................................. 87
18.1 Merchant Exceptions .................................................................................................. 87
18.2 cURL Login Error Messages ...................................................................................... 92
18.3 Java Client Login Error Messages .............................................................................. 93
First Data Corp. Web Service API v3
3