0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/ghost
Rish 6ccdea6632 Removed magic link email for upgrade checkout
no issue

Previously, we were sending a magic link email to signup in case a logged-in member upgrades to a paid account, as we didn't check for logged in status while sending the magic link and always sent one on finishing checkout. Since Portal allows members to upgrade their account from free, it doesn't make sense to send another email to signup after completing checkout.

The fix here adds a metadata `checkoutType` to checkout session creation which can be passed in with `upgrade` value to denote an existing member is upgrading and doesn't need an email.
2020-10-29 11:59:01 +05:30
..
magic-link Published new versions 2020-09-18 13:23:54 +01:00
members-api Removed magic link email for upgrade checkout 2020-10-29 11:59:01 +05:30
members-csv Update Test & linting packages 2020-10-27 10:05:45 +00:00
members-ssr Published new versions 2020-08-11 09:10:32 +01:00