Configurable products with custom options.
kabalas2 opened this issue · 2 comments
Hi, after adding to cart 2 products. for example same t-shirts, same size. but one of them have custom option.
order lines for request have 2 lines with same sku and brings back error, that shoud be uniq. maybe good idea add option id to end?
@kabalas2 , thanks for reporting the issue. Internal ticket has been created. We will let you know once it is fixed.
Just to add some more information to this issue. It might not be enough to just add an option ID in all cases. We had the same problem, but with gift cards with different values. I modified the extension to append the price as well.
The same kind of problem is seen when capturing and refunding products that has discounts (in our case both with coupon code and use of gift cards for the order). I ended up taking away the list of products for these endpoints, and just using the absolute value I want to capture/refund. Since it's not tied to a product this way, refunding could potentially be done twice to the same product.