chandanpatra Posted March 10, 2016 Share Posted March 10, 2016 I have created a TEST product (ID 400), Config Option Group called 'TEST OPTIONS Group' (ID : 500) and that group has 10 various options say 'Disk Space', 'BandWidth', 'Sub Domains' etc. While adding a product to Cart, I wrote the following thing and did a CURL $postfields["action"] = "addorder"; $postfields["pid"] = "400"; $postfields["gid"] = "500"; $postfields["domain"] = "myexample.com"; $postfields["billingcycle"] = "monthly"; $postfields['configoptions'] = base64_encode(serialize(array(1=>"5 GB", 2=>"5 GB", 3=>"10"))); $postfields["paymentmethod"] = "mailin"; 1. The above code shows me Authentication error. Adding $postfields["email"], $postfields["password2"] did not help 2. Can u plz tell me if the Configurable Options are specified correctly here. Thanks and regards 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.