Direct Payment Protocol Specification

Total Page:16

File Type:pdf, Size:1020Kb

Direct Payment Protocol Specification Direct Payment Protocol Specification October 2005 Version 1.1 This manual and accompanying electronic media are proprietary products of Optimal Payments Inc. They are to be used only by licensed users of the product. © 1999–2006 Optimal Payments Inc. All rights reserved. The information within this document is subject to change without notice. The software described in this document is provided under a license agreement, and may be used or copied only in accor- dance with this agreement. No part of this manual may be reproduced or transferred in any form or by any means without the express written consent of Optimal Payments Inc. FirePay and FireCash are registered trademarks of Optimal Payments Inc. All other names, trade- marks, and registered trademarks are the property of their respective owners. Optimal Payments Inc. makes no warranty, either express or implied, with respect to this product, its merchantability or fitness for a particular purpose, other than as expressly provided in the li- cense agreement of this product. For further information, please contact Optimal Payments Inc. International Head Office Optimal Payments Inc. 2 Place Alexis Nihon, Suite 700 Westmount, Quebec H3Z 3C1 Canada Tel.: (514) 380-2700 Fax: (514) 380-2760 Email: [email protected] Technical support: [email protected] Web: www.optimalpayments.com U.K. Office Optimal Payments Ltd. Quern House, Mill Court Hinton Way, Great Shelford Cambridge CB2 5LD United Kingdom Email: [email protected] Technical Support: [email protected] Web: www.optimalpayments.co.uk U.S. Office Optimal Payments Corp. 1800 West Loop South, #770 Houston, TX 77027 Hull Office Optimal Payments Inc. 75 Promenade du Portage Gatineau, Quebec J8X 2J9 Canada Contents 1Transaction Requests The Optimal Payments account model . 1-1 Building transaction requests . 1-2 Decoding responses . 1-3 Example scenario . 1-4 Definitions and conventions . 1-5 Using this guide . 1-7 Audience . 1-7 Functionality . 1-7 Symbols . 1-8 Merchant transactions. 1-8 Security features . 1-9 AVS . 1-9 CVD . 1-11 Negative database . 1-11 Purchase . 1-12 Purchase message format . 1-12 Purchase successful response . 1-20 Purchase error response . 1-22 AVS Check . 1-24 AVS Check message format . 1-24 AVS Check successful response . 1-26 AVS Check error response . 1-27 Risk Only . 1-29 Risk Only message format . 1-29 Risk Only successful response. 1-32 Risk Only error response . 1-33 Authorization . 1-33 Authorization message format . 1-34 Authorization successful response. 1-41 Authorization error response . 1-43 Settlement . 1-45 Settlement message format. 1-46 Settlement successful response. 1-48 Settlement error response . 1-49 Direct Payment Protocol Specification 1.1 III October 2005 Cancel Settlement . 1-50 Cancel Settlement message format . 1-50 Cancel Settlement successful response . 1-52 Cancel Settlement error response. 1-52 Credit . 1-53 Credit message format . 1-54 Credit successful response . 1-56 Credit error response . 1-57 Cancel Credit . 1-58 Cancel Credit message format . 1-58 Cancel Credit successful response . 1-60 Cancel Credit error response . 1-60 Transaction recovery . 1-61 Transaction Lookup . 1-62 Transaction Lookup message format. 1-62 Transaction Lookup successful response . 1-65 Transaction Lookup error response. 1-65 Query . 1-66 Query message format . 1-67 Query successful response . 1-68 Query error response . 1-71 A Error Return Codes Error message types . A-1 Payment service error messages . A-1 Action codes . A-2 Error codes and strings . A-2 Suberror codes and strings . A-12 Unmapped suberror codes and strings . A-15 B Geographical Codes Province codes . B-1 State codes. B-2 Country codes . B-3 IV October 2005 C Merchant SIC Codes D Product Codes Index Direct Payment Protocol Specification 1.1 V October 2005 VI CHAPTER 1 Transaction Requests The Optimal Payments account model Optimal Payments merchants are assigned one or more accounts upon registration. Each account may process transactions for one currency only. These accounts have an account number of up to eight digits, an account transaction processing ID, and a password, provided upon reg- istration, which must be included in all transaction processing requests. These three identifiers link each transaction to the account. Direct Payment Protocol Specification 1.1 1-1 Transaction Requests October 2005 Building transaction requests All transaction requests are submitted to the Optimal Payments transac- tion-processing engine as URL-encoded data. The request message is built as follows: 1. Each field is created as a name=value pair. For example: “account=400021”. 2. All non-alphanumeric characters in the name and value compo- nents are replaced by “%” followed by the hex value associated with the character. For example, all spaces are replaced with “%20”. Thus “Thanks for the help!” would be modified to “Thanks%20for%20the%20help%21”. 3. The fields are concatenated together into a single string, with each field separated by the “&” character. For example: account=40021&amount=1000&operation=A&cardNumber=405025900504 0&cardExp=12%2f99&cardType=VI 4. Determine the length of the string. Build the message as the following header concatenated with a blank line and the string containing the fields. The value URL_FOR_Direct_Payment should be replaced by the URL provided to you when you registered with the service, and length should be replaced by the length you calculated in step 4 above. POST URL_FOR_Direct_Payment<CR><LF> Content-type: application/x-www-form-urlencoded<CR><LF> Content-length: length<CR><LF> Upon testing, if the URL provided to you during registration were https://realtime.test.firepay.com an example of the complete message would be: POST /realtime.test.firepay.com HTTP/1.0<CR><LF> Content-type: application/x-www-form-urlencoded<CR><LF> Content-length: 91<CR><LF> <CR><LF> account=40021&amount=1000&operation=A&cardNumber=405025900504 0&cardExp=12%2f99&cardType=VI To submit this request, the merchant application then opens an SSL pro- tected socket connection to Optimal Payments’ transaction-processing engine and sends the request data. 1-2 October 2005 Decoding responses Any tool that creates and submits a standard HTTP Post using SSL could be employed. One example is the Microsoft URL Control, which allows you to set the data to be posted and then to do a secure POST of that data. Decoding responses The response to a request is returned as an HTTP header, a blank line and then a string containing a number of name=value pairs. The string is URL encoded so that all non-alphanumeric characters in the name or value components are replaced by “%” followed by the ASCII code in hex for that character. For example, “!” is replaced with “%21”. Spaces may also be replaced by the “+” character. In order to extract the fields from the response, the following steps should be followed: 1. Split the string after the blank line into name=value pairs at each “&” separator. 2. Split the name=value pairs into their name and value components based on the “=” separator. 3. Replace all “+” characters in the name and value components with a space character. 4. Replace all %XX occurrences in the name and value components with the ASCII character represented by the hex value XX. An example of a response message would be: HTTP/1.1 200 OK Server: Netscape-Enterprise/3.5.1 Date: Mon, 27 Nov 2000 15:58:03 GMT Content-type: text/plain Status=E&errCode=131&errString=Operation+not+supported+%28131 %29+-Please+check+request+parameters&subError=0 This response message would decode into the following values: Response Parameter Value status E errCode 131 Table 1-1: Response Parameters Direct Payment Protocol Specification 1.1 1-3 Transaction Requests October 2005 Response Parameter Value errString Operation not supported (131) - Please check request parameters. subError 0 Table 1-1: Response Parameters (Continued) Example scenario The following presents a series of real-world scenarios that demonstrate the Optimal Payments account model. The following participants inter- act in the scenarios: • Store – an online bookstore • Smith – a consumer • Optimal Payments – the Optimal Payments transaction processor A) Smith buys 3 books 1. Smith purchases the following books at Store • Book a: $10 • Book b: $25 • Book c: $25 2. Store sends an Authorization request to Optimal Payments for the total amount ($60) 3. An Authorization transaction is created for $60 (Authorization TRID = 0020) B) Store ships the first two books 1. A Settlement is made: $35 ($10 + $25) against Authorization 0020 (Settlement TRID = 0123) 2. Remaining on Authorization 0020 = $25 3. Status of Authorization 0020 = partially settled C) Settlement batch run 1. State of Settlement 0123 = complete 2. State of Authorization 0020 = partially settled 1-4 October 2005 Definitions and conventions D) Store ships the third book 1. A Settlement is made: $25 against Authorization 0020 (Settlement TRID = 0232) 2. Remaining on Authorization 0020 = $0 3. State of Settlement 0232 = pending 4. Status of Authorization 0020 = settled E) Settlement batch run 1. State of Settlement 0232 = complete 2. State of Authorization 0020 = settled F) Smith returns third book 1. A Credit is made: $25 against Settlement TRID= 0123 (Credit TRID = 0256) 2. Remaining on Settlement 0123 = $10 3. Remaining on Authorization 0020 = $0 4. State of Settlement 0232 = complete 5. State of Authorization 0020 = settled 6. State of Credit 0256 = pending G) Credit batch run 1. State of Settlement 0232 = complete 2. State of Authorization 0020 = settled Definitions and conventions This section defines the message formats for merchant–transaction processor interactions. Messages are defined in terms of a set of fields. Each field has the following: •A name • A requirement setting, which may be: • (mandatory) – the transaction cannot be processed without this parameter. Direct Payment Protocol Specification 1.1 1-5 Transaction Requests October 2005 • (optional) – the transaction can always be processed without this parameter.
Recommended publications
  • Women in Aviation Female Afghan Pilot Seeks Asylum Captain Niloofar Rahmani Finished a Type Course on C-130S with the U.S
    NetLetter #1359 | January 28, 2017 Eastern Air Lines Boeing 737-800 at JFK Dear Reader, Welcome to the NetLetter, an Aviation based newsletter for Air Canada, TCA, CPAir, Canadian Airlines and all other Canadian based airlines that once graced the Canadian skies. The NetLetter was created in 1995 by Vesta Stevenson (RIP) and Terry Baker and is published on the second and fourth weekend of each month. If you are interested in Canadian Aviation History, and vintage aviation photos, especially as it relates to Trans-Canada Air Lines, Air Canada, Canadian Airlines International and their constituent airlines, then we're sure you'll enjoy this newsletter. Our website is located at www.thenetletter.net Women in Aviation Female Afghan Pilot Seeks Asylum Captain Niloofar Rahmani finished a type course on C-130s with the U.S. Air Force on December 22nd, 2016 and promptly requested to stay in the U.S. She had been training in the U.S. for more than a year. “I would love to fly for my country—that is what I always wanted to do,” Rahmani told The Wall Street Journal in an interview from Little Rock Air Force Base in Arkansas, where she did the Hercules course. “But I’m scared for my life.” She said she’d like to continue flying for the Air Force or become an airline pilot. (Source AVWeb flash December 25, 2016) Air Canada News Customers travelling on AC115 on December 21, 2016 received one ticket anywhere Air Canada flies for themselves and another to pay forward! (see #FlytheFlag) Flight AC115 /21Dec was another routine Boeing 787 Dreamliner flight from Toronto to Vancouver until, part way through the flight, the cabin crew began serving sparkling wine to pleasantly surprised customers.
    [Show full text]
  • Use CTL/F to Search for INACTIVE Airlines on This Page - Airlinehistory.Co.Uk
    The World's Airlines Use CTL/F to search for INACTIVE airlines on this page - airlinehistory.co.uk site search by freefind search Airline 1Time (1 Time) Dates Country A&A Holding 2004 - 2012 South_Africa A.T. & T (Aircraft Transport & Travel) 1981* - 1983 USA A.V. Roe 1919* - 1920 UK A/S Aero 1919 - 1920 UK A2B 1920 - 1920* Norway AAA Air Enterprises 2005 - 2006 UK AAC (African Air Carriers) 1979* - 1987 USA AAC (African Air Charter) 1983*- 1984 South_Africa AAI (Alaska Aeronautical Industries) 1976 - 1988 Zaire AAR Airlines 1954 - 1987 USA Aaron Airlines 1998* - 2005* Ukraine AAS (Atlantic Aviation Services) **** - **** Australia AB Airlines 2005* - 2006 Liberia ABA Air 1996 - 1999 UK AbaBeel Aviation 1996 - 2004 Czech_Republic Abaroa Airlines (Aerolineas Abaroa) 2004 - 2008 Sudan Abavia 1960^ - 1972 Bolivia Abbe Air Cargo 1996* - 2004 Georgia ABC Air Hungary 2001 - 2003 USA A-B-C Airlines 2005 - 2012 Hungary Aberdeen Airways 1965* - 1966 USA Aberdeen London Express 1989 - 1992 UK Aboriginal Air Services 1994 - 1995* UK Absaroka Airways 2000* - 2006 Australia ACA (Ancargo Air) 1994^ - 2012* USA AccessAir 2000 - 2000 Angola ACE (Aryan Cargo Express) 1999 - 2001 USA Ace Air Cargo Express 2010 - 2010 India Ace Air Cargo Express 1976 - 1982 USA ACE Freighters (Aviation Charter Enterprises) 1982 - 1989 USA ACE Scotland 1964 - 1966 UK ACE Transvalair (Air Charter Express & Air Executive) 1966 - 1966 UK ACEF Cargo 1984 - 1994 France ACES (Aerolineas Centrales de Colombia) 1998 - 2004* Portugal ACG (Air Cargo Germany) 1972 - 2003 Colombia ACI
    [Show full text]
  • Westjet and MAA Best Practices for Siebel Applications on Oracle
    WestJet: Siebel on Exadata Floyd Manzara [email protected] Kris Trzesicki [email protected] WestJet: Overview THE AIRLINE INDUSTRY IS TOUGH “If I’d been at Kitty Hawk in 1903 when Orville Wright took off, I would have been farsighted enough, and public-spirited enough – I owed this to future capitalists – to shoot him down.” - Warren Buffet WestJet: Overview Canadian airlines operating today Adler Aviation Aklak Air Cargojet Airways KD Air North-Wright Airways Sunwing Airlines Aeropro Alberta Citylink Central Mountain Air Keewatin Air Orca Airways Superior Airways Air Canada Aldair Aviation CHC Helicopter Kelowna Flightcraft Pacific Coastal Airlines Thunder Airlines Air Canada Jazz Alkan Air Cloud Air Kenn Borek Air Pascan Aviation Tofino Air Air Canada Jetz Alta Flights Corporate Express Keystone Air Service Perimeter Aviation Trans Capital Air Air Creebec Arctic Sunwest Cougar Helicopters Kivalliq Air Porter Airlines Transwest Air Air Express Ontario Charters Craig Air Kootnay Direct Airlines Prince Edward Air Universal Helicopters Air Georgian Bar XH Air Enerjet Lakeland Aviation Pronto Airways Vancouver Island Air Air Inuit BCWest Air Enterprise Airlines LR Helicopters Inc. Provincial Airlines Voyageur Airways Air Labrador Bearskin Airlines First Air Maritime Air Charter Regional 1 Wasaya Airways Air Mikisew Brock Air Services Flair Airlines Morningstar Air Salt Spring Air West Coast Air Air North Buffalo Airways Green Air Express SkyLink Aviation West Wind Aviation Air Nunavut Calm Air Harbour Air Nolinor Aviation SkyNorth
    [Show full text]
  • Economic Sourcebook & Market Profile 2019
    Economic Sourcebook & market profile 2019 GREATER FORT LAUDERDALE HAS THE LIFE: Less Taxing PERFECT CLIMATE FOR BUSINESS SUCCESS Targeted Industries AVIATION GLOBAL LOGISTICS LIFE SCIENCES TECHNOLOGY MARINE INDUSTRIES CORPORATE HEADQUARTERS www.gflalliance.org | $24.95 Business is $73,559 MEDIAN HOUSEHOLD INCOME BRIGHTER 132,483 in TOTAL POPULATION 36 MEDIAN AGE 5 ACCESSIBLE AIRPORTS 3 ACCESSIBLE HIGHWAYS 1 ACCESSIBLE SEAPORT 3.3% LOW UNEMPLOYMENT 74,491 STRONG LABOR FORCE 48.6% HAVE COLLEGE DEGREE AAA BOND RATING BY STANDARD & POOR'S TOP 100 PLACES TO LIVE BY MONEY MAGAZINE CITY OF CORAL SPRINGS • ECONOMIC DEVELOPMENT OFFICE 9500 WEST SAMPLE ROAD • CORAL SPRINGS, FL 33065 • 954-346-6996 CoralSpringsEDO.com • /CoralSpringsEDO EVERYTHING UNDER THE SUN EconomicSourcebookAd-CoralSprings-2018.indd 1 7/25/18 12:02 PM Broward County HAS EVERYTHING A BUSINESS AND ITS EMPLOYEES NEED TO THRIVE Broward County offers an exceptional lifestyle. We boast 23 miles of beaches, 300 miles of inland waterways, thousands of restaurants, a thriving arts and culture scene, top shopping, sports of all sorts, abundant lodging accommodations, and unique natural wonders from our vibrant coral reefs to the Everglades. Whether you're looking for a diverse and well educated workforce, business friendly government or easy access to major international markets and excellent infrastructure, Broward County should be at the top of your list for your next relocation or expansion project. For corporate relocation: For small business support: Solid Waste and Recycling Services gflalliance.org Broward.org/EconDev 954-627-0123 954-357-6400 A Service of the Broward County Board of County Commissioners ECONOMIC SOURCEBOOK & MARKET PROFILE Bob Swindell 954-627-0131 President/CEO bswindell@gflalliance.org Jack Bennings 954-627-0136 2019 Director - Workforce Services jbennings@gflalliance.org Liza Bongiovi 954-627-0132 Table of Contents Sr.
    [Show full text]
  • Quick Reference Booklet—Merchant Edition • 15 November 2018 2 Contents
    Quick Reference Booklet— Merchant Edition 15 November 2018 QR Contents Contents Chapter 1: Card Acceptor Business Codes (MCCs).....................................10 Overview—Card Acceptor Business Code (MCC) Information...........................................19 Card Acceptor Business Code (MCC) Criteria................................................................... 19 Required Use of MCCs..................................................................................................... 20 Transaction Category Codes.............................................................................................20 Definitions: Transaction Category Codes and Types of Transactions.............................. 20 Card Acceptor Business (CAB) Programs and Descriptions............................................23 MCC Descriptions............................................................................................................ 34 Comprehensive MCC Listing by Formatted File Type.........................................................37 Card Acceptor Business Codes (MCCs)—Extended........................................................... 38 MCC 0742—Veterinary Services.................................................................................. 38 MCC 0763—Agricultural Cooperatives........................................................................38 MCC 0780—Horticultural and Landscaping Services....................................................39 MCC 1520—General Contractors—Residential and Commercial..................................39
    [Show full text]
  • MAA Best Practices for Siebel Applications on Oracle Database
    Real-World MAA Best Practices for Siebel Applications on Oracle Database Floyd Manzara Mehdi Gerami Technical Architect Siebel Product Management Kris Trzesicki Richard Exley Senior Database Specialist Siebel MAA and Exadata Disclaimer The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Program Agenda . Siebel Maximum Availability Architecture . Siebel and Active Data Guard . Siebel Testing with Oracle Database Replay . WestJet: Siebel on Exadata . Siebel Performance . Siebel Workload Tagging 3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Siebel Maximum Availability Architecture 4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Siebel Maximum Availability Architecture Primary Site Secondary Site Web Servers Siebel Servers Siebel Siebel Gateway Gateway Server Server DB Servers Oracle Oracle RAC and RAC and ASM ASM Oracle Data Guard Siebel Oracle File System Replication Oracle Siebel File Database Standby File System Database System 5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Database Maximum Availability Architecture Real Application Clusters Online Upgrade Data Guard & Clusterware Upgrade Hardware and Software Active Failover Best Practices Fault Tolerant Online Replica Server Scale-Out Primary Site Secondary Site . Oracle RAC and Clusterware . Oracle Data Guard Database Servers Database Servers .
    [Show full text]
  • Creditor Notice
    TravelBrands Inc. List of Known Creditors Please note the following: 1. This list of creditors has been prepared from information contained in the books and records of TravelBrands Inc. and represents amounts owing in the ordinary course of business. 2. This list includes both invoiced amounts and accruals as at April 30, 2015, being the most up to date financial records available at the date of the Initial Order. The accruals, which make up a significant portion of the overall balance, are based on initial estimates and may differ significantly from actual amounts owing. 3. The amounts have not been adjusted for any amounts that may also be receivable from creditors. 4. This list of creditors has been prepared without admission as to the liability for, or quantum of, any of the amounts shown. 5. To date, a claims procedure has not been approved by the Court, and creditors are NOT required to file a statement of account or proof of claim at this point in time. 6. If and when a claims procedure is approved by the Court, further details and claims forms will be posted to the Monitor's website. It is through such a claims procedure that creditor claims will be reviewed and determined. Again, creditors are NOT required to file a statement of account or proof of claim at this point in time. KPMG Inc. is a subsidiary of KPMG LLP, a Canadian limited liability partnership and a member firm of the KPMG network of independent member firms affiliated with KPMG International Cooperative (“KPMG International”) a Swiss entity.
    [Show full text]
  • Use CTL/F to Search for INACTIVE Airlines on This Page - Airlinehistory.Co.Uk
    187529151.xlsx.ms_office Use CTL/F to search for INACTIVE airlines on this page - airlinehistory.co.uk site search by freefind search Airline 1Time (1 Time) Dates Country A&A Holding 2004 - 2012 South_Africa A.T. & T (Aircraft Transport & Travel) 1981* - 1983 USA A.V. Roe 1919* - 1920 UK A/S Aero 1919 - 1920 UK A2B 1920 - 1920* Norway AAA Air Enterprises 2005 - 2006 UK AAC (African Air Carriers) 1979* - 1987 USA AAC (African Air Charter) 1983*- 1984 South_Africa AAI (Alaska Aeronautical Industries) 1976 - 1988 Zaire AAR Airlines 1954 - 1987 USA Aaron Airlines 1998* - 2005* Ukraine AAS (Atlantic Aviation Services) **** - **** Australia AB Airlines 2005* - 2006 Liberia ABA Air 1996 - 1999 UK AbaBeel Aviation 1996 - 2004 Czech_Republic Abaroa Airlines (Aerolineas Abaroa) 2004 - 2008 Sudan Abavia 1960^ - 1972 Bolivia Abbe Air Cargo 1996* - 2004 Georgia ABC Air Hungary 2001 - 2003 USA A-B-C Airlines 2005 - 2012 Hungary Aberdeen Airways 1965* - 1966 USA Aberdeen London Express 1989 - 1992 UK Aboriginal Air Services 1994 - 1995* UK Absaroka Airways 2000* - 2006 Australia ACA (Ancargo Air) 1994^ - 2012* USA AccessAir 2000 - 2000 Angola ACE (Aryan Cargo Express) 1999 - 2001 USA Ace Air Cargo Express 2010 - 2010 India Ace Air Cargo Express 1976 - 1982 USA ACE Freighters (Aviation Charter Enterprises) 1982 - 1989 USA ACE Scotland 1964 - 1966 UK ACE Transvalair (Air Charter Express & Air Executive) 1966 - 1966 UK ACEF Cargo 1984 - 1994 France ACES (Aerolineas Centrales de Colombia) 1998 - 2004* Portugal ACG (Air Cargo Germany) 1972 - 2003 Colombia
    [Show full text]