---
title: How Payment Button Works
description: Create Razorpay Payment Button and accept payments from customers on your website.
---

# How Payment Button Works

Given below is a complete end-to-end flow about how you can use Razorpay Payment Button to accept payments.

## Payment Button Workflow

To use Payment Button to accept payments:

### 1. Sign Up for a Razorpay Account

To create a Payment Button, you first need to set up your [Razorpay account](https://razorpay.com/docs/build/llm-docs/payments/set-up.md). If you already have an account, log in to the Dashboard and click **Payment Button**.

### 2. Select a Template or Create from Scratch

Click **Create Payment Button** and select a template. Know more about [templates](https://razorpay.com/docs/build/llm-docs/payments/payment-button/quick-pay.md#step-1-select-a-template).

### 3. Add Button Details

Add the button details. For example, you can add title, button type and so on. Know more about [adding button details](https://razorpay.com/docs/build/llm-docs/payments/payment-button/quick-pay.md#21-button-details).

### 4. Add Customer Details 

Configure the input fields. For example, you can add email details, add a name field and so on. Know more about [adding customer details](https://razorpay.com/docs/build/llm-docs/payments/payment-button/quick-pay.md#22-customer-details).

### 5. Embed Payment Button on your Website and Start Accepting Payments

Add the hyperlink to your website. When customers click on the **Pay** button, they will be redirected to the Razorpay Payment Gateway to complete the payment. Know more about [embedding the Payment button to a website](https://razorpay.com/docs/build/llm-docs/payments/payment-button/quick-pay.md#embed-payment-button-code-in-website).

### Related Information
- [Payment Button](https://razorpay.com/docs/build/llm-docs/payments/payment-button.md)
- [Payment Button States](https://razorpay.com/docs/build/llm-docs/payments/payment-button/states.md)
- [Quick Pay Button](https://razorpay.com/docs/build/llm-docs/payments/payment-button/quick-pay.md)
- [Buy Now Button](https://razorpay.com/docs/build/llm-docs/payments/payment-button/buy-now.md)
- [Donations Button](https://razorpay.com/docs/build/llm-docs/payments/payment-button/donations.md)
- [Custom Button](https://razorpay.com/docs/build/llm-docs/payments/payment-button/custom.md)
- [Manage Payment Button](https://razorpay.com/docs/build/llm-docs/payments/payment-button/manage.md)
- [Search for a Payment Button](https://razorpay.com/docs/build/llm-docs/payments/payment-button/search.md)
