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
Update PaypalExpressToken resolver to use correct input from GraphQL Schema. #35050
Update PaypalExpressToken resolver to use correct input from GraphQL Schema. #35050
Conversation
Update PaypalExpressToken resolver to use correct input from GraphQL Schema.
Hi @liamjtoohey. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review. For more details, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
@magento run WebAPI Tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time. |
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.
Looks good - thank you for your contribution @liamjtoohey!
Hi @bgorski, thank you for the review.
|
✔️ QA Passed Preconditions:
Manual testing scenario:
Before: ✖️ With a valid Paypal login, the URL was redirecting to the below screenshot page. After: ✔️ With a valid Paypal login, the URL is getting redirected to the below screenshot page. Additional scenarios tested:
@cpartica |
@magento create issue |
Approved. Please go ahead with the PR |
Description (*)
Update PaypalExpressToken resolver to use correct input from GraphQL Schema. Currently, adding the
use_paypal_credit
input defined inetc/schema.graphqls
tocreatePaypalExpressToken
requests does nothing, as the code is incorrectly checking for the presence ofpaypal_credit
rather thanuse_paypal_credit
.Input defined in schema:
Manual testing scenarios (*)
createPaypalExpressToken
mutation via GraphQLuse_paypal_credit
field in request is set totrue
start
URL returned in thepaypal_urls
outputContribution checklist (*)
Resolved issues: