Closed
Description
This issue is automatically created based on existing pull request: #35050: Update PaypalExpressToken resolver to use correct input from GraphQL Schema.
Description (*)
Update PaypalExpressToken resolver to use correct input from GraphQL Schema. Currently, adding the use_paypal_credit
input defined in etc/schema.graphqls
to createPaypalExpressToken
requests does nothing, as the code is incorrectly checking for the presence of paypal_credit
rather than use_paypal_credit
.
Input defined in schema:
Manual testing scenarios (*)
- Make request to
createPaypalExpressToken
mutation via GraphQL - Ensure
use_paypal_credit
field in request is set totrue
- From the mutation response, navigate to the
start
URL returned in thepaypal_urls
output - See that user is navigated to PayPal credit checkout - not standard PayPal checkout.
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done