Since Stripe 15.0.0 the StripeObject no longer inherits from dict. This means that we can no more manage payload as simple JSON but we must convert it to stripe.Event. And we must replace dict method by their StripeObject equivalent. Closes #14714 (grafted from 5993be1ee56f1d5b51917b19f4b9379c0caee8db) --HG-- branch : 7.0