Skip to content

CountryStateEntity: Attempted to call an undefined method named "swaggerFormats" #15

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

Open
no0dles opened this issue Jan 26, 2024 · 0 comments

Comments

@no0dles
Copy link

no0dles commented Jan 26, 2024

Hi

There is an issue on the current version of the shopware 6 plugin.
Transactions can be created, because the TransactionService uses a method getCountryState on the customer address.

It expects a string value, but shopware returns an object.
https://github.com/shopware/shopware/blob/6e64e0f299b00b904f1d2dfecba0e0cfdff7869f/src/Core/Checkout/Customer/Aggregate/CustomerAddress/CustomerAddressEntity.php#L15

Screenshot 2024-01-26 at 14 04 58

This bug prevents the checkout page to load.

Screenshot 2024-01-26 at 12 02 53

I'm not sure what value of the object was used before, this issue is quite critical.

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

No branches or pull requests

1 participant