mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
daa19e06b4
refs https://github.com/TryGhost/Product/issues/3593 - also uses `.current_period_end` instead of `.created_at` to retrieve the most recent subscription, when multiple customer with the same email address are found. Reason: `created_at` date is reset when migrating subscriptions between Stripe accounts |
||
---|---|---|
.. | ||
Migrations.test.js | ||
StripeAPI.test.js |