Skip to content

Commit ec9c004

Browse files
committed
typo fix
1 parent 17a56c8 commit ec9c004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/Commands/CreateStripePlans.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected function createProduct()
7171

7272
try {
7373
Stripe\Product::create([
74-
'id' => $this->getProductId().'-'.$id,
74+
'id' => $id,
7575
'name' => Spark::$details['product'],
7676
'statement_descriptor' => Spark::$details['vendor'],
7777
'unit_label' => 'JobAds',
@@ -99,7 +99,7 @@ protected function createStripePlans($plans)
9999

100100
try {
101101
Stripe\Plan::create([
102-
'id' => $plan->id,
102+
'id' => $this->getProductId().'-'.$plan->id,
103103
'nickname' => $plan->name,
104104
'product' => $this->getProductId(),
105105
'amount' => $plan->price * 100,

0 commit comments

Comments
 (0)