Difference between revisions of "Validating the ITSN request XML Message validation schema"
PlatiOnline (talk | contribs) (Created page with "== XML ITSN Request == '''Plati Online version 5.x''' #SOAP Post URL: Merchant's settings #Request XML validation schema: '''https://secure.plationline.eu/xml_validation/po.r...") |
PlatiOnline (talk | contribs) |
||
Line 2: | Line 2: | ||
'''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.eu/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.eu/xml_validation/itsn.v5.xsd''' |
Pseudo-code: | Pseudo-code: | ||
− | #Load the '''ITSN Request XML_Message'''; | + | # Load the '''ITSN Request XML_Message'''; |
− | #Decrypt '''f_crypt_message''' using RSA private key to obtain the '''AES KEY'''; | + | # Decrypt '''f_crypt_message''' using RSA private key to obtain the '''AES KEY'''; |
− | #Decrypt the '''f_message''' using '''AES algorithm''' with '''AES KEY''' and '''IV_ITSN'''; | + | # Decrypt the '''f_message''' using '''AES algorithm''' with '''AES KEY''' and '''IV_ITSN'''; |
− | #Load ITSN XML and validate it: '''http://secure2.plationline.ro/xml_validation/itsn.v5.xsd''' | + | # Load ITSN XML and validate it: '''http://secure2.plationline.ro/xml_validation/itsn.v5.xsd''' |
− | + | # | |
− | #PO POST SOAP (version 1.1 or 1.2) to '''Merchant's URL''' | + | # PO POST SOAP (version 1.1 or 1.2) to '''Merchant's URL''' |
#*SOAP 1.1 headers are: | #*SOAP 1.1 headers are: | ||
#*#CONTENT_TYPE = '''text/xml; charset=utf-8''' | #*#CONTENT_TYPE = '''text/xml; charset=utf-8''' | ||
#*#USER_AGENT = '''PlatiOnline-SOAP''' | #*#USER_AGENT = '''PlatiOnline-SOAP''' | ||
#*#SOAPACTION = '''itsn''' | #*#SOAPACTION = '''itsn''' |
Revision as of 20:31, 2 April 2014
XML ITSN Request
Plati Online version 5.x
- SOAP Post URL: Merchant's settings
- Request XML validation schema: https://secure.plationline.eu/xml_validation/po.request.v5.xsd
- XML_Message validation schema: https://secure.plationline.eu/xml_validation/itsn.v5.xsd
Pseudo-code:
- Load the ITSN Request XML_Message;
- Decrypt f_crypt_message using RSA private key to obtain the AES KEY;
- Decrypt the f_message using AES algorithm with AES KEY and IV_ITSN;
- Load ITSN XML and validate it: http://secure2.plationline.ro/xml_validation/itsn.v5.xsd
- PO POST SOAP (version 1.1 or 1.2) to Merchant's URL
- SOAP 1.1 headers are:
- CONTENT_TYPE = text/xml; charset=utf-8
- USER_AGENT = PlatiOnline-SOAP
- SOAPACTION = itsn
- SOAP 1.1 headers are: