diff --git a/src/PaymentServer/Processors/Stripe.hs b/src/PaymentServer/Processors/Stripe.hs index 66efadcd22f88ecd4faf6221644d4849326242ae..25a63fe31ded132044a8e051177a9db2a979b278 100644 --- a/src/PaymentServer/Processors/Stripe.hs +++ b/src/PaymentServer/Processors/Stripe.hs @@ -92,7 +92,9 @@ type StripeSecretKey = ByteString data Acknowledgement = Ok instance ToJSON Acknowledgement where - toJSON Ok = object [] + toJSON Ok = object + [ "success" .= True + ] type StripeAPI = ChargesAPI