Skip to content

ensure webhook data is populated.

jamie requested to merge jamie/stripe:populate-webhook-data into master

This seems to fix #388 (closed) in the least intrusive way.

But I'm not sure it's right:

  1. I'm not sure why I have to strip off "Stripe\StripeObject JSON: " from the string stored in the database. Should that be saved differently?
  2. I'm not sure we should trust data stored in the webhook table. Maybe it would be better to do away with that call and simply set setVerifyData(TRUE) to always verify the data.

Merge request reports