Ghost/ghost/members-api/lib/stripe
Rish fac6c3d97e Added ability to prefill customer email for anonymous checkouts
refs https://github.com/TryGhost/members.js/issues/10

- Allows passing an additional `customerEmail` value to our checkout creation API
- This value is used to pass `customer_email` option to stripe's checkout session - https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer_email.

The `customer_email` allows pre-filling the customer's email field in case of an anonymous checkout as customer doesn't exist already, and also ensures the stripe subscription is created with same email address as given by user during signup flow.
2020-04-30 16:01:22 +05:30
..
api Added options to stripe retrieve request 2019-10-02 18:19:39 +07:00
index.js Added ability to prefill customer email for anonymous checkouts 2020-04-30 16:01:22 +05:30