Implement Stripe payment processing for [APPLICATION TYPE].
Payment type: [ONE-TIME / SUBSCRIPTION / METERED / MARKETPLACE]
Framework: [NEXT.JS / EXPRESS / DJANGO / RAILS]
Provide:
1. **Stripe Dashboard Setup**: Products, prices, webhook endpoints
2. **Checkout Flow**: Stripe Checkout or custom Elements — decision and implementation
3. **Backend Implementation**: Create customer, create subscription/payment intent, handle webhooks
4. **Webhook Handler**: All events to listen for with handler code
5. **Customer Portal**: Self-service billing management setup
6. **Error Handling**: Card declined, authentication required, payment failed — user-friendly handling
7. **Testing**: Test card numbers, webhook testing with Stripe CLI
8. **Security**: PCI compliance, no raw card data, secure key management
9. **Subscription Lifecycle**: Trial, active, past due, cancelled — handle all states
10. **Go-Live Checklist**: Everything to verify before switching from test to live mode
Implement Stripe payment processing for [APPLICATION TYPE].
Payment type: [ONE-TIME / SUBSCRIPTION / METERED / MARKETPLACE]
Framework: [NEXT.JS / EXPRESS / DJANGO / RAILS]
Provide:
1. **Stripe Dashboard Setup**: Products, prices, webhook endpoints
2. **Checkout Flow**: Stripe Checkout or custom Elements — decision and implementation
3. **Backend Implementation**: Create customer, create subscription/payment intent, handle webhooks
4. **Webhook Handler**: All events to listen for with handler code
5. **Customer Portal**: Self-service billing management setup
6. **Error Handling**: Card declined, authentication required, payment failed — user-friendly handling
7. **Testing**: Test card numbers, webhook testing with Stripe CLI
8. **Security**: PCI compliance, no raw card data, secure key management
9. **Subscription Lifecycle**: Trial, active, past due, cancelled — handle all states
10. **Go-Live Checklist**: Everything to verify before switching from test to live mode
How to use this prompt
Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.
Leave a Review
Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.