I am trying to implement logic as such.
There is the payment schedule code I am using
paymentScheduleType schedule = new paymentScheduleType
{
interval = interval,
startDate = DateTime.Now.AddDays(1),//Bill today
totalOccurrences = 9999, // 9999 indicates no end date
trialOccurrences = FreeIntervals,
};
This does not appear to do what I am intending...anyone have any thoughts?
04-24-2018 09:47 AM
Can you send us the error message or the exact issue you are facing?
Is the subscription not getting billed for the interval that user is scheduled for?
Here is the ARB-Sample-Code. checkout.
-Bhavana
interval.length = intervalLength; interval.unit = ARBSubscriptionUnitEnum.days; paymentScheduleType schedule = new paymentScheduleType { interval = interval, startDate = DateTime.Now.AddDays(1), // start date should be tomorrow totalOccurrences = 9999, // 999 indicates no end date trialOccurrences = 0 };
04-25-2018 01:28 PM