Skip to content

Travel legs departureDate incorrect field type (integer -> string) #178

@moodypalmer

Description

@moodypalmer

The travel legs departureDate field is stored as an integer while expecting a format of MMDDYY on Cybersource backend site.

This results in bad requests for departureDates starting with a month below 10, e.g.:

Date 2024-02-01 (YYYY-MM-DD) results to integer 20124 instead of 020124.

Sending the resulting departureDate to the CyS API returns a validation error saying that the field should be in MMDDYY format.

Supported format for this field is MMDDYY.: departure_date

PR following.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions