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: ensure amount is always defined for totalAmount calculation #1227

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

dkoo
Copy link
Contributor

@dkoo dkoo commented Aug 5, 2022

All Submissions:

Changes proposed in this Pull Request:

Looks like #1201 introduced a small bug due to removing the fallback/default value of 0 for amount when calculating the total donation amount plus Stripe fees.

Closes #1226.

How to test the changes in this Pull Request:

Confirm that #1226 is not replicable.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@dkoo dkoo merged commit b1910dc into master Aug 12, 2022
@dkoo dkoo deleted the fix/undefined-amount branch August 12, 2022 17:23
matticbot pushed a commit that referenced this pull request Aug 12, 2022
# [1.56.0-alpha.2](v1.56.0-alpha.1...v1.56.0-alpha.2) (2022-08-12)

### Bug Fixes

* ensure amount is always defined for totalAmount calculation ([#1227](#1227)) ([b1910dc](b1910dc))

### Features

* **donate:** refresh reader authentication ([#1236](#1236)) ([f21904b](f21904b))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 1.56.0-alpha.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

matticbot pushed a commit that referenced this pull request Aug 12, 2022
# [1.56.0-alpha.2](v1.56.0-alpha.1...v1.56.0-alpha.2) (2022-08-12)

### Bug Fixes

* ensure amount is always defined for totalAmount calculation ([#1227](#1227)) ([b1910dc](b1910dc))
* resolve merge conflicts with [#1234](#1234) ([15fe247](15fe247))

### Features

* **donate:** refresh reader authentication ([#1236](#1236)) ([f21904b](f21904b))
matticbot pushed a commit that referenced this pull request Aug 16, 2022
# [1.56.0](v1.55.0...v1.56.0) (2022-08-16)

### Bug Fixes

* ensure amount is always defined for totalAmount calculation ([#1227](#1227)) ([b1910dc](b1910dc))
* force a new alpha build ([8bf60a8](8bf60a8))
* merge conflicts and force new build again ([b9020c6](b9020c6))
* resolve merge conflicts with [#1234](#1234) ([15fe247](15fe247))

### Features

* **donate:** add current_page_url to client metadata ([32e18a4](32e18a4))
* **donate:** customise donate button texts ([#1219](#1219)) ([8bda0f0](8bda0f0))
* **donate:** mobile style; UX tweaks ([#1201](#1201)) ([65a1285](65a1285))
* **donate:** refresh reader authentication ([#1236](#1236)) ([f21904b](f21904b))
@matticbot
Copy link
Contributor

🎉 This PR is included in version 1.56.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Donate block] JS error on manually-configured blocks with one or more tabs disabled
3 participants