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

[Bug]: Cart view doesn't show item when the amount field is custom #5204

Closed
1 task done
pavlenex opened this issue Jul 28, 2023 · 0 comments
Closed
1 task done

[Bug]: Cart view doesn't show item when the amount field is custom #5204

pavlenex opened this issue Jul 28, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@pavlenex
Copy link
Contributor

pavlenex commented Jul 28, 2023

What is your BTCPay version?

1.11,0

How did you deploy BTCPay Server?

Docker

What happened?

We have a nasty bug where when an item amount type is custom it's not listed on the cart view for some reason.

How did you encounter this bug?

  1. Create a new item or edit existing one
  2. Set Price custom
  3. Save
  4. Preview cart, item is not listed (yes I am sure item is enabled)

Relevant log output

vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11 TypeError: Cannot read properties of undefined (reading 'classList')
    at Cr.addToCart (cart.js?v=cHi1FqDvDh0DMrlB6lZIxleMRhRYqH9TmoTRy75vYus:142:30)
    at click (eval at sc (vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11:104811), <anonymous>:3:2464)
    at dn (vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11:21974)
    at HTMLDivElement.r (vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11:10396)
    at i._wrapper (vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11:59525)
vn @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
pn @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
fn @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
dn @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
r @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
i._wrapper @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11

What browser do you use?

No response

Additional information

No response

Are you sure this is a bug report?

  • I confirm this is a bug report
@pavlenex pavlenex added the Bug label Jul 28, 2023
@pavlenex pavlenex added this to the 1.11.x milestone Jul 28, 2023
Kukks added a commit to Kukks/btcpayserver that referenced this issue Jul 28, 2023
@dstrukt dstrukt mentioned this issue Jul 28, 2023
@Kukks Kukks closed this as completed in 88c66f3 Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants