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

Order's amount_charged_back never updated #212

Closed
sander3 opened this issue Nov 1, 2023 · 2 comments · Fixed by #215
Closed

Order's amount_charged_back never updated #212

sander3 opened this issue Nov 1, 2023 · 2 comments · Fixed by #215

Comments

@sander3
Copy link
Contributor

sander3 commented Nov 1, 2023

Hi there,

The amount_charged_back column on the Order model is never updated. The payment one is but the order value remains 0.

@Naoray
Copy link
Collaborator

Naoray commented Nov 2, 2023

Hi @sander3,

the Order’s amount_charged_back indeed isn’t updated anywhere it seems. I will dig a little deeper and let you know what I can find and how we will fix it.

@Naoray
Copy link
Collaborator

Naoray commented Nov 16, 2023

Hi @sander3,

you were right. Somehow the existing column isn’t used anywhere. I’ve gone ahead and added a amountChargedBack() method to the Order which will likely change into an accessor and be accessible with $order->amount_charged_back with the next major release. For now it would technically be a breaking change to override the usage of the column by introducing an accessor...

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 a pull request may close this issue.

2 participants