Hi,
Trying to upload a file for a product custom option of type File. This file needs to be attached to the product that is to be ordered.
All I have available is the "options" parameter which takes a [key] and [value]. When I have a custom product option of type text field and fill this option [value] with some text, and the [key] with the appropriate id, this works fine. In the final order(created from the cart) I can see that this value successfully has been transferred.
But then the custom option is of type file and I have an base64 encoded file as the [value] there is an error that I need to fill in the required product options. So it ignores my base64 content.
So, how do I need to upload this file custom option of a product that needs to be added to a shopping cart.
I'm using the following soap api calls, in order of use:
.login
.shoppingCartCreate
.shoppingCartCustomerSet
.shoppingCartCustomerAddresses
.shoppingCartProductAdd
.shoppingCartShippingMethod
.shoppingCartPaymentMethod
.shoppingCartOrder
Thank you in advance.