Solidus Version:
This affects anyone using the current version of solidus_starter_frontend.
To Reproduce
- Generate a new store with solidus_starter_frontend
- Look at the code
Current behavior
PayPal stuff is installed.
Expected behavior
Unless you selected it, PayPal stuff should not be installed.
Additional context
@jimryan reported this in a private repo:
Just tried on main and definitely did not choose paypal (I chose Stripe) and got the same result, I think it's because:
- The
solidus:install generator applies the starter frontend template (source)
- That template executes the starter frontend
template.rb from github (source)
- That copies the entire starter frontend template
app folder to the host app (source)
- That contains the paypal controllers (source