Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

[Mutations] My Account > Manage Stored Payment Methods #60

@misha-kotov

Description

@misha-kotov

As a Magento developer, I need to build a functional My Account experience for customers via GraphQL so that I can build basic ecommerce experiences for shoppers on the front-end using only GraphQL.

GraphQL needs to provide sufficient mutations (ways to create/update/delete data) for a developer to build out the storefront My Account experience for a shopper.

Use cases:

  • A logged-in shopper can add/remove stored payment methods from the My Account Page

Acceptance criteria:

  • GraphQL provides a mutation through which the current logged-in shopper can add/remove stored payment methods
  • Authentication is handled through a session cookie (changing the email address requires that current password is provided)
  • A guest shopper cannot change the data for any user
  • Changes are covered with web API functional tests. See \Magento\GraphQl\Catalog\ProductViewTest::testQueryAllFieldsSimpleProduct as an example.

My Account area impacted:

  • Stored Payment Methods tab
    image

Metadata

Metadata

Assignees

Labels

for-groomingThis issue needs to be discussed before it can be worked onmedium

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions