Sha256: e54019e1f51984ed162aae330c97731fc043b7140e50fc4e8bd430c37fad9303

Contents?: true

Size: 1.76 KB

Versions: 2

Compression:

Stored size: 1.76 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.sandbox.midtrans.com/v2/testing-0.2703-1415600236/status
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Veritrans ruby gem 2.0.0beta
      Authorization:
      - Basic VlQtc2VydmVyLTlIdGItUnhYa2c3LTdoem5TQ0NqeHZvWTo=
      Accept:
      - application/json
      Content-Type:
      - application/json
  response:
    status:
      code: 200
      message: ''
    headers:
      Server:
      - nginx
      Date:
      - Mon, 01 Dec 2014 08:23:11 GMT
      Content-Type:
      - application/json
      Content-Length:
      - '602'
      Connection:
      - keep-alive
      Cache-Control:
      - no-cache
      Pragma:
      - no-cache
      Expires:
      - Wed, 31 Dec 1969 17:00:00 GMT
      Vary:
      - Accept-Encoding, User-Agent
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains;
    body:
      encoding: US-ASCII
      string: ! "{\n  \"status_code\" : \"200\",\n  \"status_message\" : \"Success,
        transaction found\",\n  \"transaction_id\" : \"b1cbcc66-5608-4af1-a3ed-0f152f9ed871\",\n
        \ \"masked_card\" : \"481111-1114\",\n  \"order_id\" : \"testing-0.2703-1415600236\",\n
        \ \"payment_type\" : \"credit_card\",\n  \"transaction_time\" : \"2014-11-10
        13:17:33\",\n  \"transaction_status\" : \"settlement\",\n  \"fraud_status\"
        : \"accept\",\n  \"approval_code\" : \"1415600254322\",\n  \"signature_key\"
        : \"90da23d37a4ba8fc717990c35240948ab5a97cad71e46777de77b0fe468ffac8624dc09a80a422671f1f9a56f20956ccbe16c91074327c0ba5a33c8974c8973c\",\n
        \ \"bank\" : \"bni\",\n  \"gross_amount\" : \"30000.00\"\n}"
    http_version: 
  recorded_at: Mon, 01 Dec 2014 08:23:31 GMT
recorded_with: VCR 2.9.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veritrans-2.3.0 spec/fixtures/cli_test_real_txn.yml
veritrans-2.2.0 spec/fixtures/cli_test_real_txn.yml