#feminaagravat_39821
1 messages · Page 1 of 1 (latest)
Is there any issue you're facing?
yes,
It gave me this error
"message": "The subscription schedule update is missing at least one phase with a start_date to anchor end dates to.",\n
And I am adding Start Date then it
$updateData['phases'][0]['start_date'] = strtotime($listingObj->getDRenewalDate()->format('Y-m-d'));
$updateData['phases'][0]['items'][] = $newItem;
then it is removing the existing three product and add ing this new one
BUt I want all four items
Can you share the request ID (req_xxx) of the latest error/unexpected behaviour? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
To add new item in phase, the steps will be:
- Retrieve the phases in the existing subscription schedule
- Copy the data in phase[0] and add new items
Ok