Allow purchase before account creation? #861
-
My company is interested in allowing customers to make a purchase before they create a full account with us. i.e. let them make a purchase first and then afterwards have them create an account + tie that purchase to the new account. The pay gem doesn't seem designed to support a use case like that (it needs a User-like object with an email address before the purchase). Anyone know of a pattern or approach that might work? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Stripe lets you make guest purchases, so you could create a Pay::Customer afterwards if they created an account with the matching Customer ID and sync their charges. |
Beta Was this translation helpful? Give feedback.
-
@excid3 Allowing a user to make a purchase without an account (or without being logged in) opens the possibility that one real world user could end up having multiple real world stripe customers. Do you know of any issues I might encounter (in the pay gem) if I create more than one "Stripe" i.e. I'd create a new Stripe Seems like I could still find the old ones using the WDYT? |
Beta Was this translation helpful? Give feedback.
Stripe lets you make guest purchases, so you could create a Pay::Customer afterwards if they created an account with the matching Customer ID and sync their charges.