Merge pull request #39 from PrivateStorageio/35.cors.2
CORS headers on Stripe charge API responses (even errors) Also more consistent, correct error reporting from the HTTP API. Also, better Stripe/database consistency in the case of errors. Also, remove the unused Stripe webhook endpoint. Also, some automated tests for some of this.
No related branches found
No related tags found
Showing
- .circleci/config.yml 1 addition, 0 deletions.circleci/config.yml
- PaymentServer.cabal 16 additions, 0 deletionsPaymentServer.cabal
- nix/PaymentServer.nix 3 additions, 0 deletionsnix/PaymentServer.nix
- src/PaymentServer/Main.hs 49 additions, 11 deletionssrc/PaymentServer/Main.hs
- src/PaymentServer/Persistence.hs 66 additions, 8 deletionssrc/PaymentServer/Persistence.hs
- src/PaymentServer/Processors/Stripe.hs 66 additions, 50 deletionssrc/PaymentServer/Processors/Stripe.hs
- src/PaymentServer/Server.hs 26 additions, 2 deletionssrc/PaymentServer/Server.hs
- test/Persistence.hs 128 additions, 0 deletionstest/Persistence.hs
- test/Spec.hs 20 additions, 0 deletionstest/Spec.hs
Loading
Please register or sign in to comment