Skip to content

Require non-empty items field for checkout#11

Open
idrisregg wants to merge 2 commits intoChargily:mainfrom
idrisregg:patch-1
Open

Require non-empty items field for checkout#11
idrisregg wants to merge 2 commits intoChargily:mainfrom
idrisregg:patch-1

Conversation

@idrisregg
Copy link

Added validation to ensure items field is not empty.

Added validation to ensure items field is not empty.
Updated validation logic to require either a non-empty items array or both amount and currency, preventing invalid checkouts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments