Test plan for Subscriptions
As a merchant, you want to test your BlueSnap integration to ensure that your customers have a flawless experience.
Before you begin
API
In API, the subscription model requires a time lapse in order to understand the total flow. Because of this, we have provided a simulator to test your subscriptions in sandbox.
Enter the subscriptionId
in the following GET request, to simulate a subscription event. The execution of this request trigger the IPNs, emails, and invoices associated with the transaction.
/services/2/subscriptions/subscriptionId/run-specific
The successful response is 204 No Content
.
Note: This request does not impact subscription dates, meaning time-sensitive properties, such as grace period, are not simulated.
Hosted Pages
The time lapse is not possible in Hosted Pages; however, you can test creating, retrieving, and updating plans and subscriptions.
Test Scenarios
Standard Subscriptions
Go through the following scenarios.
Scenario | Test |
1 | Create a subscription billing plan. |
2 | Retrieve the plan. |
3 | Update the plan. |
4 | Create a subscription. |
5 | Retreive the subscription. |
6 | Update the subscription by changing, for example, the quantity, price, or start date. |
7 | Cancel the subscription. |
Merchant-Managed Subscriptions
Go through the following scenarios.
Scenario | Test |
1 | Create a Merchant Managed subscription billing plan. |
2 | Retrieve the subscription. |
3 | Update the subscription by changing. For example, the quantity, price, or start date. |
4 | Create a Merchant Managed subscription charge using the subscriptionId from scenario 1. |
5 | Cancel the subscription. |
Updated 11 months ago