After signup subscription and access levels not assigned

Everything was fine yesterday.

When someone registers on my site for a training they fill out the form. After that they are brought to a payment page. They enter there details, coupon code, invite code.

After successful completion, the subscription and access levels are not assigned and the paid members have no access.