I have a webform on my homepage www.surveycity.org I want to pass that data to the ClickBank order form when a user clicks submit. ClickBank's site advises the following for passing field data: Yes. You can pass the following QUERY_STRING parameters to the payment link and they will be written into the order form name = customer name email = customer email address country = customer ISO-3166 country code zipcode = customer postal code detail = product title I tried using this code on my form but it doesn't work. <form action="http://1.xxxx.pay.clickbank.net" method="<?php $_POST['Email'] ?> I think I am close so any help to get me past this is appreciated.
just use this <form action="http://1.xxxx.pay.clickbank.net" method="post"> <input type="hidden" name="name" value="the value here"> <input type="hidden" name="email" value="the value here"> <input type="hidden" name="country" value="the value here"> <input type="hidden" name="zipcode" value="the value here"> <input type="hidden" name="detail" value="the value here"> <input type="submit" value="submit"> </form>
if they said you can do it via querystring, you can do it like http://1.xxxx.pay.clickbank.net?name=<?= $customerName; ?>&email=<?= $customerEmail; ?>&country=<?= $country; ?>&zipcode=<?= $zip; ?>&detail=<?= $details; ?> but them php variables must be defined