We offer a monthly subscription and want to incentivize users who attempt to cancel by presenting them with a discounted renewal of the same plan. We use a developer-determined offer for the same monthly subscription, applying it to replace their existing subscription.
And trying to apply offer like this.
/// switch subscription
Future<CustomerInfo> switchToOffer(SubscriptionOption option, String oldProductIdentifier) async {
return Purchases.purchaseSubscriptionOption(
option,
googleProductChangeInfo: GoogleProductChangeInfo(
oldProductIdentifier,
prorationMode: GoogleProrationMode.deferred,
),
);
}
While attempting this switch, the store returns an error: “Something went wrong on our end. Please try again”
I am trying to figure out whether this approach is even possible, and—if it is—what we might be doing incorrectly.