Renewal of Plan Introduction
Steps for Plan Renewal via API
Complete the setup
Step 1 : Create a dedicated renewal page where users can renew their plans.
Step 2: Go to API setup page in the partner panel and add the URL in the "renewal URL" field.
Renewal process and customer journey
Step 1:
Partner's customer will login into their white label account and when they go to the subscriptions page they will have an option to renew or upgrade. Once they click on the button, it would open the URL which has been setup as mentioned in step 2. EasySocial appends a business ID as a suffix to the URL in the following format:
https://yourwebsite.com/plan_renew?business_id=123456
On the plan renewal page you are expected to extract the business ID from the URL parameter and use it to call the Business Info Auth API. This API returns a signature which is valid for 10 minutes. Within this time, hit the Get Business Info API using the generated signature and business ID. Click here to know how Business info API's works.
This provides all the necessary information about the business, allowing you to recommend appropriate plans to the user based on the data received.
Step 2:
The user selects a suitable plan and proceeds with payment.
Step 3:
On successful payment, two APIs need to be triggered:
- First, the Business Renew Auth API is called to generate a new signature.
- Then, the Business Renew API is called using the signature and the new plan slug to complete the plan renewal process.
Click here to know how the Business Renew API's Work