“Set up PayPal subscription billing. I already created a subscription plan in the PayPal dashboard with Plan ID [plan_id]. Add a 'Subscribe' button that starts the PayPal sign-up flow. Once the visitor approves the subscription, save the subscription ID against their account. Also set up a listener so PayPal can tell my app whenever a payment goes through or a subscription gets cancelled, and update that customer's status in my database.”
How to use it
- Fill in the blanks with your own details, so the AI builds your project, not a generic one.
- Copy the prompt and paste it into your AI coding tool.
- Check the result in the preview, then ask for changes one at a time: "make the buttons bigger", "use my brand colours".
- Read the chapter to understand why it works and what to do next.