Skip to content

Instantly share code, notes, and snippets.

@listepo
Created January 19, 2015 10:55
Show Gist options
  • Save listepo/3b317c42be9dab393546 to your computer and use it in GitHub Desktop.
Save listepo/3b317c42be9dab393546 to your computer and use it in GitHub Desktop.
response
Response
Successful
Parametrs of response:
%Status% (varchar) true - status
%ExternalDateTime%(date "Y-m-d H:i:s") - merchant's datetime of notify
Example:
<response>
<status>%Status%</status>
<date>%ExternalDateTime%</date>
</response>
Unsuccessful:
%Status% (varchar) {error} - error
%ErrorCode% (interger) - error code
%ErrorMessage% (varchar) - error message
%ExternalDateTime%(date "Y-m-d H:i:s") - merchant's datetime of notify
<response>
<status>%Status%</status>
<error>
<message>%ErrorMessage%</message>
<code>%ErrorCode%</code>
</error>
<date>%ExternalDateTime%</date>
</response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment