Select Page

Payment Model Modifications to Houzez Theme for Real Estate Directory


Our client for this project was a real estate listing site. They wanted their site to accept listings from different real estate agencies and allow user enquiries about their listings. The enquiries would be received in exchange for credits. Our client wanted to sell the credits on their website. They already had the WordPress theme “Houzez” installed which was the best fit for their job. It helped them implement basic functions, but they wanted some further tweaks over existing implementation to suit their needs.

Our task mainly was to:

  • Integrate the custom payment model with the enquiry form
  • Charge credit on enquiry by the user
  • Notify the agent when an enquiry is submitted for their listings through email and SMS
  • Allow some configurable number of free enquiries per agency for promotional purposes
  • Implement a feature for checking balance and generating invoices
  • Implement a referral URL feature for letting other agents sign up and get benefits

Our Solution

The project was an interesting tweak over the existing features.

Here’s how we solved the problem:


Our client wanted a feature so that users can submit enquiries about a listing. It allows agencies to receive valuable potential customers. We used hooks to tap into the form inputs and integrate our credit policy into the form. We updated the credit everytime an enquiry is run and execute further actions if needed.

Credit System for Enquiry

We have implemented a credit system centering around the enquiry feature. Agents can purchase credit. Credits represent the number of enquiry agents can receive. If credit limit exceeds, listings from the agent are made so that they are no longer available for public. We have implemented custom payment info page and integrated Stripe payment with it.

Notification on Enquiry

Our client wanted to launch their site first on Philippines. The country enjoys the use of SMS as a popular communication medium. Email also acts as a detailed notification to see the full length enquiry and respond properly. So we implemented both email and SMS notification into the project. SMS notification is implemented with Twillio API.

Free Enquiries

Our client wanted this feature from the start. We implemented a feature so that a particular amount of free credits are assigned to agencies upon registration so that agencies can start receiving enquiries right away, before paying for their first plan. We also made the amount configurable from the settings.


We implemented a referral system powered by into the project so that agents can send other agents referral links and benefit from the signup. We have used Javascript code and iframe to show campaign popup. We also used webhook to assign free credits to the referrer agent.


Putting it all together

When we finished, we delivered a customized real estate enquiry feature that handles payments and credits automatically. With this completed, our client got a new payment model to encourage growth for their project.

Are You Interested?

We can get you hooked to a similar project!

Get an estimate



Click one of our contacts below to chat on WhatsApp

× How can I help you?