#wazi
1 messages ยท Page 1 of 1 (latest)
Hi ๐ can you elaborate a bit on what you're trying to accomplish?
We do have test cards available that can be used in test mode for testing the flow(s) you're building:
https://stripe.com/docs/testing
i'd like to run test transactions through the client. is this done through POST reqs?
When you say "client" are you referring to the Stripe CLI, or something else?
stripe CLI
Gotcha, so there are two approaches for using the CLI to test things. You can either use the GET/POST commands to interact with the API, or you can use the approach discussed in this Stripe resources section to use the CLI in a more abstracted mode:
https://stripe.com/docs/cli/resources
perfect thank you!
Any time!
in stripe JS, there is a method stripe.confirmCardPayment() what is the API endpoint it reaches out to? i dont know what URI i should POST to via stripe CLI
Hm, I'm not sure off-hand if the CLI supports making client-side requests, but if so I believe it would be to this endpoint:
https://stripe.com/docs/api/payment_intents/confirm
However, I believe that may do a server-side confirmation rather than client-side (based on the API key that is being used).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.