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

[Fix-error] Cannot place order #995

Merged
merged 3 commits into from
Sep 13, 2024
Merged

[Fix-error] Cannot place order #995

merged 3 commits into from
Sep 13, 2024

Conversation

LEHOANGGLAM
Copy link
Contributor

@LEHOANGGLAM LEHOANGGLAM commented Sep 8, 2024

Issue:
we can not "Process to payment" because the error:
com.yas.order.model.enumeration.PaymentMethod` from String "PaypalPayment": not one of the values accepted for Enum class: [COD, PAYPAL, BANKING]

PaymentMethod gets value from the column id of table 'payment_provider' and does not match the enum in the service order, so it can't create an order.

image
image

Copy link

github-actions bot commented Sep 8, 2024

Payment Coverage Report

Overall Project 64.91%

There is no coverage information present for the Files changed

Copy link

sonarcloud bot commented Sep 11, 2024

Copy link

sonarcloud bot commented Sep 11, 2024

@thiennn thiennn merged commit dbc29cf into main Sep 13, 2024
10 checks passed
@thiennn thiennn deleted the fix-error-cannot-checkout branch September 13, 2024 06:07
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.

5 participants