active_merchant
active_merchant copied to clipboard
Checkout.com V2: Fetch payment by ID or session ID support
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 anapi_request
method which makes requests and parses responses. - Have all Checkout V2 requests happen via
ssl_request
rather thanssl_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.