Travelport / travelport-uapi-tutorial-c-sharp

The travelport-uapi-tutorial-c-sharp is a C# project for Universal API that will help you connect and code a standard Air availablity call and Hotel search, details, and booking flow.
34 stars 30 forks source link

How to charge Travelers? #16

Open travelportgdsexpert opened 8 years ago

travelportgdsexpert commented 8 years ago

Hi there,

This is my first travelport gds integration job. and I feel glad to inform you that I have successfully reached upto the CreateReservationReq and CreateReservationRsp.

there are few questions that must need answer for me. I have tried many documents but everytime hoping for advice from expert and supporter of travelport.

please do reply me as much as questions you can

1) now what next? 2) how I will charge my Travellers? 3) need to implement any payment gateway for accepting payments from Traveller using his Credit/Debit card? 4) I know the concept of FOP in request of CreateReservationReq, using FOP's Credit Card detail that has entered will going to charge Traveller? 5) or FOP is just storing necessary of Travellers payment details with travelport's database? If yes then how to charge traveller? by using payment Gateway? 6) IATA code is require to implement in code? or it's fine to have Galileo Id of my client with all necessary details?

Hope you got all my questions. looking forward for your reply to each questions

Thank you very much in advance.

Regards, AJ

vivekjyotipramanik commented 8 years ago

Hi AJ,

Apologies for the delayed response, as I was in a conference the past week, I could not answer the questions.

Please find below the answers.

1) now what next? ----

In case of Air after booking, the reservation must be ticketed to confirm the Booking using the AirTicketingReq. For Hotels and cars the CreateReservation is the last step of the flow unless you want to modify the booking later.

2) how I will charge my Travellers? ----

There are many ways to charge the Traveler, with a CreditCard or DebitCard or Cash and many other Payment methods are available in UAPI.

For Air, Using the FormOfPayment, the charge can be applied during AirCreateReservation or AirTicketing. Depending on your requirement you can choose any one of them.

For Hotel, based on the Property requirement (PrePay, Deposit or Guarantee) you can apply CreditCard as Gurantee or Deposit or PrePay.

For Car, you can apply it as FormOfPayment and use CreditCard or DebitCard etc.

3) need to implement any payment gateway for accepting payments from Traveller using his Credit/Debit card? ----

It completely depends on your project/application and requirements. You can use a PaymentGateway if you want to.

4) I know the concept of FOP in request of CreateReservationReq, using FOP's Credit Card detail that has entered will going to charge Traveller? ----

FOP is for charging Travelers.

5) or FOP is just storing necessary of Travellers payment details with travelport's database? If yes then how to charge traveller? by using payment Gateway? ----

It will charge the Traveler. even if you use PaymentGateway, you have to provide FOP in Booking and Ticketing to pay for the reservation.

6) IATA code is require to implement in code? or it's fine to have Galileo Id of my client with all necessary details? ----

Could you please explain what do you meant by Galileo ID. I will need more details before answaring this particular question.

Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

travelportgdsexpert commented 8 years ago

Hi Vivek.

Okay no problem and Thank you very very much for your kind and informational reply.

My every query is related to Air Booking UAPI. now below are few queries and information for you.

1) Lets say I am taking payment from my traveler using credit/debit card.

now In my website traveler is reached to payment form(details of payment and passengers form) once he filled all necessary details then that all details will goes to Air UAPI.

as per your saying FOP is must to implement with payment details now say for example I am creating FOP at AirTicketingReq. and in FOP there we need to create object of Credit/Debit Card so we must know in prior which type of card is this(traveller entered card detail) whether Credit/Debit right? so that we can set value in CartType accordingly.

2) and as an Admin user of my website If I want to give commission on booking then what happend? (i.e. If booking is of $100 and I decided to give 10% discount, so my traveler will charge $90, then from which point I need to provide this $10 Will I need to make another call for this to UAPI?) please describe this.

3) same way for Application Fee, as an Admin I decided to take 5% fee per booking. then my traveler need to pay $105 and booking is of $100, then what about the $5, as an Admin how I will get that $5 in my account? and from where?

4) my client(owner of my website development) must need to get registered for Galileo(1G) UAPI for Air ticket issuance right? then only we will get testing credentials for making Air UAPI calls right?.

5) now in any case if I need to refund to my traveler than UAPI's which call I need to make?

6) Ticket Booking authority is depends on what? I mean I am from India and my local business of booking is in India, then I can book only flights that flying from India is it so? describe this as per your idea.

Wainting for your reply. Thanks in advance.

Kind Regards, AJ

travelportgdsexpert commented 8 years ago

Hi Vivekjyoti Pramanik,

can you look into my last comment, becuase in that I have written my understanding regarding payment flow. so you can better explain me :)

Thanks AJ

vivekjyotipramanik commented 8 years ago

Hi AJ,

Apologies for the delayed response, for some reason we did not receive any notification regarding the comment with the questions. If we do not answer within 4 days please feel free to add a note as sometimes we do not receive notifications.

Regarding your questions,

1) Lets say I am taking payment from my traveler using credit/debit card.

now In my website traveler is reached to payment form(details of payment and passengers form) once he filled all necessary details then that all details will goes to Air UAPI.

as per your saying FOP is must to implement with payment details now say for example I am creating FOP at AirTicketingReq. and in FOP there we need to create object of Credit/Debit Card so we must know in prior which type of card is this(traveller entered card detail) whether Credit/Debit right? so that we can set value in CartType accordingly.

The cardType must be provided in the FOP and yes, we need to create object in FOP based on the PaymentType selected, as it can be many kinds of payment types.

https://support.travelport.com/webhelp/uapi/uAPI.htm#Air/Air_Booking/Create_Air_Booking/Air_Booking_with_Form_of_Payment_(FOP).htm%3FTocPath%3DAir%7CAir%2520Shopping%2520and%2520Booking%7CAir%2520Booking%7CCreating%2520Air%2520Bookings%7CAir%2520Booking%2520Modifiers%7C_____4

2) and as an Admin user of my website If I want to give commission on booking then what happend? (i.e. If booking is of $100 and I decided to give 10% discount, so my traveler will charge $90, then from which point I need to provide this $10 Will I need to make another call for this to UAPI?) please describe this.

As this is a business related question, We recommend you to create a ticket in ORS/Tdssupport and a API support analyst will help you regarding this.

3) same way for Application Fee, as an Admin I decided to take 5% fee per booking. then my traveler need to pay $105 and booking is of $100, then what about the $5, as an Admin how I will get that $5 in my account? and from where?

As this is a business related question, We recommend you to create a ticket in ORS/Tdssupport and a API support analyst will help you regarding this.

4) my client(owner of my website development) must need to get registered for Galileo(1G) UAPI for Air ticket issuance right? then only we will get testing credentials for making Air UAPI calls right?.

Absolutely correct, using trial credentials we can do until booking, but to do ticketing you need a printer assigned to you and the printer will be only assigned upon registered with travelport via contract.

5) now in any case if I need to refund to my traveler than UAPI's which call I need to make?

For refund we can use AirRefundQuoteReq to check if Refund is available for the AirReservation and if yes we can do AirRefundReq to refund the ticket/booking.

https://support.travelport.com/webhelp/uapi/uAPI.htm#Air/Air_Booking/Air_Refunds_and_Exchanges/Refunding_Air_Bookings.htm%3FTocPath%3DAir%7CAir%2520Shopping%2520and%2520Booking%7CAir%2520Booking%7C_____7

6) Ticket Booking authority is depends on what? I mean I am from India and my local business of booking is in India, then I can book only flights that flying from India is it so? describe this as per your idea.


Even if you are in India you should be able to book flights from anywhere in the world. 
Again, As this is a business related question, We recommend you to create a ticket in ORS/Tdssupport and a API support analyst will help you regarding this.

Please let me know how it goes. Thanks.

Thanks & Regards Vivekjyoti Pramanik

MoeAl-Ani commented 7 months ago

Hi,

has this been resolved? I m facing similar obstacle when it comes to charge my customer like 5$ and where that money will settle.

Kindly advise us.