app/models/pay/webhook.rb in pay-7.3.0 vs app/models/pay/webhook.rb in pay-8.0.0

- old
+ new

@@ -19,9 +19,11 @@ Pay.braintree_gateway.webhook_notification.parse(event["bt_signature"], event["bt_payload"]) when "paddle_billing" to_recursive_ostruct(event["data"]) when "paddle_classic" to_recursive_ostruct(event) + when "lemon_squeezy" + Pay::LemonSqueezy.construct_from_webhook_event(event) when "stripe" ::Stripe::Event.construct_from(event) else event end