Skip to content

Conversation

@0x8000-0000
Copy link
Contributor

Why:

  • To verify that the server correctly rejects invalid AP2 mandates with the appropriate error code.
  • Required for conformance testing of the AP2 security flow.

What:

  • Added 'Ap2VerificationError' to exceptions.
  • Implemented '_verify_ap2_mandate' in 'CheckoutService' to reject mandates containing the substring 'invalid_signature'.
  • Updated 'complete_checkout' to invoke this verification.

Why:
- To verify that the server correctly rejects invalid AP2 mandates with the appropriate error code.
- Required for conformance testing of the AP2 security flow.

What:
- Added 'Ap2VerificationError' to exceptions.
- Implemented '_verify_ap2_mandate' in 'CheckoutService' to reject mandates containing the substring 'invalid_signature'.
- Updated 'complete_checkout' to invoke this verification.
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.

1 participant