Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove redundant transaction in customers.create #341
Some context for this one, @paltman. I've been getting issues when using customer.create whereby the webhook
It seems unlikely that the create Customer query would be uncommitted for a long enough period due transaction.atomic() such that the webhook arrives first, and yet I'm seeing this occur a few times per day.
Any thoughts? I'd rather not preemptively create customers with Stripe.
So, I hit the reason why you added the transaction in the first place. Nasty, one that I've also hit in various projects.
I've done some minor refactoring of the