You are viewing the PayPal Community Archives. This content may be old or outdated. Leave the Archive
I've created a PayNow button that works fine. But, I don't want the product name to be a fixed part of the button. I want my customers to specify a product name from multiple choices on my website, and this variable needs to appear during the checkout with PayPal and with the e-mail confirmation sent to me.
Anybody have some free advice that can make the name a variable and add to the price options? Thanks in advance.
Pearce
Hello ecraep,
This would definitely be something a developer would need to help you with. You may want to check the PayPal Developer Forum to see if they have any suggestions for you. Here is the direct link. I hope this helps.
Misty
Simply replace:
<input type="hidden" name="item_name" value="The product name">
With the following:
<select name="item_name">
<option value="Product name A">Product name A</option>
<option value="Product name B">Product name B</option>
<option value="Product name C">Product name C</option>
</select>
This will add a dropdown from which you can pick a product / item name. This will be subsequently be used as the item throughout the full PayPal transaction.
©1999-2023 PayPal, Inc. All rights reserved.