The reactivateUser postback is used to inform that a subscription that was cancelled has been activated again. Once the subscription is reactivated, the user will be charged as previously.
|callback||string||Specifies the action for this request, which in this case is "reactivateUser".|
|username||string||End user's username.|
|subscription_id||numeric||Vendo's subscription identifier.|
|site_id||numeric||Vendo's site identifier.|
|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.
<?xml version="1.0" encoding="UTF-8"?> <postbackResponse> <reactivateUser> <code>1</code> </reactivateUser> </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.
<?xml version="1.0" encoding="UTF-8"?> <postbackResponse> <reactivateUser> <code>2</code> <errorMessage>Custom error message</errorMessage> </reactivateUser> </postbackResponse>
Note for NATS users
NATS v3 doesn't support this postback. If you run NATS v3, you have to create a script to handle it. Contact Vendo support for more information.
Updated over 1 year ago