Skip to content

Conversation

@armando-rodriguez-cko
Copy link
Contributor

  • 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

@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team October 31, 2025 11:48
@armando-rodriguez-cko armando-rodriguez-cko force-pushed the feature/payment-sessions-flow-integration branch 2 times, most recently from 8d5bf19 to 4b7eaab Compare October 31, 2025 12:04
- 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
@armando-rodriguez-cko armando-rodriguez-cko force-pushed the feature/payment-sessions-flow-integration branch from 4b7eaab to 7e4efe9 Compare October 31, 2025 12:07
@sonarqubecloud
Copy link

@armando-rodriguez-cko armando-rodriguez-cko merged commit 2394703 into main Oct 31, 2025
4 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the feature/payment-sessions-flow-integration branch October 31, 2025 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants