-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Payment type selector template for multiple providers #246
Comments
To eventually support this accordion idea, paypal express and pro will have to be separated into two different checkout templates, and both will have to be registered. That's fine, but there is also the ability to enable/disable each one, so that would need the ability to register some function that core will call to see whether each should be included in the accordion. The simpler solution, since the APIs are different anyway, would be to have two separate paypal packages, paypal-pro and paypal-express, which can be enabled/disabled separately in the dashboard. Was this approach considered? |
we did talk about it a little.. in my mind the only factor that leans towards having one package with multiple methods is that we only have one package to maintain, and I think it's a better user experience to just see "paypal" and then pick their configuration from several paypal methods. - other than that you're right - but we could just lay it out within the package like it's multiple packages. with paypal it's also highly likely you would enable more than one method - I think it would be cleanest to just give each method it's own |
Changes that refactor the `ReactionCore.registerPackage` implementation to a more flexible, and structured template registry. `ReactionCore.registerPackage` moves to server. package.registry is published to client. These are not backwards compatible changes. Updated documentation at docs/packages.md Initial commit for issue #314 Strategic updates for Issue #273 Strategic updates for Issue #306 Strategic updates for Issue #305 Strategic updates for Issue #246 Strategic updates for Issue #183 Strategic updates for Issue #155 Strategic updates for Issue #16 Strategic updates for Issue #148 Resolves #53 Resolves #308 Resolves #178 *Remaining tasks* solve undefined error convert the rest of the payment packages context sensitive widgets (context?) update with detailed docs (document all the existing "provides")
##package-registry-refactor Changes that refactor the `ReactionCore.registerPackage` implementation to a more flexible, and structured template registry. `ReactionCore.registerPackage` moves to server. package.registry is published to client. cycle = Core, Stable, Testing (todo: => correlates package semver) container = combine multiple registry entries These are not backwards compatible changes. Updated documentation at docs/packages.md Initial commit for issue #314 Strategic updates for Issue #273 Strategic updates for Issue #306 Strategic updates for Issue #305 Strategic updates for Issue #246 Strategic updates for Issue #183 Strategic updates for Issue #155 Strategic updates for Issue #16 Strategic updates for Issue #148 Strategic updates for Issue #146 Resolves #53 Resolves #308 Resolves #178
- adds a priority value to reactionApp helper - adds default icon and label from app, can be customized via registry - resolves #246 - payment label added to en.json `checkoutPayment.{{name}}.label` - remove meteor timeout on cartWorkflow.paymentMethod (seems to work as expected now)
When there are multiple payment packages enabled, instead of just looping through the payment packages, it would be good to have an alternate display, either an accordion style of selection, or a screen that display payment types/providers allowing the user to choose.
The text was updated successfully, but these errors were encountered: