Sha256: 4a28d5c104b5b125bcfe76959b21500e815c2f4d609697450a16cc06a0d6aeec

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://test.qt.sealink.com.au:8080/api/checkouts.json
    body:
      encoding: UTF-8
      string: booking_id=6&payment[payment_type_id]=10&payment[amount_in_cents]=10&payment[uid]=modern-opal-uid&payment[comment]=Test%20Opal%20Payment&access_key=<QT_KEY>
    headers:
      Content-Length:
      - '0'
  response:
    status:
      code: 200
      message: 'OK '
    headers:
      P3p:
      - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
      Content-Type:
      - application/json; charset=utf-8
      Etag:
      - W/"3a5d8871c85df7675b823e4ae118f2dc"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - 200f1abb-f3fd-4097-a61d-a246cce27252
      X-Runtime:
      - '0.191352'
      Date:
      - Fri, 01 Jan 2016 02:32:20 GMT
      X-Rack-Cache:
      - invalidate, pass
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Download-Options:
      - noopen
      X-Frame-Options:
      - sameorigin
      X-Permitted-Cross-Domain-Policies:
      - none
      X-Xss-Protection:
      - 1; mode=block
      Server:
      - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
      Content-Length:
      - '53'
      Connection:
      - Keep-Alive
      Set-Cookie:
      - _session_id=Q254b0gvbzhoS05PZjNqM0VEWlBKUlFTVjhsQUZFTVdkZkdOaGlsQnZjSDA1YWZLckh1VmgyN1V6VkRUMlNLR0JIa3U2Y0IvcmZ6dzBGcmJMVzRHNGV3RlJxNHBqV3JLWWU5Z3liRTZXUlU9LS1Tb0hKdktjQWQ5SWl0SElwUEllZUl3PT0%3D--274c0f78030a0c1e450fc81c1683461734cfd3c7;
        path=/; HttpOnly
    body:
      encoding: UTF-8
      string: '{"checkout_id":"modern-opal-uid","completable":false}'
    http_version: 
  recorded_at: Wed, 21 Mar 2018 04:40:27 GMT
recorded_with: VCR 4.0.0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quicktravel_client-3.7.0 spec/support/cassettes/opal_modern_pay_successful_response.yml