Skip to content

Commit

Permalink
make the key for the product_id clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Oct 15, 2019
1 parent 3cbfe13 commit 99cf88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/CreateStripePlans.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function handle()

protected function getProductId()
{
return Spark::$details['product_id']
return Spark::$details['stripe_product_id']
?? strtolower(str_replace(' ', '-', Spark::$details['product']));
}

Expand Down

0 comments on commit 99cf88b

Please # to comment.