Community
Invalid FixedBillingDateDay on API Customer Subscription
I have an application that uses the API route (https://support.billsby.com/reference/create-a-subscription-for-a-new-customer). It was working OK until now, but I haven't changed anything and the API is now returning the following error:
{
["code"]=>
string(40) "Subscription_Create_Invalid_PricingModel"
["name"]=>
NULL
["description"]=>
string(27) "Invalid FixedBillingDateDay"
}
The pricing model configured by the Billsby's panel is:
["pricingModel"]=>
object(stdClass)#90 (16) {
["price"]=>
int(1359)
["priceFormatted"]=>
string(12) "$13.59 (AUS)"
["pricingModelId"]=>
int(35271)
["frequency"]=>
int(1)
["frequencyType"]=>
string(6) "Weekly"
["freeTrial"]=>
int(1)
["freeTrialFrequencyType"]=>
string(6) "Weekly"
["contractTerm"]=>
NULL
["contractTermFrequencyType"]=>
string(10) "Unassigned"
["setupFeePrice"]=>
NULL
["setupFeePriceFormatted"]=>
NULL
["freeQuantity"]=>
int(0)
["billingDateType"]=>
string(17) "FixedDayOfTheWeek"
["fixedBillingDateDay"]=>
int(7)
["fixedBillingDateMonth"]=>
NULL
["proRateOption"]=>
string(25) "DoNotChargeUntilNextCycle"
}
Can anyone help me with this issue?