Skip to content

[Issue] Added order_place_redirect_url to SelectedPaymentMethod and OrderPaymentMethod result #39909

Open
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #39896: Added order_place_redirect_url to SelectedPaymentMethod and OrderPaymentMethod result


Description (*)

This PR allows GraphQL to return the order_place_redirect_url, this way paypal and other PSPs would be able to support orders being placed using GraphQL.

Manual testing scenarios (*)

  1. Set up the PayPal payment method (or another making use of the order_place_redirect_url)
  2. Add products to cart, perform regular checkout steps.
  3. Call the setPaymentMethodOnCart graphql mutation and check if order_place_redirect_url is available.
  4. Call the placeOrder graphql mutation and check if order_place_redirect_url is available.

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

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions