CyberDemon73/Stripe-Auto-Strike ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python script that helps me learn how Stripe test mode works.
I want it to ask for my Stripe secret key at startup, then walk me through creating a token from test card details from Stripe’s docs, making a sample payment flow, and showing the key parts of the response so I can understand how the card, customer, token, and transaction data connect. Please make the output easy to read in the terminal, with clear messages for each step, success and failure states, and a short explanation of what each Stripe response means.
Use the Stripe Python library, keep it focused on demo and testing only, and do not make any real charges. If there are any current Stripe docs or best practices I should follow, look them up online and use them. I’d also like the script to be tidy, easy to run, and simple enough that I can experiment with different test card numbers from the documentation.
Are you gonna build this?
make sure you review the code using coderabbit