dimaportenko / magento-react-native

React Native mobile app for Magento 2.x
MIT License
297 stars 158 forks source link

Applying Coupon Code - throws error #133

Closed RAGHURAMK0542 closed 4 years ago

RAGHURAMK0542 commented 4 years ago

Describe the bug I am trying to apply coupon code say for instance VIH9D5OWT3V28X - once i apply this code, getting the following error The "false" value's type is invalid. The 'Int' type was expected. Verify and try again

Then i tried with integer code 1000020. still getting the same error.

Expected behavior Coupon applied with discount

Current Behavior Throwing error

Steps to Reproduce Please provide detailed steps for reproducing the issue.

  1. Add Item to cart

  2. Go to the cart and complete the 3 steps and navigate to summary section

  3. Apply the code

  4. The "false" value's type is invalid. The 'Int' type was expected. Verify and try again

Screenshots

Screenshot 2020-07-04 at 10 02 14 PM

Smartphone (please complete the following information):

dimaportenko commented 4 years ago

@RAGHURAMK0542 I can't reproduce it on my end. For VIH9D5OWT3V28X coupon code - I'm getting error - no such coupon code.

Screenshot 2020-07-04 at 20 55 23

1000020 code works fine

Screenshot 2020-07-04 at 20 55 53
RAGHURAMK0542 commented 4 years ago

This is the log i receive

Screenshot 2020-07-04 at 11 43 36 PM
dimaportenko commented 4 years ago

@RAGHURAMK0542 cart ID in your request is false, there is should be correct cart Id value instead.

86518605-473c0b80-be50-11ea-8209-5599eab5b885
RAGHURAMK0542 commented 4 years ago

Yes, no matter what it's always false

dimaportenko commented 4 years ago

This issue isn't related to the coupon code, so I close it. Please create a new issue and provide steps to reproduce where cart id becomes false.