#alexelba

1 messages · Page 1 of 1 (latest)

sudden charmBOT
#

Hello alexelba, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
alexelba, 13 hours ago, 11 messages
alexelba, 19 hours ago, 3 messages
alexelba, 22 hours ago, 5 messages
alexelba, 23 hours ago, 31 messages
alexelba, 1 day ago, 9 messages

wraith spade
#

@shadow stone let's chat here!

#

Adding your other message from the main channel:

$stripe_subscription = \Stripe\Subscription::retrieve($accountMembership->vendor_subscription_id);
foreach ($stripe_subscription->items->data as $item) {
$item->quantity = 100;
}
$invoice = \Stripe\Invoice::create(['customer' => $stripe_subscription->customer]);
$invoice->finalizeInvoice();
$stripe_subscription->save();

shadow stone
#

sure

wraith spade
#

Can you log the value of stripe_subscription?

#

Also, why are you creating a new Invoice as well? Can you share more details about what exactly you're trying to achieve?

shadow stone
#

I just want to update seat count

#

sure one sec

#

why creating invoice just want to send it over after update for prorated

#

and charge the card

wraith spade
sudden charmBOT
shadow stone
worldly saddle
#

Hello! I'm taking over and catching up...