If you do not set discount_rate2, the value in discount_rate applies only to the first item regardless of the quantity of items purchased.ĭiscount rate, as a percentage, associated with each additional quantity of the item.
For discount_amount2 to take effect, you must also specify a discount_amountthat is greater than or equal to 0.ĭiscount rate, as a percentage, associated with an item. Valid only for Buy Now and Add to Cart buttons.ĭiscount amount associated with each additional quantity of the item, which must be equal to or less than the selling price of the item. If you specify discount_amount and discount_amount2 is not defined, this flat amount is applied regardless of the quantity of items purchased.
Substitute with an appropriate two-letter country code from codes defined by the ISO 3166-1 standard.įor example, a Buy Now button on your website that you coded yourself might have the following line of code: bn="DesignerFotos_BuyNow_WPS_US" Note: HTML button code that you create on the PayPal website includes bn variables with valid PayPal-generated values. Substitute with WPS always for PayPal Payments Standard payment buttons and for the PayPal Payments Standard Cart Upload command. For new integrations, see Customize the PayPal Checkout Button.
BuyNow Important: The BuyNow is deprecated.Specify a value using the following format: Company_Service_Product_Country Note: A merchant's PayPal account can have a maximum of 1,000 saved payment buttons.Īn identifier of the source that built the code for the button that the buyer clicked, sometimes known as the build notation. PayPal assigns the value when payment buttons are first created and saved in merchants' PayPal accounts. The ID of the button that was saved in a merchant's PayPal account. Required for buttons that have been saved in PayPal accounts. The URL to which PayPal posts information about the payment, in the form of Instant Payment Notification messages. HTML variables for special PayPal features Name PayPal determines which kind of button was clicked by decoding the encrypted code or by looking up the saved button in the merchant's account. The button that the person clicked was protected from tampering by using encryption, or the button was saved in the merchant's PayPal account. The button that the person clicked was a Donate button. The button that the person clicked was an Automatic Billing button. The button that the person clicked was a Subscribe button. The Cart Upload command for third-party carts View Cart buttons for the PayPal Shopping Cart Add to Cart buttons for the PayPal Shopping Cart The following variables specify the kind of shopping cart button that the person clicked: The button that the person clicked was a Buy Now button.įor shopping cart purchases. Valid values for the cmd variable cmd value Contact PayPal for information on enabling PayPal Credit. The US, UK, Canada, and Australia can use PayPal Subscriptions for recurring payments.To integrate subscriptions or potential PayPal Credit availability: Existing installment buttons can continue to create profiles until August 31, 2020. Note: Use the HTML IMG tag to display the button on your web page.Īvailability: Installment plans and buttons are a deprecated feature. They also control how your buttons interact with special PayPal features. Technical HTML variables control how PayPal responds technically when people click PayPal payment buttons or when third-party shopping carts or solution providers initiate payment processing with the Cart Upload command. Note: For deprecated variables, see deprecated variables. PayPal Payments Standard payment buttons and the Cart Upload command support the following HTML variables. PayPal Payments Standard / HTML Reference / Variable Reference HTML Variables for PayPal Payments Standard