Skip to content
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

Coupon API not working for guest user #14056

Closed
gnanasekaranl opened this issue Mar 12, 2018 · 14 comments
Closed

Coupon API not working for guest user #14056

gnanasekaranl opened this issue Mar 12, 2018 · 14 comments
Assignees
Labels
Event: WroCD Contribution day in Wro Fixed in 2.1.x The issue has been fixed in 2.1 release line Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line good first issue Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@gnanasekaranl
Copy link

Followed below steps,

  1. Create cart for guest user URL: http://devsite.com/magento2.2/rest/all/V1/guest-carts

    Content-Type: application/json
    Method: POST
    Authorization Bearer Key: yfna0bkjnj3j8jcr42rk7a1f3391yy0c

    Request Parameters: NIL

    Response :
    adf748e2e78b4cd4d7d3795a127bed97 (Generates Cart ID in response)
    create coupon in backend and also by API
    Apply this coupon to cartId
    URL: http://devsite.com/magento2.2/rest/all/V1/guest-carts/adf748e2e78b4cd4d7d3795a127bed97/coupons/782OYX2VOEINUF08

    Content-Type: application/json
    Method: PUT
    Authorization Bearer Key: yfna0bkjnj3j8jcr42rk7a1f3391yy0c

    Request Parameters: NIL

    Response :
    {
    "message": "Coupon code is not valid"
    }
    For check I have applied this coupon in front-end of website as a guest user its work. In API only its not working

@magento-engcom-team magento-engcom-team added Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed labels Mar 12, 2018
@magento-engcom-team
Copy link
Contributor

@gnanasekaranl, thank you for your report.
We've acknowledged the issue and added to our backlog.

@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Mar 12, 2018
@ghost
Copy link

ghost commented Mar 16, 2018

Coupon code also does not work for logged-in customer through webapi, on frontend it works fine.

magento-engcom-team any updates?

@mgarciaebo
Copy link

I'm working on this #distributed-cd

@magento-engcom-team magento-engcom-team added the Event: distributed-cd Distributed Contribution Day label Mar 24, 2018
@mgarciaebo mgarciaebo self-assigned this Mar 24, 2018
@matkeupon
Copy link

So many critical erros on this thing...
How many years until this will strat to become useable ??

@mgarciaebo
Copy link

mgarciaebo commented Apr 6, 2018

@matkeupon I have already found the problem and a possible solution. I will send a fix to the dev team (I'm an external contributor), so keep in touch because this could be solved soon. Regards!

@marcin-dykas
Copy link

#WroCD

@magento-engcom-team
Copy link
Contributor

@Hypo386 thank you for joining. Please accept team invitation here and self-assign the issue.

@magento-engcom-team magento-engcom-team added the Event: WroCD Contribution day in Wro label May 18, 2018
@marcin-dykas marcin-dykas self-assigned this May 18, 2018
@VladimirZaets VladimirZaets added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Jun 7, 2018
@VladimirZaets
Copy link
Contributor

Hi @gnanasekaranl. Thank you for your report.
The issue has been fixed in #15320 by @Hypo386 in 2.2-develop branch
Related commit(s):

The fix will be available with the upcoming 2.2.6 release.

@gnanasekaranl
Copy link
Author

@VladimirZaets That's great.

@pascalckunz
Copy link

@magento-engcom-team give me 2.3-develop instance

@magento-engcom-team
Copy link
Contributor

Hi @pascalckunz. Thank you for your request. I'm working on Magento 2.3-develop instance for you

@magento-engcom-team
Copy link
Contributor

Hi @pascalckunz, here is your Magento instance.
Admin access: https://i-14056-2-3-develop.engcom.dev.magento.com/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@sidolov
Copy link
Contributor

sidolov commented Jul 12, 2018

Hi @gnanasekaranl. Thank you for your report.
The issue has been fixed in #16562 by @gelanivishal in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.0 release.

@sidolov sidolov added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Jul 12, 2018
@sidolov
Copy link
Contributor

sidolov commented Aug 14, 2018

Hi @gnanasekaranl. Thank you for your report.
The issue has been fixed in #16782 by @gelanivishal in 2.1-develop branch
Related commit(s):

The fix will be available with the upcoming 2.1.16 release.

@sidolov sidolov added the Fixed in 2.1.x The issue has been fixed in 2.1 release line label Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Event: WroCD Contribution day in Wro Fixed in 2.1.x The issue has been fixed in 2.1 release line Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line good first issue Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests

8 participants