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

Error on order update discount_breakdown #1572

Open
SebastianBotez opened this issue Feb 21, 2024 · 1 comment
Open

Error on order update discount_breakdown #1572

SebastianBotez opened this issue Feb 21, 2024 · 1 comment
Labels
1.x bug Something isn't working

Comments

@SebastianBotez
Copy link

SebastianBotez commented Feb 21, 2024

Hello guys, Looks like there is still a problem on tax breakdown using Lunar 0.8.
The error occurs when this code is executed:

$order->update([
    'discount_breakdown' => $discountBreakdown,
]);

Object of class stdClass could not be converted to string

Any ideea how to fix it?

Originally posted by @SebastianBotez in #887 (comment)

@alecritson
Copy link
Collaborator

My initial thought is this appeared due changes in how the breakdown data is structured in the database. Are you able to confirm if this is still a problem you're facing?

@glennjacobs glennjacobs added feature Adds new functionality to GetCandy bug Something isn't working 1.x labels May 20, 2024 — with Linear
@glennjacobs glennjacobs removed the feature Adds new functionality to GetCandy label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.x bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants