Advanced Variables for Buy Now button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I created a Buy Now button and in step 3 checked the box "Add Advanced Variables" and added the following text to the box:
gls_id=member
and selected "save". I then fetched the button HTML code and got the below code with no evidence that the gls_id variable was created. What have I done wrong? Shouldn't I see the variable in the generated code looking something like
<input type="hidden" name="gls_id" value="member">
Generated HTML code follows:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="G2T54GALKVKC8">
<table>
<tr><td><input type="hidden" name="on0" value="Membership Type">Membership Type</td></tr><tr><td><select name="os0">
<option value="Limited Income">Limited Income $5.00 USD</option>
<option value="Individual">Individual $12.00 USD</option>
<option value="Joint">Joint $20.00 USD</option>
<option value="Supported">Supported $30.00 USD</option>
<option value="Benefactor">Benefactor $75.00 USD</option>
<option value="Life">Life $300.00 USD</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Pay button html variables don't return all collected data any more in About Business (Archive)
- Advanced Variables - multiple shipping options - add to cart button in About Payments (Archive)
- Political Donation Form in About Settings (Archive)
- Shipping Calculations in About Payments (Archive)
- insufficient funds on recurring subscription with trial period in About Payments (Archive)