#Tassaduq Hussain
1 messages · Page 1 of 1 (latest)
You can attempt to pay the Invoice in question manually using this API: https://stripe.com/docs/api/invoices/pay
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and i will this field(latest_invoice) from subscription object ?
ok cool, one more thing, it's related to Test Mode of stripe
how can i failed a subscription in test mode manually using node js lib
You can use the 4000000000000341 test card, which you can attach to a Customer successfully but charges to it will fail. See also this page for other test cards and tokens: https://stripe.com/docs/testing#cards-responses
Learn about the different methods to test your integration before going live.
thanks a lot man