I messed around with the paypal subscription module and finally got it working. My problem was that the user did not receive the role upon checkout. A look at the logs indicated that the transaction completed, but the user column was empty. After many different attempts, i figured out what the problem was.
I was using a drupal account user1 with the email user1@y****.com, but when I checked out through paypal, I was using the user buyer1@y****.com. So upon the postback to my site, the paypal subscription module could not associate the paypal user with the drupal user correctly, because the emails did not match.

This is a bug in my eyes, because it is very possible that a drupal user would have more than one real email address, and may very well use a different email to check out through paypal. One example would be that a couple would use one joint paypal account for all their online paypal transactions, but each partner could have a different drupal email address.

Is there a way to fix this? is there at least a work around, or some manual step? One way I could think would be to capture the paypal address in the user profile and match that if the primary user account does not match or something.

Otherwise, congrats the great work, this is awesome stuff already!!!!!!

Thanks,

Marc

Comments

iokevins’s picture

Thanks for noting this.

I too had this problem. I would suggest at the very least putting a note in the README.

Kevin

ricabrantes’s picture

Status: Active » Closed (fixed)

Closed.. Very long time without answers..