Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
By using this functions "recurly_account_get_subscriptions" only expired and active plan will able to retrieve from the recurly, so I have done some changes in code by which user will also able to get the canceled subscription of the users, so if we have to do something with canceled subscription we can do by directly calling this function and pass "canceled" in status parameter.
Comment | File | Size | Author |
---|---|---|---|
#2 | cancelled_subscription-2894514-2.patch | 1.34 KB | vishnusoniskr |
|
Comments
Comment #2
vishnusoniskr CreditAttribution: vishnusoniskr commentedComment #3
vishnusoniskr CreditAttribution: vishnusoniskr commentedHi,
Have you tested this patch.
Comment #4
markdorison@vishnusoniskr Can you provide testing instructions? Does this result in any changes into what users will see in the current UI?
I don't think this change is necessary. In fact, I think the line doesn't make sense as it is. I will open a new issue to address that.
Comment #5
vishnusoniskr CreditAttribution: vishnusoniskr commentedHi Mark,
I have checked that if any user wants to get the cancel subscription of the user then according to your module file user is not able to get the cancel subscription, that's why I have created this patch, so please check this.
Comment #6
markdorison@vishnusoniskr In #4 I asked:
In #4 I also asked for the following change:
This is addressed in #2897932: recurly_account_get_subscriptions combines array with itself on return, so please remove this change from your diff.