Re: The only thing is that the

Posts: 17
Joined: 03/27/2008

Hi.

Yes, it does change the role once the PayPal payment is received. The flow is this:

You create the subscription in Drupal and put in all the values you want (price, duration, role it gives access to etc.)

New user clicks on 'Subscribe now' menu link.

They are asked to either login or create a new account.

Once they've logged in they have to either click the subscribe menu link again and then click on a link to take them to Paypal or (as I have now done) click on the equivalent of a 'Buy Now' button which I've got in the sidebar (created by the module) which takes them straight to the PayPal login page.

New user logs into Paypal, they will then get the usual screen to confirm purchase. Once they click this it sets up their subscription within Paypal with all the values you defined.

It then returns you to a thankyou page on the site asking the user to log out and back in, they will then have the role which has been automatically assigned to them.

If the user later decides to cancel their PayPal subscription, it will automatically remove the role as well (unless you charge in arrears you may have to manually give them access for the remainder of the time they've already paid for, something I've only just thought of).

So all in all, a pretty nice little piece of integration.

Tim

PayPal subscriber purchase not completing properly By: tboneman (24 replies) Thu, 03/27/2008 - 05:44