magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.54k stars 9.32k forks source link

Paypal Graphql isn't working #37824

Open AKALuffy opened 1 year ago

AKALuffy commented 1 year ago

Preconditions and environment

Steps to reproduce

by Graphql 1- Get Customer Token 2- Get Customer Cart ID 3- add product to Cart 4- set the shipping address 5- set the shipping method 6- set the billing address 7- createPaypalExpressToken 8- setPaymentMethodAndPlaceOrder

Expected result

sucessfully create order

Actual result

Unable to place order: The payment disallows storing objects.

Additional information

Bug occure only when use setPaymentMethodAndPlaceOrder. If we used setPaymentMethodOnCart and placeOrder separatly it's working fine.

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 year ago

Hi @AKALuffy. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 1 year ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

AKALuffy commented 1 year ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 1 year ago

Hi @AKALuffy. Thank you for your request. I'm working on Magento instance for you.

AKALuffy commented 1 year ago

In fact setPaymentMethodAndPlaceOrder class is deprecated but no mention of deprecated in schema.graphqls

magento-deployment-service[bot] commented 1 year ago

Hi @AKALuffy, here is your Magento Instance: https://083b239ddda88838fdc2303231e15167.instances-prod.magento-community.engineering Admin access: https://083b239ddda88838fdc2303231e15167.instances-prod.magento-community.engineering/admin_e67e Login: 6867bcd1 Password: 991ab7fda8c0

m2-assistant[bot] commented 1 year ago

Hi @engcom-Delta. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Delta commented 1 year ago

Hi @AKALuffy,

We have tried to reproduce the issue in the 2.4-develop branch and the issue has been reproducible with the below steps.

Graphql

1- Get Customer Token 2- Get Customer Cart ID 3- add product to Cart 4- set the shipping address 5- set the shipping method 6- set the billing address 7- createPaypalExpressToken 8- setPaymentMethodAndPlaceOrder

Screenshot 2023-09-20 at 12 41 17 AM

Though the setPaymentMethodAndPlaceOrder is deprecated but this should work , order should be created

Screenshot 2023-09-20 at 12 42 16 AM

Hence confirming this issue.

Thanks,

github-jira-sync-bot commented 1 year ago

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Reproduced on 2.4.x, ^Area:.*

Once all required labels are present, please add Issue: Confirmed label again.

github-jira-sync-bot commented 1 year ago

Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Reproduced on 2.4.x, ^Area:.*

Once all required labels are present, please add Issue: Confirmed label again.

github-jira-sync-bot commented 1 year ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-9579 is successfully created for this GitHub issue.

m2-assistant[bot] commented 1 year ago

:white_check_mark: Confirmed by @engcom-Delta. Thank you for verifying the issue.
Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

github-jira-sync-bot commented 1 year ago

:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-9579