vuestorefront / shopware-pwa

Shopware PWA for eCommerce. Headless storefront solution for Shopware 6, which communicates through the SalesChannel-API. Always Open Source, MIT license. Made with :blue_heart: by shopware AG & Vue Storefront.
https://frontends.shopware.com
MIT License
345 stars 103 forks source link

[PayPal] Make up the right place of storing the plugin #623

Closed mkucmus closed 4 years ago

mkucmus commented 4 years ago

Acceptance criteria:

mkucmus commented 4 years ago

We decided that the SW6 pwa part of the plugin is the right place of storing such logic. We just need to find out how to generate slots for the payment plugins. A related Issue is created.

Rigo-m commented 4 years ago

Will this implementation be some sort of blueprint for next plugins implementations? In which cases should we put business logic in the pwa part of SW6 plugin and in which other cases should we call plugins API endpoints?

mkucmus commented 4 years ago

Will this implementation be some sort of blueprint for next plugins implementations? In which cases should we put business logic in the pwa part of SW6 plugin and in which other cases should we call plugins API endpoints?

Yes, it will be some kind of template for next implementations. Basically we should treat PWA (vue) components like twig templates with minimum logic. DAO is still on the server side. So, some assumptions will come up after the first plugin implementation (paypal case), for instance: