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

From PlatiOnline.EU
Jump to: navigation, search
(XML Refund Request)
 
Line 2: Line 2:
  
 
'''Plati Online version 5.x'''
 
'''Plati Online version 5.x'''
#SOAP Post URL: '''https://secure.plationline.eu/'''
+
#SOAP Post URL: '''https://secure.plationline.ro/'''
#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/f_message.refund.v5.xsd'''
+
#XML_Message validation schema: '''https://secure.plationline.ro/xml_validation/f_message.refund.v5.xsd'''
  
 
Pseudo-code:
 
Pseudo-code:
Line 11: Line 11:
 
#Encrypt the '''AES KEY''' with the '''RSA''' algorithm; this is the value of '''f_crypt_message''' tag;
 
#Encrypt the '''AES KEY''' with the '''RSA''' algorithm; this is the value of '''f_crypt_message''' tag;
 
#Encrypt the '''Refund Request XML_Message''' with the AES algorithm using the '''AES KEY''' and the '''IV_AUTH'''; this is the value of '''f_message''' tag;
 
#Encrypt the '''Refund Request XML_Message''' with the AES algorithm using the '''AES KEY''' and the '''IV_AUTH'''; this is the value of '''f_message''' tag;
#Validate the '''Refund Request XML''' using '''https://secure.plationline.eu/xml_validation/po.request.v5.xsd'''
+
#Validate the '''Refund Request XML''' using '''https://secure.plationline.ro/xml_validation/po.request.v5.xsd'''
#Post SOAP (version 1.1 or 1.2) to '''https://secure.plationline.eu/'''
+
#Post SOAP (version 1.1 or 1.2) to '''https://secure.plationline.ro/'''
 
#*If you use SOAP 1.1 headers are:
 
#*If you use SOAP 1.1 headers are:
 
#*#CONTENT_TYPE = '''text/xml; charset=utf-8'''
 
#*#CONTENT_TYPE = '''text/xml; charset=utf-8'''

Latest revision as of 14:51, 9 February 2016

XML Refund Request

Plati Online version 5.x

  1. SOAP Post URL: https://secure.plationline.ro/
  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/f_message.refund.v5.xsd

Pseudo-code:

  1. Create the Refund Request XML_Message;
  2. Create a random 32 alphanumeric AES KEY;
  3. Encrypt the AES KEY with the RSA algorithm; this is the value of f_crypt_message tag;
  4. Encrypt the Refund Request XML_Message with the AES algorithm using the AES KEY and the IV_AUTH; this is the value of f_message tag;
  5. Validate the Refund Request XML using https://secure.plationline.ro/xml_validation/po.request.v5.xsd
  6. Post SOAP (version 1.1 or 1.2) to https://secure.plationline.ro/
    • If you use SOAP 1.1 headers are:
      1. CONTENT_TYPE = text/xml; charset=utf-8
      2. USER_AGENT = PlatiOnline-SOAP
      3. SOAPACTION = refund
    • If you use SOAP 1.2 headers are:
      1. CONTENT_TYPE = application/soap+xml; charset=utf-8; action=refund
      2. USER_AGENT = PlatiOnline-SOAP