With nothing else being different, I have not altered the core ubercart CA predicates.
The order status updates on a renewal order fire differently and worng, thus granting a role promotion, the role promotion CA is such that it is fired when the order status goes from Payment Received to completed, this happens in the original order but not the renewal order.
I am running latest bzr Ubercart, and cvs of latest uc_recurring.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Renewal with normal status | 71.78 KB | thill_ |
| #1 | uc_recurring-580226.patch | 1.83 KB | univate |
| Recurring Created Order | 95.99 KB | thill_ | |
| Origianl Order | 71.78 KB | thill_ |
Comments
Comment #1
univate commentedThis patch should generate the following order_status events for a renewal that completes and is payed for in full:
but it also should leave a renewal in the pending status if no payment is received but the order is still renewed (e.g. when you are not using any payment modules onsite, instead payments are handled manually some other way)
Comment #2
thill_ commentedAwesome it works like expected, giving the new order the status updates like it should, it triggered the role renewal.
Comment #3
vitis commentedthank you, univate
Comment #4
univate commentedI have committed this, although I have added a TODO in the code so that we can address the issue of having CA handle the order status being changed to completed instead of being done manually in the code.