Follow up to Stripe payment intents bug

Bug #1981628 reported by Terran McCanna
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Unassigned
3.8
Fix Released
High
Unassigned

Bug Description

This is a follow up to bug 1965579 - we only fixed the problem for grocery bills in the first fix that has already been committed. This should fix it for circulation bills as well. (Patch coming in a moment.)

Revision history for this message
Terran McCanna (tmccanna) wrote :
tags: added: pullrequest
Changed in evergreen:
assignee: nobody → Jason Etheridge (phasefx)
Revision history for this message
Jason Etheridge (phasefx) wrote :

Terran,

I've signed off on this but only in conjunction with my follow-up commit:
collab/phasefx/lp1981628-follow-up @ working/Evergreen.git

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/phasefx/lp1981628-follow-up

It works for me with Boopac and TPAC, but more permutations with testing negative bills welcome.

Thanks!

Changed in evergreen:
assignee: Jason Etheridge (phasefx) → nobody
Revision history for this message
Jason Boyer (jboyer) wrote :

Something I'm noticing as I look at this for Bug Squashing Week, now there's no alert for users to seek out a staff member to determine why they can't pay their bills. I do like the idea of setting myopac_cc_allowed to 0 when an issue pops up to disable all of the payment buttons at once, but there does need to be some mechanism to display the "There are negative bills on your account..." message.

Revision history for this message
Terran McCanna (tmccanna) wrote :

I agree with Jason B.

tags: added: needswork
removed: pullrequest
Changed in evergreen:
assignee: nobody → Terran McCanna (tmccanna)
Revision history for this message
Terran McCanna (tmccanna) wrote :

My feeling is that if there are negative bills then the patron should see the alert to contact their library about them regardless of whether or not online payments are allowed. So, this additional followup separates that alert from the myopac_cc_allowed logic.

This also makes some minor display tweaks to the BooPAC:
- Applies the Bootstrap 'alert-warning' to the negative bills message in the BooPAC.
- Adds a page header.
- Changes the styling and wording of the grocery charges heading to match the circulation charges heading.
- Changes the styling of the grocery and circulation tables to be consistent with each other.

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mccanna/lp1981623-follow-up-3

tags: added: pullrequest
removed: needswork
Changed in evergreen:
assignee: Terran McCanna (tmccanna) → nobody
status: New → Confirmed
Revision history for this message
Terran McCanna (tmccanna) wrote :

FYI, we've been using this in production for 2 months now.

tags: added: needsrebase
Revision history for this message
Terran McCanna (tmccanna) wrote :

FYI, Blake indicated this needed a rebase, but I tried applying it to a fresh master branch and it picked cleanly for me. Removing the needsrebase tag.

tags: removed: needsrebase
Revision history for this message
Jason Etheridge (phasefx) wrote :

Terran, I've pushed a rebased (it was clean for me too) branch with my signoff. Looks good to me!

tags: added: signedoff
Revision history for this message
Galen Charlton (gmc) wrote :

Pushed all the way down to rel_3_8. Thanks, Terran and Jason!

Changed in evergreen:
milestone: none → 3.9.1
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.