Alexander Kavanaugh

Results 58 comments of Alexander Kavanaugh

I'd be all for this if the stripe id was consistent and unique for all objects. Maybe one day stripe will decide to expose stripe ids for everything

It looks like stripe is actively trying to move away from custom object ids. The new pricing plans ui only lets you add a description. I'm sure the coupon ui...

IIRC, source is defined as nullable in stripe because it can be a charge on an account instead of a source. That's probably changed though

see also https://github.com/dj-stripe/dj-stripe/pull/858 and https://github.com/dj-stripe/dj-stripe/pull/862

@therefromhere @jleclanche Should this be a simple unlink, or should we mark the objects as "purged" as we do with Customer?

keeping the local data intact for reporting. I suppose that goes against our "stripe == one source of truth" philosophy

One solution to this: store currency as cents and either add a property (sort of like https://github.com/kavdev/dj-stripe/pull/466) or modify the currency field's to_python. The property or field would rely on...

The other option is to explicitly state which currencies are zero-decimal (as @jleclanche does in https://github.com/kavdev/dj-stripe/pull/466) and conditionally return based on that. This would be suitable with proper documentation.

> Also I do not understand why you are creating a customer and then adding it in the checkout session. @arnav13081994 If an existing customer wants to re-subscribe after cancelling...