1
0
mirror of synced 2026-08-07 15:46:54 +00:00

handle the response in the controller

This commit is contained in:
Rimian Perkins
2017-05-02 10:02:07 +10:00
parent a9d59d721f
commit e2a12a1b11
4 changed files with 2 additions and 9 deletions
@@ -14,6 +14,7 @@ module DiscourseDonations
else
payment = DiscourseDonations::Stripe.new(secret_key, stripe_options)
response = payment.charge(email, params)
response['message'] = response['outcome']['seller_message']
end
response['rewards'] = []