Skip to content

Unable to set invoice as paid out of band #833

Description

@galzetta

I'm using the following call in order to mark an Invoice as paid_out_of_band:

$stripe_invoice->pay(['paid_out_of_band' => true]);

This should be the correct way to call that method according to the documentation: $stripe_invoice->pay(['paid_out_of_band' => true]);
However it seems like the stripe-php library is considering this as simply calling ->pay() without arguments since from the Stripe dashboard I see no paid_out_of_band query parameter (or any reference of it in the body):

image
Am I using the library incorrectly (but how should I know if it is correct if there is not a single example online and the documentation seems to imply that what I'm doing is correct?) or is there a bug iwth the pay() function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions