delUser
The delUser postback is used to inform that a subscription has expired and access should be removed for the end user.
Request parameters
Parameter | Data type | Description |
---|---|---|
callback | string | Specifies the action for this request, which in this case is "delUser". |
username | string | End user's username. Example: bob |
subscription_id | numeric | Vendo's subscription identifier. Example: 123456789 |
site_id | numeric | Vendo's site identifier. Example: 123456789 |
is_test | boolean | Whether or not this request is related to a test transaction or subscription. 0 for no (real transaction) 1 for yes (test transaction) |
Your server must reply with one of these response formats:
OK (Response code 1)
Reply with this if the request was received successfully.
Example:
<?xml version="1.0" encoding="UTF-8"?>
<postbackResponse>
<delUser>
<code>1</code>
</delUser>
</postbackResponse>
ERROR (Response code 2)
Reply with this if you encountered an unexpected problem with the request.
Include a custom error message with your message for tracing/debugging. Make sure this error message is meaningful because it is stored to a logfile for later debugging.
Example:
<?xml version="1.0" encoding="UTF-8"?>
<postbackResponse>
<delUser>
<code>2</code>
<errorMessage>Custom error message</errorMessage>
</delUser>
</postbackResponse>
Updated about 3 years ago