The module only works with nodes, needs to work with commerce product variation too. For anonymous users the Stripe Checkout module redirects you to register page but in my opinion the pop-up should appear and email field should be required for unauthenticated users.

Comments

vlad.ienciu created an issue. See original summary.

vlad.ienciu’s picture

Created a patch. Please review.

vlad.ienciu’s picture

Status: Active » Needs review
scottsawyer’s picture

Adding related issue that deals with supporting of all entities. I like the idea of anonymous checkouts requiring the email.

grasmash’s picture

Why did you remove the "logged in" condition from the twig file?

  • grasmash committed bdd1041 on 8.x-2.x authored by vlad.ienciu
    Issue #3040177 by vlad.ienciu: Module doesn't work with product...
grasmash’s picture

Status: Needs review » Fixed

I've committed all but some of the seemingly unrelated twig file changes.

scottsawyer’s picture

@grasmash Would you mind explaining why you chose to commit this patch where as the patch in the older issue is nearly identical, yet is more complete? Looking at this patch, it does not handle the redirect in the StripeChargeController which would surely cause an error.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.