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

Add a payment method field to CDS Events #157

Open
jiffyclub opened this issue Nov 15, 2024 · 3 comments · May be fixed by #158
Open

Add a payment method field to CDS Events #157

jiffyclub opened this issue Nov 15, 2024 · 3 comments · May be fixed by #158
Milestone

Comments

@jiffyclub
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Cities find it useful to know in what way a payment for parking was made (e.g. mobile app, cash, credit card, etc.), but CDS does not currently have a way for providers to communicate that information.

Describe the solution you'd like

Add a conditionally required payment_method text field to the CDS Event payload. We should recommend a few enumerated options such as:

  • mobile_app
  • cash
  • credit_card

There may be others that folks can recommend based on their operations.

Is this a breaking change

  • No, not breaking

Impacted Spec

For which spec is this feature being requested?

  • Events

Describe alternatives you've considered

Additional context

@schnuerle
Copy link
Member

This makes sense, I actually had to look because I thought something like this was already in there. If you can make a PR for this we can work to include it in 1.1 and discuss with the working group.

@schnuerle schnuerle added this to the 1.1 milestone Nov 19, 2024
jiffyclub added a commit to populus-ai/curb-data-specification that referenced this issue Nov 22, 2024
Cities are often interested in how their curb users are paying for their
time at the curb, for example the breakdown between cash, cards, mobile, etc.
This adds a payment_type field to the Curb Event model and includes a list
of potential payment types.

Closes openmobilityfoundation#157.
@jiffyclub jiffyclub linked a pull request Nov 22, 2024 that will close this issue
@jiffyclub
Copy link
Contributor Author

See PR in #158.

@schnuerle schnuerle linked a pull request Nov 26, 2024 that will close this issue
@schnuerle
Copy link
Member

We do have a payment_type field we can use for reference in the Passenger Services mode in MDS. Similar purpose.

https://github.com/openmobilityfoundation/mobility-data-specification/blob/main/modes/passenger-services.md#fare-attributes

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

Successfully merging a pull request may close this issue.

2 participants