> ## Documentation Index
> Fetch the complete documentation index at: https://doc-test-my.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.

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

<AccordionGroup>
  <Accordion title="Edit Payment Button">
    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.

    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.

    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)
