samarsekhar/-Project2026withDeveloperSamarsekharstripe-payment-elements-with-https-demo ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Next.js demo site for Stripe Payment Elements with an HTTPS setup so I can test payments locally in a realistic way.

I want a clean page that lets someone enter payment details, see a polished checkout form, and submit a test payment. Include a basic landing page, the payment form, success and error states, and make it look good on mobile and desktop. Use a modern simple design with the default font style already in the project. If anything about the current Stripe flow or best practice setup has changed, look up the current docs online and use the right approach.

Keep it easy to run with the existing dev script, and make sure the app works end to end without extra hassle. If there are any missing pieces like environment values or local HTTPS details, set up sensible placeholders and clear instructions in the UI or README.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab