<form action="https://www.paypal.com/donate" method="post" target="_top">
%[#] Required hosted button ID
<input type="hidden" name="hosted_button_id" value="%[BUTTON_ID]">
%[#] Use user's email and aid if logged in
%begin [user]
<input type="hidden" name="item_name" value="%[USER_NAME]:%[USER_EMAIL]">
<input type="hidden" name="item_number" value="%[USER_AID]">
%end [user]
%[#] Generate return URL based on current page
<input type="hidden" name="return" value="%[RETURN_VALUE]">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button">
<img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
But the paypal notification comes back as
Subject: Reference: item_number <user name>:<user email> -
Donation from <...>
Note that item_number should be the user's aid
But the paypal notification comes back as
Note that
item_numbershould be the user's aid