• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mariofix / merchants / 33713270081
90%
sandbox: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/all-pip-updates-8bc086dbe0
DEFAULT BRANCH: sandbox
Ran 03 Sep 2026 03:58AM UTC
Jobs 5
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Sep 2026 03:57AM UTC coverage: 91.05% (-0.1%) from 91.188%
33713270081

push

github

mariofix
providers: validate and remap create_checkout() extra fields per provider

Flow and Khipu accept the same semantic field (customer email) under
different kwarg names (email vs payer_email), and neither validates
presence -- a missing or misnamed kwarg was silently dropped instead
of failing.

Adds checkout_fields/checkout_required class attrs on Provider,
mirroring the existing config_required/config_optional pattern used
for autoload. Provider.__init_subclass__ wraps each subclass's
create_checkout() to validate required fields and remap canonical
names to the provider-specific kwarg name before dispatch, entirely
inside the base class.

No changes to Client, PaymentsResource, cli.py, or any downstream
caller -- client.payments.create_checkout(email=...) now works
uniformly across providers and raises UserError before any network
call if a provider's required field is missing.

Flow's payment/create requires 'email' per their API spec:
https://developers.flow.cl/en/api
Khipu's payer_email remains optional per Payments.create.

14 of 18 new or added lines in 1 file covered. (77.78%)

1587 of 1743 relevant lines covered (91.05%)

4.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.83
-4.59% merchants/providers/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 33713270081.1 03 Sep 2026 03:58AM UTC 25
91.05
GitHub Action Run
2 33713270081.2 03 Sep 2026 03:58AM UTC 25
91.05
GitHub Action Run
3 33713270081.3 03 Sep 2026 03:58AM UTC 25
91.05
GitHub Action Run
4 33713270081.4 03 Sep 2026 03:58AM UTC 25
91.05
GitHub Action Run
5 33713270081.5 03 Sep 2026 03:58AM UTC 25
91.05
GitHub Action Run
Source Files on build 33713270081
  • Tree
  • List 25
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33713270081
  • 7f23f202 on github
  • Prev Build on main (#33117070241)
  • Next Build on main (#33713449017)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc