Skip to content

Commit

Permalink
Update ManagesCustomer.php (#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronan-Lenor authored Jul 4, 2023
1 parent 02c4656 commit 29a131a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/ManagesCustomer.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function updateStripeCustomer(array $options = [])
public function createOrGetStripeCustomer(array $options = [])
{
if ($this->hasStripeId()) {
return $this->asStripeCustomer();
return $this->asStripeCustomer($options['expand'] ?? []);
}

return $this->createAsStripeCustomer($options);
Expand Down

0 comments on commit 29a131a

Please sign in to comment.