On a real site, the billing cycle is repeated after the actual specified time; for example, a one month billing cycle takes one month. You can simulate the elapsed time for a billing cycle in Sandbox when testing the recurring payment profile, in which case the actual elapsed time is reduced. This is useful if you want to simulate a billing cycle without waiting for the actual time to expire.
To reduce the actual elapsed time, you specify Day as a period. When you specify Day, a billing cycle occurs every n minutes in the Sandbox , where n represents the frequency ; for example, if you specify 1 for the billing frequency and โDayโ for the period when the CreateRecurringPaymentsProfile API is executed, the billing cycle occurs every minute when testing in the Sandbox.
Reducing elapsed time only works if the period is Day; other values โโdo not change the actual elapsed time.
Consider a scenario in which you want to simulate a one-month billing cycle after a three-month trial period, without waiting for four months. In Sandbox, you can specify the following NVP parameters:
...&TRIALBILLINGPERIOD=Day&TRIALBILLINGFREQUENCY=3 ...&BILLINGPERIOD=Day&BILLINGFREQUENCY=1...
In the Sandbox, a trial billing period will take approximately 3 minutes, and a regular billing cycle will occur approximately every minute. When you are ready to live, you will change the billing period and the billing period to a month.
If this does not work, send a request and a response to CreateRecurringBillingProfile, and we will consider it further.
source share