wc-api-java
wc-api-java copied to clipboard
Apply coupon compatibly v3
Hi @icoderman,
first of all, thanks for your job. Really appreciate it! As from the title i'm trying to apply coupon in an order but seems compatible only with version V3. In fact if I apply coupon, the order will filled with coupon information but the price still remains the same. I've read about work-around, trying to change the total price of the order and pushing it, but also this is unreachable for me. Any suggestion?
Emiliano
Hi @Pelellone thank you! I would be happy to approve your PR which implements V3 support and coupons :)
Hi @icoderman! I tried to add V3 compatibility for enabling coupons in order. All works adding just V3("v3") in ApiVersionType. I've tested order and coupons of course.
Hope that help you!