We have a little more specific scenario here where we are facing a problem.
– We already have setup Roles and permissions on the backend. We have three roles, free, basic and premium (level 0, level1, level2)
– We also have already applied permissions on certain content areas in front end where only user with certain level/role are able to access it.
– After register, confirmation and login we are asking our user to select one of the three packages above.
– There is no payment on free package which is also default but for other two users have to pay certain amount X via Authorize.net.
– For payment we have used Authorize.net payment Pro-Forms available in s2member in front end, (Authorize.Net® Forms For Level #1 Access and Authorize.Net® Forms For Level #2 Access) for two packages respectively.
– User selects one of the package and is directed to that form where he fills it up and completes the payment process.
– Authorize.net payment using s2member is processing fine, user from above front end forms is able to complete the payment.
– User receives Payment confirmation message on our website page, a confirmation email and merchant also receive a payment receiving email.
– We also checked log and there is no error but a payment SUCCESS message in it, so it means payment process is working as supposed to be.
– Also Authorize.net sandbox/test account has SP/IPN integration done as well.
– Now once the payment is confirmed we believe the role of the user which was currently Free/Level0 should change to Level1 or level2 depending upon which form user have used automatically once the payment process is complete.
– But s2member is not changing the user role who has completed the payment.
– So are we doing something wrong here or is there some other way of doing it? Or is there something missing in the process.
– We will need a little guidance in the right path or option that we should use to get this done.