Skip to content

Commit

Permalink
add product name to the descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Nov 20, 2019
1 parent 9c18b86 commit 93c35bc
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 @@ -104,7 +104,7 @@ protected function getProductId($name = null)
$product = Stripe\Product::create([
'id' => $id,
'name' => $name,
'statement_descriptor' => Spark::$details['vendor'],
'statement_descriptor' => Spark::$details['vendor'].' '.$name,
'unit_label' => Spark::$details['unit_label'] ?? null,
'type' => 'service',
]);
Expand Down

0 comments on commit 93c35bc

Please # to comment.