@CRONIX - Regarding the first point, about it not communicating with BrainTree - I meant to include that I would manually cancel the subscription on the BrainTree back end.
I agree that using Cashier for all of this functionality makes more sense, but also consider that this is just a one-time use. I need to perform this functionality on three accounts just one time, and will not need to perform it again in the future. For that reason, I'm trying to find the quickest and easiest way to accomplish the task of adding 5 days of credit to 3 of my users.
Is there anything wrong with simply doing this:
- Cancel subscription on BrainTree
- Delete subscription row from subscriptions table
- Assign a new subscription to the user on the BrainTree back-end that has a trial of 5 days
- Manually insert a row into subscriptions database with the relevant information (subscription id, etc.)
I'm just trying to figure out if Cashier is doing anything else under the hood, besides the 4 steps above, to make everything work. If that's all it's doing, I would much prefer to manually do this right now than take the time to figure out how to do this programmatically because I will never need to do it again in the future. I would literally delete the methods as soon as I used them on these three accounts.
I'm the last guy to say, 'hey I want to waste time doing this manually risking multiple points of failure when it could be automated,' but it's such an unnecessary thing for me to code at the moment. Not to mention, I'm completely unaware of how to create a subscription for an existing user using Cashier without having to provide a token with their payment details - tried already and realized it was more complicated than I anticipated.