Skip to content

feat(BTI-17): add PayPerEmail example and feature test#12

Merged
vildanbina merged 1 commit into
developfrom
BTI-17-payperemail-parity
Jul 13, 2026
Merged

feat(BTI-17): add PayPerEmail example and feature test#12
vildanbina merged 1 commit into
developfrom
BTI-17-payperemail-parity

Conversation

@vildanbina

Copy link
Copy Markdown
Collaborator

What

Brings PayPerEmail to parity with peer payment methods (e.g. in3). The builder and unit tests already exist on develop; this adds the two missing pieces.

  • examples/payperemail.py — demos the PaymentInvitation flow, creds-gated like examples/in3.py.
  • tests/feature/payments/test_payperemail.py — asserts the PaymentInvitation action and customer service params (email, first/last name, gender) reach the wire.

Why

Jira BTI-17 asked to "add solution: PayPerEmail". In this SDK PayPerEmail is correctly a payment method (PaymentInvitation posts to /json/transaction), not a /json/DataRequest solution — so no new solutions builder. Only the example + feature test were missing.

Testing

  • Full suite: 2274 passed.
  • ruff check + ruff format --check: clean.
  • Example runs standalone without creds (prints warning, no crash).

- add examples/payperemail.py demoing the PaymentInvitation flow, creds-gated like examples/in3.py
- add feature test asserting the PaymentInvitation action and customer service params reach the wire
@vildanbina vildanbina merged commit f41b4b9 into develop Jul 13, 2026
6 checks passed
@vildanbina vildanbina deleted the BTI-17-payperemail-parity branch July 13, 2026 09:42
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