#akii-subscriptionschedule

1 messages · Page 1 of 1 (latest)

limber tartan
abstract widget
#

Yes i did but i dont know how to edit an already existing phase

#

SubscriptionScheduleUpdateParams updateParams = SubscriptionScheduleUpdateParams
.builder()
.addPhase(
SubscriptionScheduleUpdateParams.Phase
.builder()
.addItem(
SubscriptionScheduleUpdateParams.Phase.Item
.builder()
.setPrice(newPriceId)
.build())
.build())
.build();
SubscriptionSchedule updatedSchedule = subscriptionSchedule.update(updateParams);

limber tartan
abstract widget
#

Yes its giving me this error

#

The subscription schedule update is missing at least one phase with a start_date to anchor end dates to.

#

Nevermind, it works now.. Thanks for the help tho 🙂