#joe0931-invoice-behavior

1 messages · Page 1 of 1 (latest)

wild jayBOT
#

joe0931-invoice-behavior

heavy parcel
#

Nope

lucid quest
#

In php I have the following

$invoice = $this->stripeClient->createInvoice([
            'customer' => $customer->id,
            'auto_advance' => true,
            'collection_method' => 'charge_automatically',
        ]);
$invoice->pay(); // todo: double check this is necessary

here is the snippet

heavy parcel
#

But it won't be automatically charged until an hour after finalization

lucid quest
#

didnt think so, Thanks!

#

So if i do hit that endpoint, it just charges much quicker?

heavy parcel
#

Yeah

lucid quest
#

Ahhh okay good to know, thank you!