Closed Yoronex closed 2 months ago
Commit: b384a6f Base: develop@a5bbdd5
Type | Base | This PR |
---|---|---|
Total Statements Coverage | 85.66% | 85.68% (+0.02%) |
Total Branches Coverage | 84.22% | 84.29% (+0.07%) |
Total Functions Coverage | 87.48% | 87.49% (+0.01%) |
Total Lines Coverage | 85.82% | 85.84% (+0.02%) |
File | Statements | Branches | Functions | Lines |
---|
:tada: This PR is included in version 0.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Description
Adds a description and metadata to Stripe PaymentIntents. The metadata contains a
service
key, which includes the newNAME
environment variable. This variable should contain the name of the service, for examplesudosos-prod
orsudosos-test
. When receiving Stripe webhook events, SudoSOS checks whether this service name matches. If so, it will actually process the webhook event. If not, it will still return a 204 to Stripe, but not process the event any further. It is therefore important that we add these environment variables when deploying.Related issues/external references
Fixes https://github.com/GEWIS/sudosos-backend/issues/288.
Types of changes