- Issue created by @JoseFran
- 🇬🇧United Kingdom jonathanshaw Stroud, UK
Sorry, I cannot understand the problem from the description given. I am not sure what the actual problem is. What is not happening, that you want to happen?
When the subscription is set to expire at the next renewal, it updates the status of some draft orders with expired subscription and cancels them.
1.- Buy multiple subscriptions with one user, in my case, prepaid type and billing period one hour.
2.- Put "Recurring orders" column to subscription table view.
3.- Set multiple Subscriptions with the same user as to expired.
4.- Check in the subscription table that the relationship with the draft order is lost. And draft order is canceled.
5.- Run cron. Only retrieves those orders with draft status. Never cancel subscriptions.
Active
Code
Sorry, I cannot understand the problem from the description given. I am not sure what the actual problem is. What is not happening, that you want to happen?