Skip to content

Remove remaining Flipcause integration code#871

Open
JoseRodriguez26 wants to merge 1 commit into
Techtonica:developfrom
JoseRodriguez26:fix/remove-flipcause-code
Open

Remove remaining Flipcause integration code#871
JoseRodriguez26 wants to merge 1 commit into
Techtonica:developfrom
JoseRodriguez26:fix/remove-flipcause-code

Conversation

@JoseRodriguez26
Copy link
Copy Markdown

Summary

Removes the remaining Flipcause integration code and related assets.

Changes
• Removed Flipcause integration block from templates/base.html
• Deleted unused Flipcause JavaScript (static/js/base.js)
• Deleted Flipcause SCSS partial (static/sass/_flipcause.scss) and removed its import from static/sass/style.scss
• Removed remaining Flipcause references from templates (faqs.html, privacy.html)

Verification
• rg search for Flipcause, flipcause, and fc-* across templates, static/sass, and static/js returns no results.

Implementation Notes / Investigation Summary

When I started working on this issue, my goal was to confirm whether any Flipcause-related code was still actively used in the application or if it could be safely removed.

I began by searching the codebase for Flipcause identifiers (Flipcause, flipcause, fc-, open_window, close_window) across templates, JavaScript, and SCSS files. This investigation showed that the remaining Flipcause HTML elements, JavaScript logic, and SCSS styles were tightly coupled to the old Flipcause integration block that had already been partially removed in earlier work.

Next, I verified whether any donation flows or user-facing functionality still depended on Flipcause. All donation links now route users to the internal donate page or external processors, and no templates referenced the Flipcause widget or modal behavior anymore. This confirmed that the remaining Flipcause code was orphaned.

Based on that, I:
• Removed the remaining Flipcause integration block from base.html
• Deleted the unused Flipcause JavaScript file
• Deleted the Flipcause SCSS partial and removed its import from style.scss
• Cleaned up any remaining references in templates

Finally, I re-ran searches across the repository to confirm that no Flipcause-related identifiers remained and verified that the site continues to function as expected without the legacy code.

This change fully removes the deprecated Flipcause integration and simplifies the codebase by eliminating unused assets and styles.

Add this one line at the very bottom if it applies:
Closes #865

Copy link
Copy Markdown
Collaborator

@naomiquinones naomiquinones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this. I've noted a couple of small items to change.

Comment thread templates/faqs.html
>.
<a href="{{ url_for('render_donate_page') }}">Donate</a>
</li>
<li>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should keep this opening <li> as it has a matching closing tag below.

Comment thread templates/privacy.html
<li>
All credit card donations are processed by Flipcause, our donation
platform, and we never have access to your credit card information.
“All credit card donations are processed by a third-party payment processor.”
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this line to be in quotes? If not, they could be removed.

@daaimah123 daaimah123 linked an issue Feb 10, 2026 that may be closed by this pull request
@daaimah123
Copy link
Copy Markdown
Collaborator

Hi @JoseRodriguez26 can you kindly address your requests for changes?

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 this pull request may close these issues.

FlipCause code needs to be removed

3 participants