379
edits
Changes
Новая страница: «==Missing paid option== Engine returns this error in the case when user needs to activate some paid option to continue playback: You need to activate Standard o…»
==Missing paid option==
Engine returns this error in the case when user needs to activate some paid option to continue playback:
You need to activate Standard or Premium plan to continue
If you receive this error from engine you should inform the user that he or she needs to activate Standard or Premium plan to continue, and redirect the user to this URL if he/she wants to proceed:
<nowiki>https://m.acestream.net/options/get/packageStandard</nowiki>
Other option is to activate paid option using [[Engine Service API]] if you're registered as a [[Resellers|Reseller]]
;Examples
:Receiving error when using classic API:
<tt><nowiki>>>START PID c894b23a65d64a0dae2076d2a01ec6bface83b01 0
<<STATE 1
<<STATUS main:starting
<<STATE 0
<<STATUS main:idle
<<STATUS main:err;0;You need to activate Standard or Premium plan to continue</nowiki></tt>
:Receiving error when using HTTP API:
<tt><nowiki>Request:
http://127.0.0.1:6878/ace/manifest.m3u8?id=c894b23a65d64a0dae2076d2a01ec6bface83b01&format=json
Response:
{
"response": null,
"error": "You need to activate Standard or Premium plan to continue"
}</nowiki></tt>
Engine returns this error in the case when user needs to activate some paid option to continue playback:
You need to activate Standard or Premium plan to continue
If you receive this error from engine you should inform the user that he or she needs to activate Standard or Premium plan to continue, and redirect the user to this URL if he/she wants to proceed:
<nowiki>https://m.acestream.net/options/get/packageStandard</nowiki>
Other option is to activate paid option using [[Engine Service API]] if you're registered as a [[Resellers|Reseller]]
;Examples
:Receiving error when using classic API:
<tt><nowiki>>>START PID c894b23a65d64a0dae2076d2a01ec6bface83b01 0
<<STATE 1
<<STATUS main:starting
<<STATE 0
<<STATUS main:idle
<<STATUS main:err;0;You need to activate Standard or Premium plan to continue</nowiki></tt>
:Receiving error when using HTTP API:
<tt><nowiki>Request:
http://127.0.0.1:6878/ace/manifest.m3u8?id=c894b23a65d64a0dae2076d2a01ec6bface83b01&format=json
Response:
{
"response": null,
"error": "You need to activate Standard or Premium plan to continue"
}</nowiki></tt>