How to Create Affiliate Search Form with Travelpayouts?

Travelpayouts is a platform that connects travelers, content creators, and travel companies to make everyone’s trips more fun. It helps travel companies promote their services, lets content creators earn commissions by promoting those services, and rewards travelers with personalized travel suggestions, exclusive deals, and cashback.

If you don’t have an account, kindly create your TravelPayouts account

NOTE: From 2024, newly created accounts must purchase the White Label Web plan ($150/year) to use the TravelPayout Whitelabel function.

1. Where to get Travelpayouts ID?

  • Logged-in your Travelpayouts account and copy your ID in the top-right corner, eg 326912
  • Default Language and Default Currency is the default for Travelpayouts Search Result Page
Travelpayouts Image 2

2. How to use WhiteLable?

Travelpayouts has a tool called “White Label” that lets you change the look of the travel search engine on your website and put your own name on it. With White Label, the search results will show up on your website instead of redirecting users to the TravelPayouts site. Click here to learn more

If you have White Label for Traveler, the search results will be shown on a subdomain of your site. Set up in Theme Settings > Affiliate Configure > TravelPayouts. Use the Whitelabel service.

Travelpayouts Image 2

Step 1: Create your White Label subdomain

  • To get started, you need to create a CNAME Record for your domain in your hosting’s DNS settings. Your White Label subdomain will typically be something like search.yourdomain.com.
  • In the DNS settings, set the CNAME Record to point to whitelabel.travelpayouts.com and make sure to set up SSL. The setup process may look slightly different if you’re using Cloudflare Nameserver, but the general steps remain the same.
Travelpayouts Image 3
  • After that, input your whitelabel subdomain, for example search.yourdomain.com, into Theme Options Affiliate Configure  > TravelPayouts > Use Whitelabel > Whitelabel Name
Travelpayouts Image 16

Step 2: Set up your White Label on Travelpayouts

  • Go to Travelpayouts and log in to your accounts, click the Tools on the sidebar
Travelpayouts Image 9
  • Next, choose the White Label to create a new affiliate program
Travelpayouts Image 10
  • Scroll down to select the Hotellook and click to the Tools 
  • Then, click to White Label to create a new one. Or you can click this link 
Travelpayouts Image 13
  • Insert your sub-domain on the Domain tab and change the color background of the sub-domain on the Colors tab
Travelpayouts Image 14.1
  • Click Save and Updates when finished

Step 3: Create TravelPayout Search Result.

  • In the WPAdmin, select Page > Add New to create a new page for TravelPayout Search Result. Select TravelPayout Search Result for Template and Publish/Update your page.
Travelpayouts Image 4
  • Go to Theme Settings > Affiliate Configure > TravelPayouts – Whitelabel Page Search, and select the page name that was created at Whitelabel Page Search.
Travelpayouts Image 5

Finally, you have to choose Travelpayouts service on the search form.

For Elementor Demo, you need to edit the search form on your home page and enter “Travelpayout” in Choose Service field. 

Travelpayouts Image 6

For WPBakery Demo, you also need to edit the search form on your home page. Go to Page > All Page> Home and edit ST Search Form elements.

To add Travelpayouts service, you choose Services is Travelpayouts and Save Changes

Travelpayouts Image 8

Now the search form with Travelpayouts will look like this

Travelpayouts Image 7

3. Troubleshooting

Attention! If you send a request without a token, the number of queries will be limited. The values of restrictions are passed in the response header:

  • X-Ratelimit-Interval — limit interval in seconds
  • X-Ratelimit-Remaining — how many requests are left of this limit
  • X-Ratelimit-Limit — the value limit

https://support.travelpayouts.com/hc/en-us/articles/115000343268-Hotels-data-API

$55