Skip to content

BG2-3106: Withhold platoform fee (tip + fee) from charities when taki…#1915

Closed
bdsl wants to merge 3 commits intodevelopfrom
BG2-3106-platform-fee
Closed

BG2-3106: Withhold platoform fee (tip + fee) from charities when taki…#1915
bdsl wants to merge 3 commits intodevelopfrom
BG2-3106-platform-fee

Conversation

@bdsl
Copy link
Copy Markdown
Contributor

@bdsl bdsl commented Apr 2, 2026

…ng payment via Ryft

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

❌ Patch coverage is 2.43902% with 40 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.79%. Comparing base (60d36de) to head (f0eb942).
⚠️ Report is 32 commits behind head on develop.

Files with missing lines Patch % Lines
src/Client/RyftClient.php 0.00% 29 Missing ⚠️
src/Application/Actions/Donations/Create.php 0.00% 6 Missing ⚠️
src/Application/Actions/Donations/Update.php 16.66% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1915      +/-   ##
===========================================
- Coverage    65.05%   64.79%   -0.26%     
===========================================
  Files          195      195              
  Lines         9388     9426      +38     
===========================================
+ Hits          6107     6108       +1     
- Misses        3281     3318      +37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bdsl bdsl force-pushed the BG2-3106-platform-fee branch 2 times, most recently from 27d1044 to fdede8f Compare April 2, 2026 18:10
Comment thread src/Application/Actions/Donations/Create.php Outdated
In practice for now this is just going to be changes to the tip - I'm
not sure if we have any way to do updates for changes to card brand
or country.
@bdsl bdsl force-pushed the BG2-3106-platform-fee branch from fdede8f to 94e49a5 Compare April 2, 2026 18:15
@bdsl bdsl marked this pull request as ready for review April 2, 2026 18:18
Comment on lines +473 to +476
// For now this is still going to be always set a fee as if they're using the cheapest card type,
// i.e. EU/UK Visa/MasterCard. Since the ryft donations are initiated from the client side I'm
// not sure if we actually have any good way to vary fees according to card brand and country
// as we do with stripe.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this seems fundamental enough that we should run it past their integration team, perhaps before going further with this.

@bdsl
Copy link
Copy Markdown
Contributor Author

bdsl commented Apr 14, 2026

superseded by #1920

@bdsl bdsl closed this Apr 14, 2026
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.

2 participants