We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a56c8 commit ec9c004Copy full SHA for ec9c004
src/Console/Commands/CreateStripePlans.php
@@ -71,7 +71,7 @@ protected function createProduct()
71
72
try {
73
Stripe\Product::create([
74
- 'id' => $this->getProductId().'-'.$id,
+ 'id' => $id,
75
'name' => Spark::$details['product'],
76
'statement_descriptor' => Spark::$details['vendor'],
77
'unit_label' => 'JobAds',
@@ -99,7 +99,7 @@ protected function createStripePlans($plans)
99
100
101
Stripe\Plan::create([
102
- 'id' => $plan->id,
+ 'id' => $this->getProductId().'-'.$plan->id,
103
'nickname' => $plan->name,
104
'product' => $this->getProductId(),
105
'amount' => $plan->price * 100,
0 commit comments