parse plan code on subscription upgrade