Tip #7 : Integrating online forms with Zoho Subscriptions

Tip #7 : Integrating online forms with Zoho Subscriptions

Hello everyone,

We have been sharing a tip every week to address specific business scenarios which can be implemented for your subscription business. Last week, we shared a tip about accessing external URLs from Zoho Subscriptions. This week, we will be looking at how you can integrate online forms with Zoho Subscriptions.

Business Scenario:

In many subscription box businesses, their primary need is to personalize the subscription box according to their customer's preferences. In such cases, businesses will collect their customers' preferences before they check out.

Usually, businesses use online form building applications to collect customers' preferences. These applications offer customization options which helps businesses to design the form so that it's easier for customers to select their preferences. The forms usually contain a series of questions with multiple choices.

Typically, when customers want to subscribe to a box, they select the box, choose their preferences and the business will redirect them to the payment page. Here, they pay and a subscription will be initiated for them.

In Zoho Subscriptions, we provide the Hosted Payment Page to collect the customer's payment information securely which can be used as the checkout page. However, in this scenario we're looking at today, the business would ideally want to integrate the form building application with Zoho Subscriptions to save customers' preferences along with the subscription details.

Let's consider the following scenario to understand this better. Zylker Beauty runs a subscription box business that ships personalized makeup and beauty products every month. They use a third-party online form builder to collect the customers' preferences like the color of their eyes, hair etc. This helps the business to find the right products for their customers.

After the customers select their preferences, Zylker Beauty uses Zoho Subscriptions' Hosted Page to check them out and start their subscription. However, they need their customers' preferences to be saved along with the corresponding subscription details in Zoho Subscriptions.

To implement this process, we use the API Hosted Page which saves customers' preferences and generates a customized payment URL. The customized payment URL will reflect the customer's preferences. This way, the business can use the form builder application to customize the form and integrate it with Zoho Subscriptions at the same time.

How can you do it?

For our explanation today, we will be using JotForm as the form builder. You can view the form that we've built to address the above scenario. JotForm lets you send the submitted date (customer's preferences) via a HTTP POST method. All you have to do is:
  1. process the submitted data;
  2. send it to Zoho Subscriptions server; and
  3. redirect the customer to the customized Hosted Payment Page.
In Zoho Subscriptions, we will create Custom Fields for the Subscriptions module to save the customer's preferences and map those preferences to the custom fields. You have to write a script to send an API call to Zoho Subscriptions server with all the data obtained from the form and retrieve the customized hosted payment page URL. Later, you can load this URL for your customers to check out.

There are two ways in which you can do this;

1. Create a custom PHP page:

You can create  your PHP script and deploy it in your server to process the submitted date. Access the code in GitHub.
  • Create a PHP web page using your text editor.
  • For the above example, you can copy-paste the code available in GitHub.
  • Modify the code based on your requirement.
  • Save the file with extension .php.
  • Deploy it in your website and configure the correct URL in the JotForm's Thank You page.
2. Use Google Cloud Function:

If you cannot host a PHP script in your website, don't worry. Google Cloud Functions can act as your script that processes the submitted data.

You can invoke the cloud functions with HTTP requests and configure them to meet our need. Learn more about cloud functions and get started. Once you complete the initial setup and enable the Cloud Functions API, follow the steps below:

  • Visit Google Cloud Functions and click the Create Function button at the top.
  • Provide a suitable name for the function and select the Trigger as HTTP.
  • The source code would be written in the Inline Editor with Node.js 6 runtime environment. So, configure them accordingly.
  • Next, copy the code from GitHub and modify it to suit your needs.
  • Create the function and configure the HTTP trigger URL in the JotForm's Thank You page.
Once the Thank You page of JotForm is successfully configured to redirect to one of the above URLs, the script will be executed successfully and your customers will be redirected to the hosted payment page to check out.

For further clarification, you can checkout this  video to understand this integration. 

Found this useful? Try it our for your subscriptions business and let us know. If you have any queries, feel free to comment below. We are here to answer them.

Cheers,
Sasidaran K,
Zoho Subscriptions.


      • Sticky Posts

      • Tip #4 : Refer and Earn Workflow system for your Subscription Business

        Hello everyone, We've been coming up with a tip every week to address specific business scenarios which can be implemented for your business. In continuation to the previous post, this week we will be seeing about how you can implement the Refer and Earn Workflow system to acquire more customers. Why are Referrals important? Customer Acquisition is crucial for any business to sustain itself in a constantly evolving market. It involves persuading new consumers to purchase your products. Customers
      • Tip #2 - Cancellation of Offline Subscriptions based on the Expected Payment Date

        Hello everyone, As you all know, we are coming up with a custom function workflow every week to address specific business scenarios. In continuation of this previous blog, this week we will be seeing about Cancellation of Offline Subscriptions based on the Expected Payment Date. Business Scenario: In general, for any business, the customers make payments via online as well as offline. In case of subscription where the automatic collection of charge is enabled (aka online subscription), the customer's
      • Tip #3 : Send SMS Reminders for your Subscription Business

        Hello everyone, As you all know, we are coming up with a tip every week to address specific business scenarios. In continuation to the previous blog, this week we will be seeing how you can use SMS reminders for your Subscription Business. Using SMS messages for your Subscription Business: While managing your subscription business, more often than not, you need to keep your customers informed about upcoming renewals, payment reminders and cancellations. By keeping them informed in advance, you can
      • Tips And Tricks - Announcement

        Hello everyone, Every business is unique and each of them follows a specific workflow. While managing your customers' subscriptions with Zoho, you might have some needs unique to your business. Custom Functions helps you address such needs. This is a start to a series of posts, where we will be coming up with a custom function workflow every week that addresses specific business scenarios. Watch this space for further updates! Also, if you have any specific business scenario which needs to be addressed,
      • Tip #6 : Accessing external URLs from Zoho Subscriptions

        Hello everyone, We have been sharing a tip every week to address specific business scenarios which you can implement for your subscription business. Last week, we shared a tip about implementing the Approval Workflow system. This week, let's look at how you can access external URLs with the help of Custom Link. Business Scenario: Every business functions differently and has its unique requirements. At times, businesses might want to access other websites or applications by appending specific information

        • Recent Topics

        • Canvas List View Not Saving

          Hi, I am trying to edit a list view to look different depending on the tags. Everything worked well and saved well with multiple views, but when I have gone back in to make some small changes like moving one of the icons it comes up with the error message
        • QR code image is not exported in PDFs

          The new QR code field works fine when I include it in a report template and I choose the print option: https://creatorapp.zoho.com/<username>/<app_link_name>/record-print/<report_link_name>/<record_ID>/ But when I try to save the document to a .pdf file
        • QR codes in templates

          I'm excited about the new QR code generator. I have included a QR code that contains the record ID setting "${ID}" as input data. In the report detail it works perfectly but when printing it in a template the code is not shown.
        • This mobile number has been marked spam. Please contact support.

          Hi Support, Can you tell me why number was marked as spam. I have having difficult to add my number as you keep requesting i must use it. My number is +63....163 Or is Zoho company excluding Philippines from their services?
        • Zoho CRM search not working

          The search bar is not showing any results in our CRM installation. We have a lot of items and can not search them by using the navigation each time. Can someone please check this asap.
        • Reload page with widget

          Hi all, I hope I can find some help here. I developed a small widget for Creator that is integrated into a page as a component. The page contains other content as well. When the widget is sent, the entire page should be reloaded to apply the changes to
        • Tip of the week #37 - Manage all your Telegram business conversations directly from your shared inboxes.

          Tired of switching between multiple apps to manage your business conversations? With Zoho TeamInbox's multichannel inboxes, connect your Telegram channel to a shared inbox. This way, your teams can easily handle c View, reply, and collaborate on them
        • Tags on notes aren't syncing correctly on Android

          I've created notes on the desktop version that have several tags assigned, but on both my Android devices those notes only have ONE of those tags instead of all of them, despite the actual content of the note being correctly synced, and I'm also starting
        • Reports - custom layout - duplicate report

          Do you also have this problem and what is the possible solution? I duplicate a report that has a "custom layout". Unfortunately the custom layout is not duplicated. To be improved for a future release by Zoho. I export the custom layout and import it...
        • How to map a global picklist from one module to another

          Hi there, i currently have a new field that is called sales office which we use for permission settings between our different offices located in different countries. It is a global set picklist with three different options: MY, SG and VN. I want to be
        • Pageless mode needed to modernise Writer

          When we switched from GSuite to Zoho, one of the easiest apps I found to give up, was Docs. In many ways, Writer has always been more powerful than Docs, especially in terms of workflows/fillable forms/etc. However, I went back into Docs because I notice
        • Changing the Logo Size on Zoho Sites

          My company logo incorporates both an image and text, and I would like it to be much more prominent on the page than is currently allowed by the small logo box in the template.  Is there any way to hide the page name and then make the logo box much bigger since my company name and logo are connected / are all in one file?  Thank you. 
        • Is it possible to Select Item Serial Numbers from a Sales Order?

          Our accepted estimates are converted to Sales orders for our warehouse staff to pick.  How can my warehouse staff select the serial numbers for an item when editing a Sales Order?  Logically when staff pull an item and have the serial in front of them they update the Sales Order and select the serial. I understand a serial can be added when creating an invoice but how can accounts team know the serial if the warehouse staff can't select it! A basic flaw!
        • MORE BUGS: Client Script, Deluge and Widget JS SDK don't work as expected when trying to retrieve a record that has been "rejected" as part of an approval process.

          Client Script $Page.record is null when accessing a record that has been "rejected" as part of an approval process. Deluge zoho.crm.getRecordById(moduleName, recordId) returns {"status":"failure"} when recordId is a valid, but rejected record. OK... I
        • Zoho CRM Widget not displaying 2 related lists (JS)

          Okay so I basically have 2 relatedLists that I want to get and render: ZOHO.CRM.API.getRelatedRecords({ Entity: data.Entity, RecordID: data.EntityId, RelatedList: "Notes", page: 1, per_page: 200, }) ZOHO.CRM.API.getRelatedRecords({ Entity: data.Entity,
        • Zoho Books and Zoho Projects Task Status Update

          How can we create an automation using custom functions for the following scenario. When our zoho books invoice status changes to paid. I want a task in Zoho projects to change to completed.
        • Assigning Tasks and Requests to Groups... how do I?

          Guys, I've spent many hours exploring Zoho Support and we are generally satisfied with the system.  I'm trying to understand how a system that has so much to offer can be missing GROUP assignment and queue functionality.  I am hoping that there is a way
        • Parsing of SQL query failed. Please check the SQL syntax.

          I am trying to have Zoho Analytics recognize that if the a Deal is in Stage "Need Docs" it should also be counted as a Deal in the Stage "New Lead" /*New Lead*/ SELECT "ID" 'New Lead' AS "Stage" From "Deals" Where "Stage" = 'Need Docs' Union All Error
        • Where is the setting to enable/disable 2FA?

          The following links show where enable/disable 2FA is supposed to appear, but neither appear for me: https://help.zoho.com/portal/en/kb/zohosites/faq/account/articles/how-do-i-enable-or-disable-two-factor-authentication-for-my-account shows Security >
        • How to Assign Record Ownership in a Custom Form via API?

          Hello everyone, I’ve created a custom form in Zoho People and I’m using the API to manage its records. I would like to know how I can assign ownership of these records to specific users via the API. Is there a specific parameter or field in the API request
        • Customer Statement Template not matching when sending

          Hi everyone! So when I send statements to our customers via Zoho Books, the message that appears by default does not match what I have written on the template Under settings -> email notifications -> sales -> customer statement We have a single default
        • Peppol Malaysia API

          Hi Zoho Books, my country Malaysia will going to implement "Peppol" (E-Invoicing), starting 1 Jul 2025 for all businesses. The government intends to provide API for accounting app. The workflow involves creating an invoice from accounting app, triggers
        • Re-emitir facturas con nueva dirección de facturación

          Hola, necesito saber si es posible que las facturas ya emitidas, pueden ser re-emitidas con el cambio de dirección de facturación, realizado el día de hoy 02-01-2025, para efectos contables. Espero su ayuda, Gracias
        • Zoho Learn vs. Trainer Central

          Hi, I'm currently using Zoho One with a WordPress-based website and WooCommerce to manage my online courses. I would like to know what is the difference between Zoho Learn and Trainer Central and if it's possible for these two platforms to replace WP
        • Map Plan to Different Income Account for Some Subscriptions via API

          We have a plan that has a default Plan Account of "Sales". Can we override the account for a specific subscription via API? In some instances the same exact plan should map to a different income account. When we create stand-alone invoices in Zoho Books,
        • Flow with CRM

          Hello, I have a simple flow that uses a web hook to enter data into a Sales Order. I have the web hook sending Flow data which has a PO field. If the PO has a special character like - or / or \ the task fails. How can I get the flow to be okay with the
        • Chrome browser issues. Anyone else?

          I am suddenly having multiple issues with Chrome browser interpreting the Zoho Mail interface.  Anyone else?  Any known problems? Thanks, Todd
        • Zoho Payroll US?

          Good morning, just reaching out today to see if there's any timeline, or if there's progress being made to bring Zoho Payroll out to be available to all states within the USA. Currently we're going through testing with zoho, and are having issues when
        • Set up multiple IMAP email addresses

          Hi, I just started using CRM and its great, but I just found out I can only add one imap email address for incoming mail in the included salesinbox ...this is ridiculous. All companies have different email such as sales@domain, info@domain , personal@domain
        • Function 58: Custom calculation in item table of invoices (2 fields)

          Hello everyone, and welcome back to our series! In Zoho Books, the Item Amount in invoices is calculated by multiplying the Quantity and Rate fields. Previously, we shared a function to include a custom field in this calculation. Today, we are taking
        • Tracking new lead response time

          Hi, I have a team of Sales Development Reps, who have a KPI of responding to a lead within 20 mins or less once it hits the system.  I seem to recall that Zoho CRM had the capability to track this in a previous version, but don't see it anywhere.   It's
        • Search function not working anymore

          Hi! The search function is not working anymore. How can we solve this problem?
        • When converting a lead to an account, the custom mandatory fields in the account are not treated by zoho as mandatory

          In my Account module I have a number of custom fields that I have set as mandatory. When I enter a new customer as a new account they work, I can't save the record without populating them. However when I convert a lead, my CRM users are able to save the
        • Expand Zia's Language Support and AI Capabilities

          Dear Zoho Desk Support, I would like to submit a feature request to improve Zia, the AI-driven support assistant in Zoho Desk. Currently, Zia only supports the English language, while other AI agents such as Gemini, ChatGPT, and Claude can work with a
        • get gettting the days number between two dates with deluge

          I am trying to calculate the days number between 2 specific dates but its not working. PLease help me.
        • Limit excceding issue in zoho creator

          I am transferring data from Zoho Books to Zoho Creator using a Deluge script. However, I am frequently encountering a "limit exceeding error," which seems to be related to the Deluge statements limit. I reached out to Zoho Support, and they informed me
        • How do I add more schedules to Zoho Creator?

          At the moment, the number of schedule calls we have in Zoho Creator are 1800 per month and I was wondering if it was possible to upgrade that amount to something higher. I'd like to know my options as well as the pricing.
        • Conexion CREATOR x CRM

          Buenas tardes, Tengo un problema con un código que crea un registro en CRM. Revisé el CRM para eliminar los campos obligatorios, pero cuando ejecuto el programa, aparece el siguiente mensaje de error: {"code":"MANDATORY_NOT_FOUND","details":{"api_name":"data"},"message":"required
        • Invoices with billable time and expenses

          I cannot seem to get a straight answer. We are looking to create an invoice to send to our clients, but it needs to have the following on it: 1. Billable hours for each employee. All hours for the pay period on one line, by employee. 2. Expenses for each
        • Search Bar Improvement for Zoho Commerce

          Hey everyone, I've been using Zoho Commerce for a bit now, and I think the search bar could really use an upgrade. Right now, it doesn't show products in a dropdown as you type, which would make finding items a lot faster. On Shopify, for example, you
        • Next Page