#mrRoyals
1 messages · Page 1 of 1 (latest)
If collection method is charge automatically it should be able to charge the user automatically
Can you check if auto_advance is set to true on this invoice? If it isn't I think you may need to explicitly set it when creating your invoice https://stripe.com/docs/api/invoices/object#invoice_object-auto_advance
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
okay i will try that out first
was wondering if maybe it's a test mode issue? is there a mock payment in test mode?
This should work the same in live and test mode. Test mode can be backed up sometimes but there should always be an automatic attempt here
Also may be worth double-checking the next_payment_attempt on the invoice. I think even with auto advance the first attempt is an hour after finalization https://stripe.com/docs/api/invoices/object#invoice_object-next_payment_attempt
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i think it worked? Payment will be retried in 1 hour Scheduled for Jun 29, 2023, 5:13 PM
seeing a retry message without any try in the first place
oh i see i think i'm all set then!
Nice! Glad that helped