Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Documentation
Pagina pentru testare
Home
Getting Started
Payment Services
News & Updates
Wiki Plati.Online
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SMS request response
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Send SMS Request Response == Once the '''SMS Request XML_Message''' is successfully parsed the Plati Online system will process it. Validate returned XML with schema: '''https://secure.plationline.eu/xml_validation/sendSMS.response.v5.xsd''' <source lang="xml"> <po_send_sms_response> <po_error_code> <![CDATA[ 1 - an error occurred parsing the '''SMS Request XML_Message''' and Plati Online will not process the request; 0 - no error => '''Void Request XML_Message''' is valid and PlatiOnline will attempt to process the request. ]]> </po_error_code> <po_error_reason> <![CDATA[the error message]]> </po_error_reason> <x_response_code> <![CDATA[ 11 - SMS Request was saved and will be sent as requeste 10 - Error => Plati Online will print the error in '''po_error_reason''' tag ]]> </x_response_code> <x_sms_id> <![CDATA[PO sms id]]> </x_sms_id> </po_void_response> </source> To continue, here is the Pseudo-code: #Load the returned XML; #if '''po_error_code''' = 1 echo the error message from '''po_error_reason''' tag; #if '''po_error_code''' = 0 echo update the order status according the '''x_response_code''' and '''x_sms_id''' tags.
Summary:
Please note that all contributions to Wiki Plati.Online may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki Plati.Online:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width