From ec9c0043249686db98065fdd374661f44129a28c Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Tue, 15 Oct 2019 17:46:42 +0200 Subject: [PATCH] typo fix --- src/Console/Commands/CreateStripePlans.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Console/Commands/CreateStripePlans.php b/src/Console/Commands/CreateStripePlans.php index e801967..91a17b9 100644 --- a/src/Console/Commands/CreateStripePlans.php +++ b/src/Console/Commands/CreateStripePlans.php @@ -71,7 +71,7 @@ protected function createProduct() try { Stripe\Product::create([ - 'id' => $this->getProductId().'-'.$id, + 'id' => $id, 'name' => Spark::$details['product'], 'statement_descriptor' => Spark::$details['vendor'], 'unit_label' => 'JobAds', @@ -99,7 +99,7 @@ protected function createStripePlans($plans) try { Stripe\Plan::create([ - 'id' => $plan->id, + 'id' => $this->getProductId().'-'.$plan->id, 'nickname' => $plan->name, 'product' => $this->getProductId(), 'amount' => $plan->price * 100,