USER STORY : Stripe and Webhooks Setup
tomik-z-cech opened this issue · comments
As a Site Admin, I need to be able to process the order functions even in event of failure in order to ensure no paying customer is left without goods.
Acceptance Criteria :
When User provides valid payment media number but connection is interrupted for some reason during the confirmation process then all other functions (saving order, email, invoice) needs to proceed as normal via webhooks.
Tasks :
- Create webhooks handlers
- Set webhooks endpoint on stripe.com
- Copy functionality from sucesfull checkout view to webhooks
- Adjsut the functionality so saved info based on stripe metadata
- Test locally via stripe CLI
- Test functionality as logged in User
- Test functionality as not logged in User
Epic :
EPIC 10
This was done in commit 9d07b91.