I am using laravel cashier to create a subscription based plan purchasing system with Braintree as a payment gateway.
My subscriptions are successfully created, my issue is when canceling.
After I fire:
$user->subscription('pro')->cancel();
The user is successfully transitioned into the grace period where a user has days remaining before his plan actually expires, but on Braintree the subscription is still active and not canceled.
However when I fire:
$user->subscription('pro')->cancelNow();
The subscription on Braintree is now marked as Canceled.
My question is how will Braintree know not to charge this user if cashier does not mark the subscription in Braintree as canceled.
Maybe I'm missing something here... Do I need to handle this myself when canceling subscriptions using the Briantree PHP SDK. If anyone has had this question before and found a solution, your opinions would be greatly appreciated.