feat: implement complete Payment Sessions Flow integration module#188
Merged
armando-rodriguez-cko merged 1 commit intomainfrom Oct 31, 2025
Merged
Conversation
8d5bf19 to
4b7eaab
Compare
- Add PaymentSessionsRequest, PaymentSessionWithPaymentRequest, SubmitPaymentSessionRequest classes
- Implement 30+ supporting classes for payment sessions (billing, payment methods, 3DS, etc.)
- Update PaymentMethodsType enum with 33 new values from JSON specifications
- Add missing fields to ProcessingSettings (aft, dupe_payment, partner_customer_id, etc.)
- Update Exemption enum with TRUSTED_LISTING_PROMPT value
- Create SessionsClient with three endpoints: create_payment_sessions, create_payment_session_with_payment, submit_payment_session
- Add comprehensive unit and integration tests for all payment session functionality
- Ensure property ordering matches JSON API specifications exactly
- Fix customer phone requirement in Bizum payment test
- Maintain SDK architectural patterns and backwards compatibility
API Endpoints implemented:
- POST /payment-sessions (create payment session)
- POST /payment-sessions/complete (create session with payment)
- POST /payment-sessions/{session_id}/submit (submit payment session)
All tests passing: 280 passed, 128 skipped, 0 failed
4b7eaab to
7e4efe9
Compare
|
robert-goheen-cko
approved these changes
Oct 31, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



API Endpoints implemented:
All tests passing: 280 passed, 128 skipped, 0 failed