OCAPI order_total on basket #450
chuan0
started this conversation in
Team Posts
Replies: 2 comments
-
Call calculate basket hook 'dw.ocapi.shop.basket.calculate' after setting shipping method in afterPUT, it should resolve this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the help. We actually have hooks already, there's a bug in the code that skipped tax calculation and basket calculate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to use OCAPI to create a basket and submit an order. But I'm getting an OrderTotalNotSet flash(error)
These are the steps I did:
I checked all the endpoints under /baksets I don't see any that calculates the basket. Am I missing something? Or do I have to use a hook and manually calculate the basket in the backend code?
Beta Was this translation helpful? Give feedback.
All reactions