Skip to content

Commit

Permalink
Fixed #17
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeholder committed Jun 5, 2018
1 parent 9a2800d commit 5695a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateways/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ public function refund(Transaction $transaction): RequestResponseInterface
public function subscribe(User $user, BasePlan $plan, SubscriptionForm $parameters): SubscriptionResponseInterface
{
try {
$stripeCustomer = $this->_getStripeCustomer($user);
$stripeCustomer = $this->_getStripeCustomer($user->id);
} catch (CustomerException $exception) {
Craft::warning($exception->getMessage(), 'stripe');

Expand Down

0 comments on commit 5695a2e

Please sign in to comment.