mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
Add HipChat msg for Stripe payments
This commit is contained in:
parent
761402b117
commit
264767e9e8
1 changed files with 1 additions and 0 deletions
|
@ -307,6 +307,7 @@ PaymentHandler = class PaymentHandler extends Handler
|
|||
if err
|
||||
@logPaymentError(req, 'Stripe incr db error. '+err)
|
||||
return @sendDatabaseError(res, err)
|
||||
@sendPaymentHipChatMessage user: req.user, payment: payment
|
||||
@sendCreated(res, @formatEntity(req, payment))
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue