From 93c35bcf25d24db2271ee35d824cfdc0bfc7f44d Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Wed, 20 Nov 2019 11:36:55 +0100 Subject: [PATCH] add product name to the descriptor --- src/Console/Commands/CreateStripePlans.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Commands/CreateStripePlans.php b/src/Console/Commands/CreateStripePlans.php index 38cc23a..bd02a65 100644 --- a/src/Console/Commands/CreateStripePlans.php +++ b/src/Console/Commands/CreateStripePlans.php @@ -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', ]);