I don't understand what makes the payment show as complete when use Paypal standard, does the user have to return to the website? Does it do a POST hit somewhere? Do we have to set the IPN to point somewhere? What completes the payment so that the role is granted?

Comments

drupalninja99’s picture

ok i think i found it, i need to point paypal ipn to the site's ipn handler, http://aliveresume.com/uc_paypal/ipn right?

jeremy.zerr’s picture

When you have a shippable product in your order, the furthest the payment status will go automatically is into payment received. It stays in this state so that you can ship the product, then move it by hand into completed (order is not "complete" until product is shipped to customer). However, that does cause a problem since the default Conditional Actions that is responsible for attaching that role to the user does not work until you hit the status Completed.

I had the same situation on one of my sites, and here was the solution. I followed the instruction in post #21 on this unresolved bug report http://drupal.org/node/479836

Just add the 3 new CAs, change the other 2 CAs, and everything worked for me. Client had a mix of digital and physical products, which is why I needed something that would handle giving a role when there were various mixes of shippable and non-shippable products.

Jeremy Zerr - http://www.zerrtech.com

drupalninja99’s picture

jeremy isn't the issue me not setting the ipn? i had the client set the ipn in her paypal settings and now it's working

jeremy.zerr’s picture

Just pointing it to the IPN handler might not be enough in all cases. I don't know much about your situation, so I just kept it general. One of those cases where you need to do a bit more is when you have shippable and non-shippable products in the same order. If you just are selling non-shippable stuff, then pointing paypal to your IPN URL is all you need.

Jeremy Zerr - http://www.zerrtech.com

TR’s picture

Status: Active » Postponed (maintainer needs more info)

@jaykali: Sounds like your issue is resolved?

TR’s picture

Status: Postponed (maintainer needs more info) » Fixed

Assuming the issue is resolved, since there's been no response.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.