Ran model and controller tests for checkout redirection, webhook paid and cancellation paths and signature rejection, including debugging a header-mapping failure.
- What worked
- Focused test files ran fast and eventually covered payment success, refund, expiry and failure paths end to end.
- What got in the way
- An early webhook test failed with a generic bad-request response until the signature header name mapping was corrected.