I attached a chart that shows the flow of a paid membership i developed for a page. The stuff inside the black boxes are the rules for assigning roles, managing subscription. I modified some rules. On the top is a commerce rule for paypal and bank checkout to auto assign rules.
in my case users get "userpoints" and a paid role.

i documented this for me because its pretty complex with so much rules. maybe it helps others to understand the flow.

i also have that graph as a visio file, if anyone needs it.

CommentFileSizeAuthor
flowOfTimeMembership.jpg744.43 KBmarcoka
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

batigol’s picture

Great! Thanks!

markusa’s picture

Is this chart applicable for version dev-2.x? My impression after an initial exploration is that it seems to be the same.

Liliplanet’s picture

Thank you Marco for your chart! Marco, what I don't see and confused about is where to add the roles please ..

Rule 1: Apply bought subscription time

When an order is first paid in full
... then apply bought subscription time

Rule 2. After updating an existing user account

Subscription started (update)
then in Components
... Element: order contains a certain product
... Action: add role

the above adds the subscription time, but not the role. Would most appreciate any guidance :)

likewhoa’s picture

Title: Chart of flow (doucmentation suggestion) » Chart of flow (documentation suggestion)
Version: 7.x-1.1 » 7.x-2.x-dev
Component: Code » Documentation
Priority: Normal » Minor