Sha256: aa05af8a887eed9b57c131baa14f6db02d05b78a37354f66dc0548a0da22ee9a

Contents?: true

Size: 1.8 KB

Versions: 2

Compression:

Stored size: 1.8 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://global-api-sandbox.afterpay.com/v2/payments/INVALID_ORDER_ID
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - SolidusAfterpay/0.0.1 (Solidus/3.0.1; Ruby/2.6.6; Merchant/100101481) https://
      Authorization:
      - Basic <ENCODED_AUTH_HEADER>
      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:29:43 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '139'
      Connection:
      - keep-alive
      Cache-Control:
      - private, no-cache, no-store, no-transform, must-revalidate, max-age=0
      Http-Correlation-Id:
      - kaml4u6rplasbgh7a7b5rjlb54
      X-Envoy-Upstream-Service-Time:
      - '1'
      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=2a8d27b96b99f883d4c875d2738ef2bd439b2889-1630405783-1800-AcWs6EMnepVy0P/+XUdUdhOi5Bn2+V/vkl8GaDDbbJ8EOVHxNLgQqx/HCdoUvJX7wLItvtmnSqeSU48gKjoBGlRDOJswbXnI3DJf7wKcjU5h;
        path=/; expires=Tue, 31-Aug-21 10:59:43 GMT; domain=.afterpay.com; HttpOnly;
        Secure; SameSite=None
      Strict-Transport-Security:
      - max-age=31536000; includeSubDomains; preload
      Server:
      - cloudflare
      Cf-Ray:
      - 6875944f0808cd32-FCO
    body:
      encoding: UTF-8
      string: |-
        {
          "errorCode" : "not_found",
          "errorId" : "ede919d5808edf1d",
          "message" : "Afterpay payment ID not found.",
          "httpStatusCode" : 404
        }
  recorded_at: Tue, 31 Aug 2021 10:29:43 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/find_payment/invalid.yml
solidus_afterpay-0.1.0 spec/fixtures/vcr_casettes/find_payment/invalid.yml