active_merchant icon indicating copy to clipboard operation
active_merchant copied to clipboard

Checkout.com V2: Fetch payment by ID or session ID support

Open obahareth opened this issue 5 years ago • 1 comments

This is necessary to complete the 3D Secure flow with Checkout, a checkout session ID must be verified using their API. This is necessary if one wants to store 3DS-secured credit cards.

Other changes:

  • Some slight refactoring for commit to now rely on an api_request method which makes requests and parses responses.
  • Have all Checkout V2 requests happen via ssl_request rather than ssl_post, because we now have a GET request in this PR.
  • Stub ssl_request instead of ssl_post in checkout_v2 unit test.
  • Update signature of check_request block params in checkout_v2 unit test.

If this PR is merged, all open PRs for Checkout.com V2 will need the modifications for the unit tests to stub ssl_request instead of ssl_post and update the signature of check_request or their tests will be failing.

obahareth avatar May 16 '19 11:05 obahareth