-
Notifications
You must be signed in to change notification settings - Fork 199
Query: Adding Credit Card type and expiry date in FOP in Fare_PricePNRWithBookingClass request #502
Copy link
Copy link
Open
Description
Hello,
I'm trying to add credit card type and expiry date in form of payment for Fare_PricePNRWithBookingClass as below:
$options['formOfPayment'] = [
new FormOfPayment([
'type' => FormOfPayment::TYPE_CREDIT_CARD,
'creditCardNumber' => '123456789012345678',
'creditCardType' => 'VI',
'vendorCode' => 'VI',
'expiryDate' => '1231',
]),
];However, the resultant information has only this information:
<ns1:pricingOptionGroup>
<ns1:pricingOptionKey>
<ns1:pricingOptionKey>FOP</ns1:pricingOptionKey>
</ns1:pricingOptionKey>
<ns1:formOfPaymentInformation>
<ns1:formOfPayment>
<ns1:type>CC</ns1:type>
<ns1:creditCardNumber>123456789012345678</ns1:creditCardNumber>
</ns1:formOfPayment>
</ns1:formOfPaymentInformation>
</ns1:pricingOptionGroup>Neither creditCardType nor vendorCode works. expiryDate doesn't get added either.
How should I specify the form of payment here to include complete credit card details?
Or, should I use some alternative mechanism to add these details? The reason I want to add it during pricing is to get any credit card fee included in response.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels