Mobile App Zero Booking

Homepage Forums WP Travel Mobile APP Mobile App Zero Booking

This topic contains 4 replies, has 2 voices, and was last updated by  skillberto 1 month, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16212

    skillberto
    Participant

    Dear Addressee,

    I can login through the application, but I see Zero “Booking”, or “Query” or whatever, however they are there in the Website.

    How does it possible?
    Do you have any idea?

    Regards,
    Norbert

    #16222

    Support Team
    Keymaster

    Hello @skillberto,

    First of all, we would like to apologize for the trouble.

    As for your query, please make sure you have followed the steps properly mentioned in the docs below:
    https://wptravel.io/documentations/wp-travel-android-mobile-app/

    Also, make sure add the correct keys.

    If this does not resolve the issue then kindly let us know.

    Thank you.

    #16253

    skillberto
    Participant

    Dear Support,

    I made by the documentation.
    However I don’t understand what do you mean under “correct keys”.

    For example I don’t understand, how the app can connect?
    I didn’t add to anywhere the JWT Secure key.

    Regards,
    Norbert

    #16274

    Support Team
    Keymaster

    Hello @skillberto,

    Correct keys means you need to add the correct secret key in the config file which is mentioned in the documentation.

    After you activate the plugin “JWT Authentication for WP REST API” in your WordPress setup, you need to add the secret key in the config file as:

    define(‘JWT_AUTH_SECRET_KEY’, ‘your-top-secret-key’);

    You can get the secret key from the link given:
    https://api.wordpress.org/secret-key/1.1/salt/

    The final step is to download the zip file “wp-travel-rest-api” from the link given below and activate in your site.

    https://wptravel.io/downloads/wp-travel-rest-api/

    This is how the app is connected to the setup. Now the booking and the Enquiries form the setup will be displayed in the app.

    Hope this clears the confusion.

    If you have any issues further then please let us know.

    Thank you.

    #16353

    skillberto
    Participant

    Dear Support,

    A addedd a secret key to there, but there is nothing special in that. 🙂 I’m developer, SW Architect..
    But then how the application knows this secret? I just made a random secret what I inserted there.. So I don’t understand the authentication from technical view. Mostly if I have a key, that should be used somewhere.. but this is an other topic.
    The problem is not the secret key I guess.. otherwise how can I log in?

    Is it matters when I activate the plugin? After the key, or before?..
    Am I need Pro account for this feature?

    Norbert

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.