fix: collect billing address

This commit is contained in:
Andras Bacsai 2023-09-14 20:42:12 +02:00
parent ddb7af63a6
commit 307e4a6990

View File

@ -44,6 +44,7 @@ public function subscribeStripe($type)
return;
}
$payload = [
'billing_address_collection' => 'required',
'client_reference_id' => auth()->user()->id . ':' . currentTeam()->id,
'line_items' => [[
'price' => $priceId,