Directory roles problem

Okay guys I’ve had an interesting time so far with the directory plugin the last issue is after payment has been made.

I’m using the development plugin for reference. What happens is after a user has signed up and then sent to sign up payment page and after they finish all of that process and actually pay they get redirected to back to the site but their role hasn’t been changed its still subscriber.

The second issue is the role I created in the directory options and the role I setup the permissions for simply doesn’t work. Even after I manually adjust the role they still don’t have permission.