Skip to content

Feat: payment selector#8

Open
Maximus7474 wants to merge 7 commits intoCommunityOx:mainfrom
Maximus7474:feat/payment-selector
Open

Feat: payment selector#8
Maximus7474 wants to merge 7 commits intoCommunityOx:mainfrom
Maximus7474:feat/payment-selector

Conversation

@Maximus7474
Copy link
Copy Markdown
Member

@Maximus7474 Maximus7474 commented Jan 27, 2026

This PR adds a new export and interface to the script to allow for easier implementation of a payment process, it provides a base system to allow players to choose how to pay be it with their personal account, group account or even using cash. UI page was built using the same structure as the atm view.

Current behaviour is that the user only has one attempt to pay, if it fails there needs to be another call made via the export to start again.

It was a personal decision to have cash listed as a selectable option mixed in to the accounts for simplicity and avoiding extra code for potentially only a minor improvement.

Previews:

image image image

Error messages are dynamic, they'll state unknown error, insufficient funds or lack permissions depending on the case

@antond15 antond15 self-assigned this Feb 26, 2026
@Maximus7474 Maximus7474 added the enhancement New feature or request label Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants