Travelport / travelport-uapi-tutorial-php

The travelport-uapi-tutorial-php is a PHP project for Universal API that will help you connect and code a standard workflow including Air, Vehicle, and Hotel.
35 stars 47 forks source link

AirPriceReq Provider transaction failed #118

Open feyzprod opened 6 years ago

feyzprod commented 6 years ago

2 ADT , 1CHD

I will get a warning message "Provider transaction failed" and I get no OptionalServices in the response

`[ResponseMessage] => Array ( [0] => Array ( [Code] => 710401 [Type] => Warning [ProviderCode] => 1V [ResponseMessage] => Taxes returned at the FareInfo level are for informational purposes only, and may differ from those returned at the Itinerary/Passenger Type levels. )

                        [1] => Array
                            (
                                [Code] => 0
                                [Type] => Warning
                                [ResponseMessage] => Provider transaction failed.
                            )

                    `

`

                            <soapenv:Body>
                                    <air:AirPriceReq xmlns:air="http://www.travelport.com/schema/air_v42_0" AuthorizedBy="user" TargetBranch="P1755164" TraceId="trace">
                                            <com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v42_0" OriginApplication="UAPI"/><air:AirItinerary><air:AirSegment ArrivalTime="2018-04-17T09:30:00.000+02:00" AvailabilitySource="P"  Carrier="LO" ChangeOfPlane="false" DepartureTime="2018-04-17T07:15:00.000+02:00" Destination="WAW" ETicketability="Yes" Equipment="E95" FlightNumber="334" FlightTime="135" Group="0" Key="eACdAGBAAA/BCTfsJJAAAA==" OptionalServicesIndicator="false" Origin="CDG" ParticipantLevel="Secure Sell" ProviderCode="1V" ClassOfService="O"><air:AirAvailInfo ProviderCode="1V"/></air:AirSegment><air:AirSegment ArrivalTime="2018-04-24T09:55:00.000+02:00" AvailabilitySource="P"  Carrier="LO" ChangeOfPlane="false" DepartureTime="2018-04-24T07:25:00.000+02:00" Destination="CDG" ETicketability="Yes" Equipment="738" FlightNumber="331" FlightTime="150" Group="1" Key="eACdAGBAAA/BETfsJJAAAA==" OptionalServicesIndicator="false" Origin="WAW" ParticipantLevel="Secure Sell" ProviderCode="1V" ClassOfService="O"><air:AirAvailInfo ProviderCode="1V"/></air:AirSegment></air:AirItinerary><air:AirPricingModifiers InventoryRequestType="DirectAccess">
                        <air:BrandModifiers ModifierType="FareFamilyDisplay" />
                     </air:AirPricingModifiers><com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v42_0" BookingTravelerRef="0" Code="ADT"/><com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v42_0" BookingTravelerRef="1" Code="ADT"/><com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v42_0" BookingTravelerRef="2" Code="CHD"/><air:AirPricingCommand><air:AirSegmentPricingModifiers AirSegmentRef="eACdAGBAAA/BCTfsJJAAAA==" FareBasisCode="OSAVJ60"><air:PermittedBookingCodes>
                                            <air:BookingCode Code="O" />
                                          </air:PermittedBookingCodes></air:AirSegmentPricingModifiers><air:AirSegmentPricingModifiers AirSegmentRef="eACdAGBAAA/BETfsJJAAAA==" FareBasisCode="OSAVJ60"><air:PermittedBookingCodes>
                                            <air:BookingCode Code="O" />
                                          </air:PermittedBookingCodes></air:AirSegmentPricingModifiers></air:AirPricingCommand>    </air:AirPriceReq>
                       </soapenv:Body>
                    </soapenv:Envelope>`

If I do the exact same request but with only 1ADT, 1CHD instead of 2 ADT

I will not get the warning "Provider transaction failed" and I get OptionalServices in my response

vivekjyotipramanik commented 6 years ago

Hi feyzprod,

Please add the CHD passenger structure in between the 2 ADT passengers. Please let us know how it goes. Thanks.

feyzprod commented 6 years ago

Hi Vivek,

I still get the error

`

                            <soapenv:Body>
                                    <air:AirPriceReq xmlns:air="http://www.travelport.com/schema/air_v42_0" AuthorizedBy="user" TargetBranch="P1755164" TraceId="trace">
                                            <com:BillingPointOfSaleInfo xmlns:com="http://www.travelport.com/schema/common_v42_0" OriginApplication="UAPI"/><air:AirItinerary><air:AirSegment ArrivalTime="2018-04-17T09:30:00.000+02:00" AvailabilitySource="P"  Carrier="LO" ChangeOfPlane="false" DepartureTime="2018-04-17T07:15:00.000+02:00" Destination="WAW" ETicketability="Yes" Equipment="E95" FlightNumber="334" FlightTime="135" Group="0" Key="vppWAGjB0BKAL9n1PJAAAA==" OptionalServicesIndicator="false" Origin="CDG" ParticipantLevel="Secure Sell" ProviderCode="1V" ClassOfService="O"><air:AirAvailInfo ProviderCode="1V"/></air:AirSegment><air:AirSegment ArrivalTime="2018-04-24T09:55:00.000+02:00" AvailabilitySource="P"  Carrier="LO" ChangeOfPlane="false" DepartureTime="2018-04-24T07:25:00.000+02:00" Destination="CDG" ETicketability="Yes" Equipment="738" FlightNumber="331" FlightTime="150" Group="1" Key="vppWAGjB0BKAN9n1PJAAAA==" OptionalServicesIndicator="false" Origin="WAW" ParticipantLevel="Secure Sell" ProviderCode="1V" ClassOfService="O"><air:AirAvailInfo ProviderCode="1V"/></air:AirSegment></air:AirItinerary><air:AirPricingModifiers InventoryRequestType="DirectAccess">
                        <air:BrandModifiers ModifierType="FareFamilyDisplay" />
                     </air:AirPricingModifiers><com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v42_0" BookingTravelerRef="0" Code="ADT"/><com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v42_0" BookingTravelerRef="1" Code="CHD"/><com:SearchPassenger xmlns:com="http://www.travelport.com/schema/common_v42_0" BookingTravelerRef="2" Code="ADT"/><air:AirPricingCommand><air:AirSegmentPricingModifiers AirSegmentRef="vppWAGjB0BKAL9n1PJAAAA==" FareBasisCode="OSAVJ60"><air:PermittedBookingCodes>
                                            <air:BookingCode Code="O" />
                                          </air:PermittedBookingCodes></air:AirSegmentPricingModifiers><air:AirSegmentPricingModifiers AirSegmentRef="vppWAGjB0BKAN9n1PJAAAA==" FareBasisCode="OSAVJ60"><air:PermittedBookingCodes>
                                            <air:BookingCode Code="O" />
                                          </air:PermittedBookingCodes></air:AirSegmentPricingModifiers></air:AirPricingCommand>    </air:AirPriceReq>
                       </soapenv:Body>
                    </soapenv:Envelope>`
vivekjyotipramanik commented 6 years ago

Hi feyzprod,

Could you please open a Mytravelport ticket for this issue. Thanks.