Open3 files+12−9
Replace removed Charges.source with payment_method
Vendor Stripe removed source from POST /v1/charges in API version 2026-05-28. Confirmed against a spec snapshot, not a changelog.
billing/charges.py:84
- charge = stripe.Charge.create(amount=amount, source=token)+ charge = stripe.Charge.create(amount=amount, payment_method=token)