If I create an order with a product that has a role assignment feature and move the status to 'Completed' the role is not assigned.

I compared this version to 6.x-2.6 and noticed that the "Grant or renew purchased roles" conditional action has changed with the triggered order status being 'Payment Received'.

SO I created an order set the status to 'Payment Received' and updated it. The page reloaded with the role assigned and the order status automatically moved to 'completed'.

Is this the way this is working now?

Comments

dsbrianwebster’s picture

Priority: Major » Normal
longwave’s picture

Category: bug » support
Status: Active » Fixed

Yes, this changed to help fix the duplicate email/stock notification bug, and also so if orders are part shippable, any roles are assigned as soon as payment is received rather than when they are shipped. You can always edit the CA if you prefer the old behaviour.

Status: Fixed » Closed (fixed)

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

ryantdecker’s picture

Category: support » bug
Status: Closed (fixed) » Active

I'm having a problem I think is related. since updating to 6.x.2.7 roles are not being assigned when IPN is recorded and status is set to payment received - the oddity is that if I manually set that same order as payment received (even though it already is...) the role is assigned. Continuing to look for info elsewhere, but this is the closest I've found to anything that resembles the problem...any suggestions for debugging this are much appreciated!

Thanks!
Ryan

ryantdecker’s picture

Just to update in the event someone else has a similar case. It appears that either something in the update switched some product types to shippable (highly unlikely, I assume) or the condition that marked the order from paypal_buttons as 'completed' in the previous version was replaced with this one: "Complete non-shippable order after payment received" exposing the fact that the products I was using were incorrectly marked as shippable and leaving them as 'pending', in which case it just was verifying some other way in the previous version. Anyway, changing those products to non-shippable got the new roles working again - hoping that also fixes for recurring, but I'm not holding my breath.

longwave’s picture

Category: bug » support
Status: Active » Fixed

So you got this fixed, then? Sounds like your previous incorrect configuration was only working before due to a bug, which was fixed in the latest version but exposed the fact your non-shippable products should be marked as such.

drupal centric’s picture

I found a similar situation. I've tried changing the conditions order status to completed and Complete non-shippable order after payment received but this didn't change anything, then tested the role expiration date.

If you're using the global expiration settings then the role is assigned after the customer completes the checkout (with default conditional actions) but as soon as you override the default ending expiration date the action fails with no errors in the logs.

Using MySQl 5.1, PHP 5.3, Drupal 6.22, Ubercart 6.x-2.7.

Status: Fixed » Closed (fixed)

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