Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
hop
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre committed Nov 24, 2017
1 parent 7a92d35 commit 6f5f17d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/StripeConnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class StripeConnect

private static function prepare()
{
StripeBase::setApiKey(config('stripe.key'));
StripeBase::setApiKey(config('services.stripe.secret'));
}

private static function getStripeModel($user)
Expand Down
1 change: 1 addition & 0 deletions src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public function create()
"amount" => $this->value,
"currency" => $this->currency,
"customer" => $customer->account_id,
"application_fee" => $this->fee ?? null,
"destination" => array(
"account" => $vendor->account_id,
),
Expand Down

0 comments on commit 6f5f17d

Please sign in to comment.