Skip to content

Commit

Permalink
Update Stripe.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkIncognito85 authored Jan 28, 2022
1 parent e9d009c commit dbf5540
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Stripe/Api/Stripe.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ public function __construct($privateKey, $publicKey, $endpointkey, LoggerInterfa
*/
public function createCustomer(StripeUser $user): Customer
{
if ($user->getStripeId()) {
return $user;
}
$client = $this->stripe->customers->create([
'metadata' => [
'user_id' => (string) $user->getId(),
Expand Down

0 comments on commit dbf5540

Please sign in to comment.