vue-storefront-api icon indicating copy to clipboard operation
vue-storefront-api copied to clipboard

Updated Collect-total API CALL format

Open michhy opened this issue 6 years ago • 8 comments

for issue #228

michhy avatar May 03 '19 05:05 michhy

Hi! Thanks! Is it still compliant with Magento 2.2.x? Can You check it it? In case it’s not then I belive you can add a variable to config/default.json in the: magento2 section called “version” and switch the request call between magento versions accordingly

pkarw avatar May 03 '19 05:05 pkarw

Hi I cannot check magento 2.2.x as I don't have an install of that. Maybe put the switch for now, should I?

michhy avatar May 03 '19 11:05 michhy

You can check it against demo-magento2.vuestorefront.io which is our default backend - magento 2.2.4

pkarw avatar May 03 '19 13:05 pkarw

Yes I tried before, but this demo version doesn't have payment method as cart rule condition :P

michhy avatar May 03 '19 13:05 michhy

I can try if it is getting through tho

michhy avatar May 03 '19 13:05 michhy

Yeah, there is no such payment method but the thing is that we should change the request format (put instead of post + changed format) still does the work with 2.2.x can you please check it and paste the result/output?

pkarw avatar May 03 '19 13:05 pkarw

sure let me try

michhy avatar May 03 '19 13:05 michhy

@pkarw , I just checked and it can get through magento 2.2.x by testing in your magento demo. please see the screenshot, return 200 :) 螢幕截圖 2019-05-07 上午11 16 14

michhy avatar May 07 '19 03:05 michhy