> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage Payment Buttons

> Edit, duplicate and update stock for a Payment Button.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
</div>

You can perform the following edit functions on a Payment Button:

<AccordionGroup>
  <Accordion title="Edit Payment Button">
    Watch this video to see how to modify a Payment Button.

    <iframe width="560" height="315" src="https://www.youtube.com/embed/Hpra8-ZVcg4" title="Edit Payment Button" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

    To modify a Payment Button:

    1. Log in to the Dashboard and navigate to **Payment Button**.<br />
    2. Click the Payment Button link that you want to modify.
    3. Click the edit icon in the top-right corner of the page.
    4. The button appears in edit mode. You can now edit any of the fields to update the details, including the amount fields.
  </Accordion>
</AccordionGroup>

<AccordionGroup>
  <Accordion title="Configure Payment Receipt and Post Payment Message">
    You can configure payment receipts to be sent to the customers after they complete the payment. Also, you can display a customised payment at Checkout upon payment completion.

    To configure payment receipt:

    1. Log in to the Dashboard and navigate to **Payment Button**.
    2. Click the Payment Button link that you want to modify.
    3. Click the settings icon in the top-right corner of the page.
    4. Click **Post Payment Actions**. The **Button Settings** tab appears.
    5. Enable **Show a custom message** and add the custom message you want to display on the payment receipt.
    6. Enable **Redirect URL** and add the redirect URL.
    7. Click **Save**.
  </Accordion>
</AccordionGroup>

<AccordionGroup>
  <Accordion title="Duplicate Button">
    You can create a duplicate of the Payment Button and modify it as per requirements. This saves you the time of creating a similar button from scratch.

    Watch this video to see how to create a duplicate of a Payment Button.

    <iframe width="560" height="315" src="https://www.youtube.com/embed/jMu5by9r02Q" title="Duplicate Payment Button" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

    To duplicate a Payment Button:

    1. Log in to the Dashboard and navigate to **Payment Button**.
    2. Click the Payment Button link that you want to duplicate.
    3. Click the duplicate icon in the top-right corner of the page.
    4. Make changes, if required, in the duplicate copy of the Payment Button.
    5. Click **Create Button**.
  </Accordion>
</AccordionGroup>

<AccordionGroup>
  <Accordion title="Update Stock">
    You can update the stock quantity of an amount field. For example `Hand-painted Coffee Mugs - Set of 4`, in the edit mode of the Payment Button.

    Watch this video to see how to Update Stock for a Payment Button.

    <iframe width="560" height="315" src="https://www.youtube.com/embed/c5_Xouz4vJc" title="Update stock" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

    To update stock:

    1. Navigate to **Payment Button** on the Dashboard.
    2. Click the Payment Button link that you want to modify.
    3. In the top-right corner, the different amount fields are displayed. Click **Update Stock** against the relevant amount field.
    4. You can either make the stock quantity unlimited using **No Limit**, or enter a value in the text box given below.
    5. Click **Save**.
  </Accordion>
</AccordionGroup>

### Related Information

* [Payment Button](/docs/payments/payment-button)
* [How Payment Button Works](/docs/payments/payment-button/how-it-works)
* [Payment Button States](/docs/payments/payment-button/states)
* [Quick Pay Button](/docs/payments/payment-button/quick-pay)
* [Buy Now Button](/docs/payments/payment-button/buy-now)
* [Donations Button](/docs/payments/payment-button/donations)
* [Custom Payment Button](/docs/payments/payment-button/custom)
* [Prefill Amount Fields](/docs/payments/payment-button/manage/prefill-amount-fields)
* [Search for a Payment Button](/docs/payments/payment-button/search)
* [View Reports](/docs/payments/payment-button/view-reports)
* [Subscribe to Webhooks](/docs/payments/payment-button/subscribe-to-webhooks)
