Authentication & Payment
From ThirdPresence Wiki
Contents |
For video authentication and billing you can use
- Your own or 3rd authentication and payment system
- Thirdpresence provided authentication and payment provider
URL protection
Video URLs for paid content are unique for every user and have short lifespan. If the URL what user tries to access is expired, user will be sent to authentication. Customer can decide lifespan on certain limits.
3rd Party Authentication and Payment
Here is described process when 3rd party authentication and payment provider is used. P&A system handles
- User authentication and credentials
- User subscriptions
- Payment handling
Enduser Process Diagrams
API integration
API integration between ThirdPresence and 3rd party a&p system
Same as sequence
user customer site thirdpresence 3rd party a&p
select "watch video1"
--------------------->
user is redirected to authentication and payment
with contentid of video1.
----------------------------------------------->
a&p system generates [token]
and adds that with contentid
to thirdpresence system.
<----------------------
user is redirected to
thirdpresence with
[token] and contentid
<----------------------
"video1" starts from short lifespan url (if [token]
can be found at thirdpresence system)
<----------------------------------------------
Parameter passing between systems
Token authorization request documentation can be found Parameter passing via API.
When user is requesting video and authorization done token is added to url as query parameter token=[token].
Example:
http://show.thirdpresence.com/dls/t/watch.jsp?iid=31733&token=[token]
No API integration
No API integration between ThirdPresence and 3rd party a&p systems.
user customer site thirdpresence 3rd party a&p
select "watch video1"
--------------------->
"video1" url directs to
thirdpresence
----------------------->
user is redirected to
authentication and payment
with [unique token]
and stock keeping unit
---------------------->
user is redirected to
thirdpresence with
[unique token] and
auth/payment status
<----------------------
"video1" starts from short lifespan url
<----------------------------------------------
Parameter passing
When user is redirected to a&p-system return url, token and stock keeping unit (contentid) are passed as query parameters.
Example:
http://some.url/payment?url= http%3A2F%2Fshow.thirdpresence.com%2Fdls%2Ft%2Fwatch.jsp%3Fiid%3D31733 &sku=31733&token=[token]
Thirdpresence Provided Authentication and Payment
Thirdpresence provides possibility to use authentication and payment. Please check that your package includes this possibility. Provided payment method is credit card via PayPal. To provide prices and currency, see Uploading content.
This page was last modified on 31 March 2010, at 09:26.