InvoiceService::pay( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )
Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings. However, if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.
Description Description
Parameters Parameters
- $id
-
(Required)
- $params
-
(Optional)
Default value: null
- $opts
-
(Optional)
Default value: null
Return Return
(StripeInvoice)
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/InvoiceService.php