Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flight Booking #287

Closed
ketan0777 opened this issue Jan 24, 2019 · 3 comments
Closed

Flight Booking #287

ketan0777 opened this issue Jan 24, 2019 · 3 comments

Comments

@ketan0777
Copy link

Hi

I'm new with this amadeus webservice.

can any body help which are the things required to book a flight ?

I can able to search flights using FareMasterPricerTbSearch.

For Book a flight what are the things required ?
do you have any documentation flow to book a flight?

@therealartz
Copy link
Contributor

Amadeus have documentation flow.

@DerMika
Copy link
Collaborator

DerMika commented Jan 26, 2019

Hi,

as @therealartz already said, Amadeus should be able to provide you with documents explaining the booking flow. Depending on what you want to implement and support, the answers could vary.

If you have a project with Amadeus, you have dedicated support staff that you are paying for, so you best make use of them!

If you have specific questions about how to implement a flow using this library, don't hesitate to open a ticket if you can't find the answer in the docs.

@DerMika DerMika closed this as completed Jan 26, 2019
@ketan077
Copy link

Thanks for Support. for booking flow I got to know while exploring your repo.
one Help

while switching to state full session getting below error

0 /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amadeus/Client/Session/Handler/SoapHeader4.php(171): Amadeus\Client\Session\Handler\SoapHeader4->getSessionDataFromHeader('<?xml version="...')
#1 /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amadeus/Client/Session/Handler/Base.php(202): Amadeus\Client\Session\Handler\SoapHeader4->handlePostMessage('PNR_AddMultiEle...', '<?xml version="...', Array, Object(Amadeus\Client\Session\Handler\SendResult))
#2 /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amadeus/Client.php(1534): Amadeus\Client\Session\Handler\Base->sendMessage('PNR_AddMultiEle...', Object(Amadeus\Client\Struct\Pnr\AddMultiElements), Array)
#3 /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amade in /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amadeus/Client/Session/Handler/SoapHeader4.php

making call right after "airSellFromRecommendation"
$client->setStateful(true);

#0 /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amadeus/Client/Session/Handler/SoapHeader4.php(171): Amadeus\Client\Session\Handler\SoapHeader4->getSessionDataFromHeader('<?xml version="...')
#1 /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amadeus/Client/Session/Handler/Base.php(202): Amadeus\Client\Session\Handler\SoapHeader4->handlePostMessage('PNR_AddMultiEle...', '<?xml version="...', Array, Object(Amadeus\Client\Session\Handler\SendResult))
#2 /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amadeus/Client.php(1534): Amadeus\Client\Session\Handler\Base->sendMessage('PNR_AddMultiEle...', Object(Amadeus\Client\Struct\Pnr\AddMultiElements), Array)
#3 /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amade in /home/ketan/php_amadues/php_pro/vendor/amabnl/amadeus-ws-client/src/Amadeus/Client/Session/Handler/SoapHeader4.php on line 201

one more thing while making this "$info = $client->getSessionData();" call ,array is empty

can you help me regarding this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants