Skip to main content

PayForm Blog

Create a subscription button using PayForm

Posted on
create a subscription button

If you ever wanted to accept subscriptions on your website, chances are you’ve come across several solutions like Stripe. The problem is, you need tech knowledge to incorporate a subscription system. In this article, we’re going to explore the best way to create a subscription button for your website. We’ll use PayForm to avoid having to code. Are you ready?

Step 1: Sign up for a PayForm account

The first step is the easiest. Sign up for a PayForm account to create your first payment form. When we create our subscription button, we will redirect our users to this form.

You can create unlimited payment forms with PayForm. Also, your forms will be fully connected to Stripe and PayPal to process payments. You can start a 7 days trial for free using the following link.

Once you have created your account, you will be invited to create your first form. If you want to accept subscriptions in this form, you will need to configure the plan to include a recurrence. Set a recurrence period, for example, every month. Complete the rest of the form and hit Create.

Step 2: Connect a payment gateway

You will be prompted to connect a payment gateway to PayForm. Currently, you can choose between Stripe and PayPal. If you are from one of Stripe’s supported countries, a great idea is to enable it first. With Stripe, you can accept credit and debit card payments effortlessly. Your users won’t need to create an account to pay with Stripe. You need to connect at least one account to continue.

You will finally be asked to complete your billing profile in order to start your free trial. In order to accept live payments, you must complete this final step in order to get the form URL that we are going to use to create our subscription button.

Step 3: Creating the subscription button

The first step to create a subscription button is to copy the URL of the form. Select the copy button next to the form you just created to copy the URL to your clipboard. Paste it somewhere else as we’re going to need it in the following step.

Now, go to your website HTML editor. While the way you can access this editor depends on where your website is made, you will be normally faced with one of these three options:

  • If you use a CMS like WordPress, you can easily add custom HTML changing the view to code on any page or post editor.
  • In case you created your site a do-it-yourself editor like Wix or Squarespace, you can usually add a custom code block.
  • Don’t know where your website was designed? It would be a good idea to contact your developer to know where you can add custom HTML.

Once you are ready and have the editor open, copy and paste the following code, making sure you replace [Your PayForm URL] with the form URL you created in step 2.

<a href="[Your PayForm URL]"><img src="https://i.imgur.com/StjLg1t.jpg" alt="Subscribe now" /></a>

Your subscription button is ready! Now you can accept real subscriptions on your website that will be billed automatically. You can create multiple buttons for all your websites.

You can also use a custom image for your subscription button. For this just change the src section of the image in the subscription button code.

This is just the beginning!. You can further customize your forms adding design and colors. You can explore giving free trials or sharing discount coupons your users can use when subscribing to your service.

Join entrepreneurs in over 30 countries

People all over the world trust PayForm for selling services and digital content online.

Start a free 7-day trial