Difference between revisions of "Validating the ITSN request XML Message validation schema"

From PlatiOnline.EU
Jump to: navigation, search
 
Line 3: Line 3:
 
'''Plati Online version 5.x'''
 
'''Plati Online version 5.x'''
 
# SOAP Post URL: Merchant's settings
 
# SOAP Post URL: Merchant's settings
# Request XML validation schema: '''https://secure.plationline.eu/xml_validation/po.request.v5.xsd'''
+
# Request XML validation schema: '''https://secure.plationline.ro/xml_validation/po.request.v5.xsd'''
# XML_Message validation schema: '''https://secure.plationline.eu/xml_validation/itsn.v5.xsd'''
+
# XML_Message validation schema: '''https://secure.plationline.ro/xml_validation/itsn.v5.xsd'''
  
 
Pseudo-code:
 
Pseudo-code:

Latest revision as of 15:52, 9 February 2016

XML ITSN Request

Plati Online version 5.x

  1. SOAP Post URL: Merchant's settings
  2. Request XML validation schema: https://secure.plationline.ro/xml_validation/po.request.v5.xsd
  3. XML_Message validation schema: https://secure.plationline.ro/xml_validation/itsn.v5.xsd

Pseudo-code:

  1. PO POST SOAP (version 1.1 or 1.2) to Merchant's URL
    • SOAP 1.1 headers are:
      1. CONTENT_TYPE = text/xml; charset=utf-8
      2. USER_AGENT = PlatiOnline-SOAP
      3. SOAPACTION = itsn
  2. Load the ITSN Request XML_Message;
  3. Decrypt f_crypt_message using RSA private key to obtain the AES KEY;
  4. Decrypt the f_message using AES algorithm with AES KEY and IV_ITSN;
  5. Load ITSN XML and validate it: http://secure2.plationline.ro/xml_validation/itsn.v5.xsd
  6. Do Query Request