Sha256: fdf5c37dd84e7ae1c40c0009543f0ec12db7c128cef116ee523285de0ccfead1
Contents?: true
Size: 1.85 KB
Versions: 2
Compression:
Stored size: 1.85 KB
Contents
--- http_interactions: - request: method: post uri: https://global-api-sandbox.afterpay.com/v2/payments/INVALID_RESPONSE_CODE/void body: encoding: UTF-8 string: '{"token":null,"merchantReference":null,"amount":{"amount":"10.0","currency":"USD"}}' headers: User-Agent: - SolidusAfterpay/0.0.1 (Solidus/3.0.1; Ruby/2.6.6; Merchant/100101481) https:// Authorization: - Basic <ENCODED_AUTH_HEADER> Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" response: status: code: 404 message: Not Found headers: Date: - Tue, 31 Aug 2021 10:19:45 GMT Content-Type: - application/json Transfer-Encoding: - chunked Connection: - keep-alive Http-Correlation-Id: - nvru4vd2rc77r254b3aklc2uxm X-Envoy-Upstream-Service-Time: - '5' Cf-Cache-Status: - DYNAMIC Expect-Ct: - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Set-Cookie: - __cf_bm=99d225d764ed10363fa918c8805988dd7bef9b4b-1630405185-1800-ATek5+ile0BoSnL/K9enQU+J/hrmRE6pScNBdRkQHOoB2NS0O/y9otYoCa0v8FD1OZFovIrCpRQpqe8qQXd+cpid2ttFkOYjrTpKRDBaAiGf; path=/; expires=Tue, 31-Aug-21 10:49:45 GMT; domain=.afterpay.com; HttpOnly; Secure; SameSite=None Strict-Transport-Security: - max-age=31536000; includeSubDomains; preload Server: - cloudflare Cf-Ray: - 687585b5fba0cd26-FCO body: encoding: ASCII-8BIT string: |- { "errorCode" : "not_found", "errorId" : "6867bf55cc14fa09", "message" : "Afterpay payment ID not found.", "httpStatusCode" : 404 } recorded_at: Tue, 31 Aug 2021 10:19:45 GMT recorded_with: VCR 6.0.0
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_afterpay-0.2.0 | spec/fixtures/vcr_casettes/deferred/void/invalid.yml |
solidus_afterpay-0.1.0 | spec/fixtures/vcr_casettes/deferred/void/invalid.yml |