Skip to content

Commit

Permalink
Update billing.md (#7282)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Sep 2, 2021
1 parent 72d1af4 commit 536c637
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions billing.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ Typically, when your application's users update their name, email address, or ot

To automate this, you may define an event listener on your billable model that reacts to the model's `updated` event. Then, within your event listener, you may invoke the `syncStripeCustomerDetails` method on the model:

use function Illuminate\Events\queueable;

/**
* The "booted" method of the model.
*
Expand Down

0 comments on commit 536c637

Please sign in to comment.