API Documentation - Subscription Purchase
You may create users using the createUser method and then use the loginUser method to log the user in. Then you can use the getUserData method to get the subscription purchase url. You may then send users to this url so that they may buy a PhotoXpress subscription.
An example of this url is:
Where YOUR_API_KEY is your api key and MEMBER_ID32 is the id32 of the user that should be logged in to purchase a subscription.
You may also pass the following additional parameters to this url:
- rurl - The url you want the user to be redirected to after they complete a purchase
You will need to redirect the user to this url, they will then be able to complete a purchase for a subscription on PhotoXpress and be redirected back to your site. After this you can then use their subscription to allow them to purchase images.