pay-rails / pay

Payments for Ruby on Rails apps
https://github.com/pay-rails/pay
MIT License
1.98k stars 316 forks source link

Lock pay customer while creating stripe customer #1026

Closed mpvosseller closed 4 months ago

mpvosseller commented 4 months ago

Pull Request

Summary:

Locks the Pay::Customer while creating an associated customer on Stripe. This helps prevent cases where multiple stripe customers could be created at stripe for a single Pay::Customer.

Related Issue:

Description:

Testing:

Screenshots (if applicable):

Checklist:

Additional Notes: