Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Aft and Googlepay and Applepay in payment sessions and Payment Request #452

Conversation

armando-rodriguez-cko
Copy link
Contributor

Description

This PR enhances the payment processing capabilities by adding support for new authentication methods, additional configurations for payment sessions, and improvements to request structures.

Changes Made

Payment Processing:

  • Added a new property aft to the PaymentProcessing class, enabling support for advanced features.
  • Updated ReconciliationQueryPaymentsFilter to set a default limit of 500 for better consistency.

Preferred Experiences:

  • Introduced a new enum PreferredExperiences to support authentication preferences, such as:
    • GOOGLE_SPA
    • THREE_DS

Authentication and Payment Requests:

  • Created the Authentication class to handle preferred experiences during payment authentication.
  • Updated PaymentRequest to include:
    • authentication: Supports advanced authentication flows.
    • authorizationType: Defines the type of authorization used.

Payment Sessions:

  • Added support for Apple Pay and Google Pay in payment sessions:
    • Created Applepay and Googlepay classes, each with a storePaymentDetails property.
    • Updated PaymentMethodConfiguration to include configurations for Apple Pay and Google Pay.

Unit Tests:

  • Added test cases to verify:
    • Payment requests with preferred authentication experiences (GOOGLE_SPA and THREE_DS).
    • Integration of the Authentication object in payment authorization flows.

Impact

  • Improved functionality: Introduces advanced payment configurations and authentication preferences, enhancing user experience and security.
  • Enhanced flexibility: Support for Apple Pay and Google Pay configurations simplifies integration for merchants.
  • Increased robustness: Expanded test coverage ensures stability in handling advanced payment flows.

Additional Notes

  • Fully backward compatible with existing implementations.
  • Lays the groundwork for more advanced authentication and session configurations in the future.

@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team December 3, 2024 15:07
@armando-rodriguez-cko armando-rodriguez-cko merged commit dba3e72 into master Dec 3, 2024
4 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the feature/INT-1530-INT-1518-INT-1520-INT-1529_BIS branch December 3, 2024 16:51
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.

2 participants