Is there a way to make this module work with anonymous orders where the user account is created on checkout completion. I need the expiry date to be applied to newly created user account - any ideas?
As for now the new user account has an empty expiry date field.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | commerce_sp-anonymous-user-subscription-fix-1554050-1.patch | 630 bytes | likewhoa |
Comments
Comment #1
HenrikBak commentedNevermind, I fixed it by applying weight=3 to the "Apply bought subscription time" rule. Then the user account is actually created and attached to the order before we try to set the expiration date on it.
Comment #3
ntigh52 commentedThanks a lot you help me a lot!! :-)
Comment #4
likewhoa commentedAttached patch for fix.
Comment #5
SamRose commentedI have applied this patch (flushed caches and tested) and can confirm that it resolves this issue and it's duplicate at https://drupal.org/node/1760994
Comment #6
mrconnerton commentedCommited in commit:cf01f9887c074f187f50087153997148ef2c3f1a