Skip to content

Mypayment extended#982

Open
Rotheem wants to merge 22 commits into
mainfrom
mypayment-extended-ecl
Open

Mypayment extended#982
Rotheem wants to merge 22 commits into
mainfrom
mypayment-extended-ecl

Conversation

@Rotheem

@Rotheem Rotheem commented Mar 24, 2026

Copy link
Copy Markdown
Member

Description

Summary

support module payment with MyPayment

Issues/PR dependencies

Issues to be resolved

Required PRs

Changes Made

  • support requests
  • support direct transfers

Additional Notes

Classification

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature)
  • 🔧 Infra CI/CD (changes to configs of workflows)
  • 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end)
  • 😶‍🌫️ No impact for the end-users

Impact & Scope

  • Core functionality changes
  • Single module changes
  • Multiple modules changes
  • Database migrations required
  • Other: ...

Testing

  • 1. Tested this locally
  • 2. Added/modified tests that pass the CI (or tested in a downstream fork)
  • 3. Tested in a deployed pre-prod
  • 0. Untestable (exceptionally), will be tested in prod directly

Documentation

  • Updated the docs accordingly :
  • " Docstrings
  • # Inline comments
  • No documentation needed

@codecov

codecov Bot commented Mar 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 69.02486% with 162 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.89%. Comparing base (33f63b5) to head (f1e4a12).

Files with missing lines Patch % Lines
app/core/mypayment/utils_mypayment.py 33.07% 87 Missing ⚠️
app/core/mypayment/endpoints_mypayment.py 71.55% 31 Missing ⚠️
app/core/mypayment/cruds_mypayment.py 62.50% 12 Missing ⚠️
app/core/mypayment/mypayment_tool.py 52.00% 12 Missing ⚠️
app/core/mypayment/exceptions_mypayment.py 70.27% 11 Missing ⚠️
app/core/checkout/checkout_tool.py 82.60% 4 Missing ⚠️
app/dependencies.py 83.33% 2 Missing ⚠️
app/utils/state.py 60.00% 2 Missing ⚠️
app/types/exceptions.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #982      +/-   ##
==========================================
- Coverage   84.43%   83.89%   -0.54%     
==========================================
  Files         206      207       +1     
  Lines       14952    15277     +325     
==========================================
+ Hits        12625    12817     +192     
- Misses       2327     2460     +133     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Marc-Andrieu Marc-Andrieu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Somewhat hard to read, the distinction transfer vs. transaction needs to be very clear in mind given the two features you add in the same PR (I had to read some files again to be sure).
This is a very impressive PR!

Comment thread app/types/module.py Outdated
Comment thread app/core/mypayment/cruds_mypayment.py Outdated
Comment thread app/core/mypayment/endpoints_mypayment.py
Comment thread app/core/mypayment/utils_mypayment.py Outdated
Comment thread app/core/mypayment/utils_mypayment.py
Comment thread app/core/mypayment/endpoints_mypayment.py
Comment thread app/core/mypayment/endpoints_mypayment.py Outdated
Comment thread app/core/mypayment/endpoints_mypayment.py Outdated
@Marc-Andrieu

Copy link
Copy Markdown
Member

Supersedes #896

Comment thread app/core/mypayment/cruds_mypayment.py
@Rotheem Rotheem force-pushed the mypayment-extended-ecl branch from 34807b8 to 4a44b8d Compare June 5, 2026 08:31
@Rotheem Rotheem force-pushed the mypayment-extended-ecl branch 2 times, most recently from b6f628e to 7d61474 Compare June 5, 2026 09:59
@Rotheem Rotheem force-pushed the mypayment-extended-ecl branch from 34b34e5 to 2759cd2 Compare June 5, 2026 12:42
@Rotheem Rotheem force-pushed the mypayment-extended-ecl branch from b5a8f6f to 80b2555 Compare June 5, 2026 13:16

@armanddidierjean armanddidierjean left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This PR reduce MyPayment test coverage by 4.72 points, it would be great to add unit tests

Comment thread app/core/checkout/endpoints_checkout.py Outdated
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.

6 participants