Now I am test an apple in app purchase downgrade subscribe message handle(I am downgrade from 3 months subscribe to 1 month subscribe), I receive the downgradle message like this:
if(AppleNotificationType.DID_CHANGE_RENEWAL_PREF.getValue().equals(request.getNotificationType())){
appleNotificationEventHandler.handleDidChangeRenewalPref(request);
}
because the downgrade action take effect right now,the product id and auto renew product id in message PENDING_RENEWAL_INFO
should be the same as my expect. but actually the product id and auto renew product id not the same. From the meage I know the subscribe upgrade from one month to 3 month but receive a downgrade message.
why would this happen? what should I do to make it right?
The DID_CHANGE_RENEWAL_PREF
S2S:
INTERACTIVE_RENEWAL
S2S).Finally, from what I'm seing in your screenshot, your current product is "cruise" and it will renew on the "cruise_three_month". So I'm not sure you're testing the intended thing (downgrade from 3_months to 1_month).