PHPTRAVELS
Main SiteDemoPricing
  • 👋Welcome
    • Unsubscribe Email Newsletter
  • Startup
    • ↘️Download Product
    • ⚙️Installation
    • ⚒️Setup
      • 🛠️Settings
        • Email Settings
          • SMTP Settings
          • SMTP2Go API
        • Currencies
      • 💰Markups
      • 🔗Powered by Linkback
    • 🛡️SSL Force
  • 📪Modules
    • 🛏️Hotels
      • Stuba
      • Hotelbeds
      • Agoda
    • ✈️Flights
      • Amadeus Self Service
      • Amadeus Entreprise
      • Duffel
      • Kiwi
      • Pkfare
    • 💼Tours
      • Viator
  • 💳Payment Gateways
    • PayPal
    • Stripe
  • SUPPORT
    • 🎨For Designers
    • 🖥️For Developers
      • 🔗API Version 9
    • 📖Submit Ticket
    • 🔑License
Powered by GitBook
On this page
  • 🧩 How to Enable the Stuba Module
  • 🧪 Testing the Integration
  • 🛠️ Support for Stuba Bookings
  • 🔐 Important Notes
  • ☄️ Production
  • 📞 Need Help?

Was this helpful?

  1. Modules
  2. Hotels

Stuba

Stuba API Integration Tutorial | Connect Hotel API to PHP Website

PreviousHotelsNextHotelbeds

Last updated 10 days ago

Was this helpful?

Stuba is a global B2B accommodation supplier that connects travel platforms to a wide network of hotels. With over 116,000 properties in 190+ countries, it offers real-time pricing, availability, hotel content, and booking services via API.

PHPTRAVELS supports native integration with Stuba, allowing you to fetch and sell live hotel inventory from their system directly through your website.

🧩 How to Enable the Stuba Module

Follow these steps to enable Stuba as a hotel supplier in your PHPTRAVELS portal:

1. Signup with stuba & Login to Admin Panel

  • Visit: yourdomain.com/admin

  • Use your admin credentials to log in.


2. Navigate to modules

  • Go to: Modules ➝ Stuba➝ Settings

  • Paste your credentials as below mention

  • C1 ➝ ORG

  • C2 ➝ User

  • C3 ➝ Password


3. Activate the Stuba Supplier

  • Find Stuba in the list

  • Click on the “Settings” or “Status” button

  • Toggle the switch to Enable


📌 Note: Make sure you’re using either test credentials (development) or live credentials based on your environment.


5. Set Default Markup

  • You can configure pricing markup specific to Stuba in the same markups area.

  • Choose:

    • b2b or b2c value (e.g., +15%)

    • From modules select stuba


6. Sync Hotel Data (Optional)

  • Once Stuba is enabled, the system will automatically pull live hotel data when users search.

  • You don’t need to manually import hotels.

  • Filters like city, country, check-in/out, room occupancy will be handled automatically.


🧪 Testing the Integration

  • Go to the frontend of your website

  • Search for a hotel in any supported city (e.g., London, Dubai, Paris)

  • Stuba results will appear alongside other enabled suppliers (if applicable)


🛠️ Support for Stuba Bookings

  • All bookings made via Stuba will appear under: Admin Panel ➝ Bookings

  • You’ll see supplier name, booking reference, customer info, and payment status.

  • Use the “View” button to access detailed booking info or manually confirm bookings if needed.


🔐 Important Notes

  • You must have a valid account with Stuba to activate this module.

  • Only one version of Stuba (sandbox or live) should be active at a time.

  • The API integration supports real-time price updates and booking confirmations.


☄️ Production

  • To apply for production access, please note that any technical assistance required for certification or setup will be subject to a paid support fee.

  • In case to proceed yourself with certification please contact on below given emails mention @PHPTRAVELS in the email for better support from stuba Contact : techsupport@stuba.com sanket.lalka@stuba.com satnam.sodhi@stuba.com chandraprakash.singh@stuba.com

📞 Need Help?

If you need assistance setting up Stuba or getting your API credentials, contact our support team:

🌐 phptravels.com/contact-us 📧 Email: info@phptravels.com

Visit and signup and once you get API creds

📪
🛏️
https://stuba.com