dj-stripe 3.0.0 (unreleased)
Breaking Changes
- The
SourceandSourceTransactionmodels have been removed. The Stripe Sources API was deprecated in favour of the PaymentMethods API, andSourcewas deprecated in dj-stripe 2.11.0. Use thePaymentMethodmodel instead. This also removes theCustomer.sourcesrelation and theCustomer.customer_payment_methodsproperty; useCustomer.payment_methods(the reverse relation ofPaymentMethod.customer) instead. A database migration drops thedjstripe_sourceanddjstripe_sourcetransactiontables. - The
DJSTRIPE_WEBHOOK_EVENT_CALLBACKsetting 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_validatedjstripe.signals.webhook_post_validatedjstripe.signals.webhook_pre_processdjstripe.signals.webhook_post_processdjstripe.signals.webhook_processing_error