I've just been building a small commerce site using Store and Stripe.

It's all working pretty sweetly but I need to know if there's a way I can move the member to another group once their order has been placed successfully.

Is that possible?


Derek hit the nail on the head - there is no way to do this automatically, so you will need to create a simple PHP extension to update the member's group in the database.

If you're not sure where to start, take a look at the EE Extension Development Guide, and you want to use the store_order_complete_end hook.

  • Steven - Did you end up doing this and do you have an extension you created to accomplish this? – Mike McBrien Oct 7 '13 at 19:33

Have a look at the store_order_complete_end extension hook. The $order array should contain the member_id of the customer, which you can then use in a query to change their member group assignment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.