# Customize advanced features (/archive/paypal-payments-standard/integration-guide/step-3)



> **Warning:** This product is [deprecated](/archive/product-lifecycle) and should not be used for new integrations. Use [Payment Links and Buttons](/payment-links-buttons/overview) instead. For information about migrating, visit the [Upgrade Hub](https://developer.paypal.com/upgrade/wps/guide/).

Learn how to customize the checkout page for a basic payment button.

|    |          |                                                              |
| -- | -------- | ------------------------------------------------------------ |
| 1. | Optional | [Customize the checkout page.](#customize-the-checkout-page) |
| 2. | Optional | [Use advanced variables.](#use-advanced-variables)           |

## Customize the checkout page [#customize-the-checkout-page]

Allow customers to change order quantities and enter special instructions at     checkout. You can also collect shipping addresses and redirect customers to an     order cancellation or successful transaction webpage.

1. On the Create a PayPal payment button page, click             &#x2A;*Step 3: Customize advanced features (optional)**.
2. Under             &#x2A;*Do you want to let your customers change order quantities?**, click one of these options:

   > **Note:** **Note:** This option is not applicable to Shopping Cart                 and Automatic Billing buttons.

   * **Yes**                      —                                           Prompts the buyer for item quantities after they click the payment                     button. Buyers may specify a quantity greater than you can fulfill. To                     prevent over-selling your current inventory, set up                     [inventory tracking](/archive/paypal-payments-standard/integration-guide/step-2).
   * **No**                      —                                           Does not allow customers to change quantity. (Default)
3. Under             &#x2A;*Can your customer add special instructions in a message to you?**, click one of these options:

   > **Note:** **Note:** This option is not applicable to Automatic                 Billing buttons.

   * **Yes**                      —                                           Provides a text box where customers can enter special instructions                     during checkout. In the **Name of message box** text box,                     enter the text that you want displayed for the text box where                     customers enter their special instructions. The default value is                     **Add special instructions to seller**. (Default)
   * **No**                      —                                           Removes the text box for special instructions from the checkout page.
4. Under &#x2A;*Do you need your customer's shipping addresses?**,             click one of these options:

   * **Yes**                      —                                           Prompts the customer to select or enter shipping addresses during                     checkout. (Default)
   * **No**                      —                                           Does not prompt the customer for shipping addresses. Click this option                     for items that do not require shipping, such as digital goods that                     buyers download, or if the item is a service that does not require                     on-site delivery.
5. Under             **Take customers to this URL when they cancel their checkout**, enter the URL to redirect a customer to a cancellation page on your             website if they cancel their checkout before completing the transaction.
6. Under             **Take customers to this URL when they finish checkout**,             enter the URL to the success on your website when the customer             successfully completes their transaction.

   > **Note:** **Note:** If you use this feature, consider implementing                 [Payment Data Transfer](/api/nvp-soap/payment-data-transfer)                 so that you can display information about the completed transactions.

## Use advanced variables [#use-advanced-variables]

Create and customize a button using     [PayPal HTML payment button variables](/archive/paypal-payments-standard/integration-guide/Appx-websitestandard-htmlvariables#individual-items-variables). Requires HTML programming experience.

Create and customize a button using

1. Click **Add advanced variables** to enable this feature.
2. Enter the HTML variables in the following name/value-pair format:

   ```text lineNumbers
   VariableName=AllowableValue
   ```

   For example, if you want to handle purchases as orders rather than as             final sales, use the HTML variable `paymentaction` with the             value `order`. If you choose to include this variable within             HTML code that you write manually, you use the following standard HTML             format:

   `<input type="hidden" name="paymentaction" value="order">`
   However, in the text box, instead of the HTML format, use the following             shortened name/value-pair format:

   ```text lineNumbers
   paymentaction=order
   ```

   Do not enclose values in quotes, even if values contain spaces. PayPal             surrounds the value from the equal sign (`=`) to the end of the             line with quotes in the generated HTML code.

   For more information, see             [HTML Form Basics for PayPal Payments Standard](/archive/paypal-payments-standard/integration-guide/formbasics).

## Next [#next]

Click **Create Button** on the Create a PayPal payment button     page, and then     [copy and paste your button code](/archive/paypal-payments-standard/integration-guide/copy-paste-code)     on your web page.

## Additional information [#additional-information]

* PayPal Payments Standard         [HTML reference](/archive/paypal-payments-standard/integration-guide/html-reference-landing)
* [HTML code samples](/archive/paypal-payments-standard/integration-guide/sample-code-landing)         for PayPal payment buttons.
