Payment Plans
The first step in setting up recurring billing on the Worldpay eCommerce platform is to establish one or more payment Plans. To establish a payment Plan you use a Create Plan transaction type, which allows you to define the payment interval, the number of payments, and the amount. For example, you could easily define any number of Plans to fulfill your business needs.
For example, suppose you are a SaaS company that sells your product under 1, 2, or 3 year deals, with either monthly or quarterly payment schedules and reduced rates for longer deals. You could easily set-up six Plans as shown in the table below.
TABLE 1-5 Example Pans
Plan Code |
Payment Interval |
Amount per Payment |
# of Payments |
Total Subscription |
---|---|---|---|---|
1_Year_Monthly |
Monthly |
$50.00 |
12 |
$600.00 |
Plan Code |
Payment Interval |
Amount per Payment |
# of Payments |
Total Subscription |
1_Year_Quarterly |
Quarterly |
$150.00 |
4 |
$600.00 |
2_Year_Monthly |
Monthly |
$46.66 |
24 |
$1119.84 |
2_Year_Quarterly |
Quarterly |
$140.00 |
8 |
$1120.00 |
3_Year_Monthly |
Monthly |
$41.66 |
36 |
$1499.76 |
3_Year_Quarterly |
Quarterly |
$125.00 |
12 |
$1500.00 |
As part of the Plan, you can also specify trial period. You want to have longer trials for longer Plans, so for either 1-year Plan, there is a 1 week trial, for either 2-year Plan there is a 2 week trial, and for the 3-year Plans, a 1 month trial. Below is a cnpAPI example transaction to create the 3_Year_Monthly Plan.
Example: 3-Year Monthly Plan
<createPlan>
<planCode>3_Year_Monthly</planCode>
<name>3Year_Monthly</name>
<description>3 Year, monthly Payments, 1 month trial</description>
<intervalType>MONTHLY</intervalType>
<amount>4166</amount>
<numberOfPayments>36</numberOfPayments>
<trialNumberOfIntervals>1</trialNumberOfIntervals>
<trialIntervalType>MONTH</trialIntervalType>
<active>true</active>
</createPlan>