- Code: Select all
echo "status=pass" . "\n";
echo "option_count=1" . "\n";
echo "s1option=LTL Freight Shipping" . "\n";
echo "s1price=300.00";
This works fine, and I was able to connect ShopSite to my add-on. When checking out on the site, I was shown a drop down menu to show LTL Freight Shipping with a $300 cost. Now obviously this add on doesn't do anything. Next step is to get the information ShopSite is passing to the add-on. I don't seam to be able to get anything. After several hours of guessing, I figured I would just dump the entire contents of the post data and see what is there. I just added the line
- Code: Select all
file_put_contents("post.txt", "3" . print_r($_REQUEST, true));
Thanks