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?
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.Sign up to join this community
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
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.