Closed (works as designed)
Project:
lm_paypal
Version:
7.x-1.x-dev
Component:
LM Paypal Donations
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2011 at 17:53 UTC
Updated:
3 Jun 2011 at 18:06 UTC
The hidden fields are suffixed with an html line break which is throwing out the display formatting. Where are these breaks coming from?
<form action="https://www.paypal.co.uk/cgi-bin/webscr" method="post" id="lm-paypal-api-payment-form" accept-charset="UTF-8">
<div><input type="hidden" name="business" value="xxxx" /><br /><input type="hidden" name="cmd" value="_donations" /><br /><input type="hidden" name="item_name" value="Donation to xxx" /><br /><input type="hidden" name="item_number" value="0" /><br /><input type="hidden" name="no_shipping" value="1" /><br /><input type="hidden" name="return" value="http://www.drupal.abaseenfoundation.org.uk/project/essential-clinical-equipment" /><br /><input type="hidden" name="cancel_return" value="http://www.drupal.abaseenfoundation.org.uk/project/essential-clinical-equipment" /><br /><input type="hidden" name="currency_code" value="GBP" /><div class="form-item form-type-textfield form-item-amount">
<label for="edit-amount">Enter an amount </label><br /><input type="text" id="edit-amount" name="amount" value="25" size="" maxlength="128" class="form-text" /><div class="description">Value is Pound Sterling</div>
</div>
<p><input type="hidden" name="notify_url" value="http://www.drupal.abaseenfoundation.org.uk/lm_paypal/ipn" /><br /><input type="hidden" name="custom" value="a:1:{s:3:"uid";s:1:"1";}" /><br /><input type="submit" id="edit-submit" name="submit" value="Make a Donation" class="form-submit" /><input type="hidden" name="form_build_id" value="form-ViktIevlV_mnH3jWqKH8Z640w18dMoUU8fw-sMjtuo8" /><br /><input type="hidden" name="form_token" value="Mym_OmgE52mclPYNpIs0EilofSlSRZKjNEOQv9BL2lY" /><br /><input type="hidden" name="form_id" value="lm_paypal_api_payment_form" /></p></div>
</form>
Comments
Comment #1
sksmithson commentedAaahhhh, they're from the full html formatting style!
Comment #2
sksmithson commentedThat's what happens when you mix php and html styles!