Coupon Magento API Soap

Asked

Viewed 86 times

2

I have a problem with the Magento Coupon API when I do:

$couponCode = "test";

$resultCartCoupon = $proxy->call($sessionId, "cart_coupon.add", array($shoppingCartId, $couponCode));

I always have:

Uncaught Soapfault Exception: [1083] Coupon is not Valid

If I try the coupon code on front-end, no problem.
Is there anyone who has used that part of the API successfully?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.