Paywall integration
-
Hello
I wonder if it isspossible to integrate your paywall with our subscription system with this API?
In our API you check if a subscription is valid using. an HTTP POST against a particular URL.
You do this by posting two form parameters; “Username” and “password”.
Assume that the connection is set up over https.
?
These must be posted to
?
https: // <server name> / api / checkabo
?
You can also add a third parameter – “return code” (numbers) – to specify which option you want the answer to:
?
return code
Answer
???? 1
“True” or “False” – as text (default)
???? 2
?1? or ?0?
???? 3
“OK” or “ERROR”
???? 4
“YES” or “NO”
???? 5
true or false – like boolean
?
The answer is returned in a JSON string, with multiple values. Example
?
{ “Status”: “OK”, “error”: “”}
– subscription is valid, no error message
{ “Status”: true, “error”: “”}
– subscription is valid, no error message
{“status”: “NO”, “error”: “Electronic subscription not active”}
– subscription not valid, error message described
?
It is the value of “status” that determines whether or not the subscription is valid.Br
Kjell
Paradigm ASThe page I need help with: [log in to see the link]
- The topic ‘Paywall integration’ is closed to new replies.