I have a Paypal Payments Pro Hosted iFrame being used on a site that is working great. I now have a requirement to collect the purchasers email address, as I understand it I am unable to do this with the iFrame implementation as it used the miniLayout template. As an alternative I am attempting to capture the email address using an input box, how can I then transfer this email address to the paypal purchase? This is what I have so far.... <input name="buyer_email" style="width: 170px" type="text" /><br /> <iframe name="hss_iframe" width="570px" height="540px"></iframe> <form style="display:none" target="hss_iframe" name="form_iframe" method="post" action="https://securepayments.paypal.com/cgi-bin/acquiringweb?cmd=_hosted-payment"> <input type="hidden" name="cmd" value="_hosted-payment"> <input type="hidden" name="subtotal" value="0.01"> <input type="hidden" name="showBillingEmail" value="true"> <input type="hidden" name="business" value="MYBUSINESSID"> <input type="hidden" name="paymentaction" value="sale"> <input type="hidden" name="template" value="templateD"> <input type="hidden" name="return" value="www.mydomain.com/thankyou"> </form> <script type="text/javascript"> document.form_iframe.submit(); </script> Can anyone help?
... View more