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 Payment Request Authentication #438

Merged

Conversation

armando-rodriguez-cko
Copy link
Contributor

Description

This PR introduces updates to payment request authentication, adding support for advanced authentication options and exemptions, alongside improvements in testing for these new features.

Changes Made

Authentication and Payment Requests:

  • Updated PaymentRequest to include:
    • Authentication: A new property to manage authentication flows using PreferredExperiences.
    • AuthorizationType: Supports specifying authorization types for payment requests.
  • Introduced the Authentication class to handle a list of preferred authentication experiences.

Enums:

  • Expanded the Exemption enum with new values:
    • OutOfScaScope, RecurringOperation, DataShare, SecureCorporatePayment.
  • Added a new PreferredExperiences enum with values:
    • GoogleSpa and ThreeDs.

Unit and Integration Tests:

  • Added test cases for:
    • Payments using preferred authentication experiences like GoogleSpa.
    • Verification of Authentication integration within payment requests.
  • Enhanced dispute-related test cases:
    • SubmitArbitrationEvidence.
    • GetCompiledSubmittedArbitrationEvidence.
  • Improved response validation in hosted payments and payment links tests.

Impact

  • Advanced authentication: Enables support for preferred experiences and exemptions in payment requests.
  • Enhanced testing: Increases coverage for new authentication features and scenarios.
  • Seamless integration: Ensures backward compatibility while adding new capabilities.

Additional Notes

  • Fully backward compatible.
  • Sets the foundation for future enhancements in payment authentication.

@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team December 3, 2024 17:12
@armando-rodriguez-cko armando-rodriguez-cko merged commit c798604 into master Dec 4, 2024
5 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the feature/update-payment-request-authentication branch December 4, 2024 08:43
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