-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added support to django-shop==0.11 and angular 2.0 (i find errors in the last pull request)
- Loading branch information
1 parent
96524a6
commit c5fb166
Showing
1 changed file
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c5fb166
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jrief , @SasoriOlkof,
Would having the shop version check and saving the actual order here be repeated in all other payment plugins? I'm wondering if it would be better to have a CreateOrder class / interface in the shop project to deal with any checks and project dependencies i.e. having to specifically include the following dependencies which are not really the plugins dependencies:
The CreateOrder class in the Shop project that would contain a generic / core way of executing the tasks required. There would be nothing to stop a plugin aauthor writing their own way and repeating the code if the methods don't fit their use case. I would see this centralised method more stable than requiring every plugin package to keep a check of what the core shop project requires.
Please excuse me for adding my opinion here. As I have mentioned before I have an interest in this project but limited time to help.
c5fb166
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Aiky30 agree.
In djangoshop-stripe I handle this by using different version numbers. Would be better to take the same approach in djangoshop-paypal.