Login redirect on membership base

I want to set login redirect on the membership type base. I've tried solution provided here, but it doesn't work for some reasons:
https://premium.wpmudev.org/forums/topic/membership-2-redirect-after-login-based-on-membership

I have 3 types of memberships, 1 week (id="59") and 1 month (id="68"), these should be redirected to /tips upon login.

And the 3rd type of membership is the "default membership" (id="151"), default members should be redirected to the "/showcase" page upon login.