I'm working on an app that offers a basic free version and multiple add-ons that users can purchase with a one-time fee. I've set up separate plans for each add-on on the plans table. To allow users to purchase these add-ons, I've created links like the following in my app:
However, I've noticed that when a user purchases Add-on 2 after already purchasing Add-on 1, the status of Add-on 1 in the charges table changes to 'Cancelled.' How can I prevent this from happening?
I'm working on an app that offers a basic free version and multiple add-ons that users can purchase with a one-time fee. I've set up separate plans for each add-on on the plans table. To allow users to purchase these add-ons, I've created links like the following in my app:
However, I've noticed that when a user purchases Add-on 2 after already purchasing Add-on 1, the status of Add-on 1 in the charges table changes to 'Cancelled.' How can I prevent this from happening?