degica / spree_komoju

Spree extension for using the Komoju Payments API.
https://komoju.com/
BSD 3-Clause "New" or "Revised" License
6 stars 11 forks source link

Always return a 200 status code regardless of the type #52

Closed rramsden closed 8 years ago

rramsden commented 8 years ago

Komoju will keep sending webhooks until it receives a 200 OK response. When events like "payment.updated" or "ping" are sent we should always return 200 regardless of the event type otherwise Komoju will keep re-sending the webhook until its successfull.

rramsden commented 8 years ago

@shioyama Could you review?