dj-stripe 3.0.0 (unreleased)

Breaking Changes

  • The Source and SourceTransaction models have been removed. The Stripe Sources API was deprecated in favour of the PaymentMethods API, and Source was deprecated in dj-stripe 2.11.0. Use the PaymentMethod model instead. This also removes the Customer.sources relation and the Customer.customer_payment_methods property; use Customer.payment_methods (the reverse relation of PaymentMethod.customer) instead. A database migration drops the djstripe_source and djstripe_sourcetransaction tables.
  • The DJSTRIPE_WEBHOOK_EVENT_CALLBACK setting has been removed. It was deprecated in 2.8.0 in favour of the webhook signals. If you used it to take control of webhook processing, connect to the relevant signal instead:
    • djstripe.signals.webhook_pre_validate
    • djstripe.signals.webhook_post_validate
    • djstripe.signals.webhook_pre_process
    • djstripe.signals.webhook_post_process
    • djstripe.signals.webhook_processing_error