-
Notifications
You must be signed in to change notification settings - Fork 687
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
[FEATURE] Implement Checkmo #2927 #2969
[FEATURE] Implement Checkmo #2927 #2969
Conversation
|
Nice work Lars. Ill look into the PR soon. |
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.
Wonderful work @larsroettig.
I love the fact that you have moved the Billing Address into a component of its own. I would suggest you make the changes to the existing payment methods that implement their own billing address to use this component. If you think that is gonna increase the scope of this PR, no problem let me know and Ill create a backlog ticket in our JIRA to take care of it.
Also, I have provided feedback. Most of them are general questions and some minor aesthetic changes.
Please make sure you add the tests once you have completed the work on the PR.
packages/extensions/venia-sample-payments-checkmo/components/BillingAddress/billingAddress.js
Outdated
Show resolved
Hide resolved
packages/extensions/venia-sample-payments-checkmo/components/BillingAddress/billingAddress.js
Outdated
Show resolved
Hide resolved
packages/extensions/venia-sample-payments-checkmo/components/checkmo.js
Outdated
Show resolved
Hide resolved
packages/extensions/venia-sample-payments-checkmo/components/checkmo.js
Outdated
Show resolved
Hide resolved
packages/extensions/venia-sample-payments-checkmo/components/checkmo.js
Outdated
Show resolved
Hide resolved
Co-authored-by: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com>
Co-authored-by: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com>
Co-authored-by: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com>
Co-authored-by: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com>
Co-authored-by: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com>
Co-authored-by: Revanth Kumar Annavarapu <35203638+revanth0212@users.noreply.github.com>
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.
This is looking great to me. I like how you split out the BillingAddress as that will get lots of reuse. Overall I believe with this payment extension ready there will be one iteration left of the payment methods in general to have another look at how else we can make implementing payment methods easier.
This started with Luma but I really dislike how involved payment methods get with address handling and how each needs to implement their own order processing flow. Again apologies this is not the space for that discussion and this PR looks great 💯
"peerDependencies": { | ||
"@magento/peregrine": ">= 8.0.0", | ||
"@magento/pwa-buildpack": "~8.0.1", | ||
"@magento/venia-ui": ">= 5.0.0", |
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.
@larsroettig With our current capabilities this >=
would cause manual check for every package publishing in future. Can these dependencies be in sync with rest of the project with latest versions? something like -
"@magento/peregrine": "~9.0.0",
"@magento/pwa-buildpack": "~8.0.1",
"@magento/venia-ui": "~6.0.1",
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.
@dpatil-magento Sure i can do but this mean before publish you replace any version ?
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.
@larsroettig Yes, we update dependencies to respective release latest versions. Example - When we go for next release and peregrine
we identify as 10.0.0
then in above case "@magento/peregrine": "~9.0.0",
will be replaced to "@magento/peregrine": "~10.0.0",
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.
Good to know thanks pull commit the change now
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.
07f0164 done ✔️
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.
thanks @larsroettig
07f0164
@larsroettig Data for Another thing can be to have |
Hi @dpatil-magento, about Is accept at UX and productmangment |
@larsroettig Thanks for the info, i was not knowing about graphql limitation. Will merge this soon :) |
Description
Related Issue
Closes PWA-1242.
Closes #2927
Acceptance
Verification Steps
package.json
viayarn install
yarn watch:venia
Screenshots / Screen Captures (if appropriate)
Checklist