MEMBERSHIP not redirecting to payment gateway

Hi there

I am using buddypress with membership. I have activated Paypal in sandbox mode. When I register (choosing a paid subscription), it does not go to the payment section.

User just gets assigned to the free membership.

Please help,
Thanks.