Method | Description | |
---|---|---|
handleWebhook ( Illuminate\Http\Request $request ) : |
Handle a Braintree webhook call. | |
missingMethod ( array $parameters = [] ) : mixed | Handle calls to missing methods on the controller. |
Method | Description | |
---|---|---|
cancelSubscription ( string $subscriptionId ) : Illuminate\Http\Response | Handle a subscription cancellation notification from Braintree. | |
getSubscriptionById ( string $subscriptionId ) : mixed | Get the user for the given subscription ID. | |
handleSubscriptionCanceled ( |
Handle a subscription cancellation notification from Braintree. | |
handleSubscriptionExpired ( |
Handle a subscription expiration notification from Braintree. | |
parseBraintreeNotification ( Illuminate\Http\Request $request ) : |
Parse the given Braintree webhook notification request. |
protected cancelSubscription ( string $subscriptionId ) : Illuminate\Http\Response | ||
$subscriptionId | string | |
return | Illuminate\Http\Response |
protected getSubscriptionById ( string $subscriptionId ) : mixed | ||
$subscriptionId | string | |
return | mixed |
protected handleSubscriptionCanceled ( |
||
$webhook | ||
return | Illuminate\Http\Response |
protected handleSubscriptionExpired ( |
||
$webhook | ||
return | Illuminate\Http\Response |
public handleWebhook ( Illuminate\Http\Request $request ) : |
||
$request | Illuminate\Http\Request | |
return |
public missingMethod ( array $parameters = [] ) : mixed | ||
$parameters | array | |
return | mixed |
protected parseBraintreeNotification ( Illuminate\Http\Request $request ) : |
||
$request | Illuminate\Http\Request | |
return |