Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

buuugg

Đang mở
#5,163 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
5/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
powershell
Lĩnh vực
cli

Hướng nghiên cứu

The issue does not name a source file, test, or entry point. First verify whether the reported payment JSON is related to PSReadLine; the expected and actual behavior are identical, so a useful completion criterion cannot be established without a clearer reproduction and description.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.
Exception report
{
  "payment": {
    "id": "bP9mAsEMYPUGjjGNaNO5ZDVyLhSZY",
    "created_at": "2021-10-13T19:34:33.524Z",
    "updated_at": "2021-10-13T19:34:34.339Z",
    "amount_money": {
      "amount": 555,
      "currency": "USD"
    },
    "status": "COMPLETED",
    "delay_duration": "PT168H",
    "source_type": "CARD",
    "card_details": {
      "status": "CAPTURED",
      "card": {
        "card_brand": "VISA",
        "last_4": "1111",
        "exp_month": 11,
        "exp_year": 2022,
        "fingerprint": "sq-1-Hxim77tbdcbGejOejnoAklBVJed2YFLTmirfl8Q5XZzObTc8qY_U8RkwzoNL8dCEcQ",
        "card_type": "DEBIT",
        "prepaid_type": "NOT_PREPAID",
        "bin": "411111"
      },
      "entry_method": "KEYED",
      "cvv_status": "CVV_ACCEPTED",
      "avs_status": "AVS_ACCEPTED",
      "auth_result_code": "2Nkw7q",
      "statement_description": "SQ *EXAMPLE TEST GOSQ.C",
      "card_payment_timeline": {
        "authorized_at": "2021-10-13T19:34:33.680Z",
        "captured_at": "2021-10-13T19:34:34.340Z"
      }
    },
    "location_id": "L88917AVBK2S5",
    "order_id": "d7eKah653Z579f3gVtjlxpSlmUcZY",
    "processing_fee": [
      {
        "effective_at": "2021-10-13T21:34:35.000Z",
        "type": "INITIAL",
        "amount_money": {
          "amount": 34,
          "currency": "USD"
        }
      }
    ],
    "note": "Test Note",
    "total_money": {
      "amount": 555,
      "currency": "USD"
    },
    "approved_money": {
      "amount": 555,
      "currency": "USD"
    },
    "employee_id": "TMoK_ogh6rH1o4dV",
    "receipt_number": "bP9m",
    "receipt_url": "https://squareup.com/receipt/preview/bP9mAsEMYPUGjjGNaNO5ZDVyLhSZY",
    "delay_action": "CANCEL",
    "delayed_until": "2021-10-20T19:34:33.524Z",
    "team_member_id": "TMoK_ogh6rH1o4dV",
    "application_details": {
      "square_product": "VIRTUAL_TERMINAL",
      "application_id": "sq0ids-Pw67AZAlLVB7hsRmwlJPuA"
    },
    "version_token": "56pRkL3slrzet2iQrTp9n0bdJVYTB9YEWdTNjQfZOPV6o"
  }
}
Screenshot

I did that

Environment data
yaa boyy
Steps to reproduce

{
"payment": {
"id": "bP9mAsEMYPUGjjGNaNO5ZDVyLhSZY",
"created_at": "2021-10-13T19:34:33.524Z",
"updated_at": "2021-10-13T19:34:34.339Z",
"amount_money": {
"amount": 555,
"currency": "USD"
},
"status": "COMPLETED",
"delay_duration": "PT168H",
"source_type": "CARD",
"card_details": {
"status": "CAPTURED",
"card": {
"card_brand": "VISA",
"last_4": "1111",
"exp_month": 11,
"exp_year": 2022,
"fingerprint": "sq-1-Hxim77tbdcbGejOejnoAklBVJed2YFLTmirfl8Q5XZzObTc8qY_U8RkwzoNL8dCEcQ",
"card_type": "DEBIT",
"prepaid_type": "NOT_PREPAID",
"bin": "411111"
},
"entry_method": "KEYED",
"cvv_status": "CVV_ACCEPTED",
"avs_status": "AVS_ACCEPTED",
"auth_result_code": "2Nkw7q",
"statement_description": "SQ *EXAMPLE TEST GOSQ.C",
"card_payment_timeline": {
"authorized_at": "2021-10-13T19:34:33.680Z",
"captured_at": "2021-10-13T19:34:34.340Z"
}
},
"location_id": "L88917AVBK2S5",
"order_id": "d7eKah653Z579f3gVtjlxpSlmUcZY",
"processing_fee": [
{
"effective_at": "2021-10-13T21:34:35.000Z",
"type": "INITIAL",
"amount_money": {
"amount": 34,
"currency": "USD"
}
}
],
"note": "Test Note",
"total_money": {
"amount": 555,
"currency": "USD"
},
"approved_money": {
"amount": 555,
"currency": "USD"
},
"employee_id": "TMoK_ogh6rH1o4dV",
"receipt_number": "bP9m",
"receipt_url": "https://squareup.com/receipt/preview/bP9mAsEMYPUGjjGNaNO5ZDVyLhSZY",
"delay_action": "CANCEL",
"delayed_until": "2021-10-20T19:34:33.524Z",
"team_member_id": "TMoK_ogh6rH1o4dV",
"application_details": {
"square_product": "VIRTUAL_TERMINAL",
"application_id": "sq0ids-Pw67AZAlLVB7hsRmwlJPuA"
},
"version_token": "56pRkL3slrzet2iQrTp9n0bdJVYTB9YEWdTNjQfZOPV6o"
}
}

Expected behavior

{
"payment": {
"id": "bP9mAsEMYPUGjjGNaNO5ZDVyLhSZY",
"created_at": "2021-10-13T19:34:33.524Z",
"updated_at": "2021-10-13T19:34:34.339Z",
"amount_money": {
"amount": 555,
"currency": "USD"
},
"status": "COMPLETED",
"delay_duration": "PT168H",
"source_type": "CARD",
"card_details": {
"status": "CAPTURED",
"card": {
"card_brand": "VISA",
"last_4": "1111",
"exp_month": 11,
"exp_year": 2022,
"fingerprint": "sq-1-Hxim77tbdcbGejOejnoAklBVJed2YFLTmirfl8Q5XZzObTc8qY_U8RkwzoNL8dCEcQ",
"card_type": "DEBIT",
"prepaid_type": "NOT_PREPAID",
"bin": "411111"
},
"entry_method": "KEYED",
"cvv_status": "CVV_ACCEPTED",
"avs_status": "AVS_ACCEPTED",
"auth_result_code": "2Nkw7q",
"statement_description": "SQ *EXAMPLE TEST GOSQ.C",
"card_payment_timeline": {
"authorized_at": "2021-10-13T19:34:33.680Z",
"captured_at": "2021-10-13T19:34:34.340Z"
}
},
"location_id": "L88917AVBK2S5",
"order_id": "d7eKah653Z579f3gVtjlxpSlmUcZY",
"processing_fee": [
{
"effective_at": "2021-10-13T21:34:35.000Z",
"type": "INITIAL",
"amount_money": {
"amount": 34,
"currency": "USD"
}
}
],
"note": "Test Note",
"total_money": {
"amount": 555,
"currency": "USD"
},
"approved_money": {
"amount": 555,
"currency": "USD"
},
"employee_id": "TMoK_ogh6rH1o4dV",
"receipt_number": "bP9m",
"receipt_url": "https://squareup.com/receipt/preview/bP9mAsEMYPUGjjGNaNO5ZDVyLhSZY",
"delay_action": "CANCEL",
"delayed_until": "2021-10-20T19:34:33.524Z",
"team_member_id": "TMoK_ogh6rH1o4dV",
"application_details": {
"square_product": "VIRTUAL_TERMINAL",
"application_id": "sq0ids-Pw67AZAlLVB7hsRmwlJPuA"
},
"version_token": "56pRkL3slrzet2iQrTp9n0bdJVYTB9YEWdTNjQfZOPV6o"
}
}

Actual behavior

{
"payment": {
"id": "bP9mAsEMYPUGjjGNaNO5ZDVyLhSZY",
"created_at": "2021-10-13T19:34:33.524Z",
"updated_at": "2021-10-13T19:34:34.339Z",
"amount_money": {
"amount": 555,
"currency": "USD"
},
"status": "COMPLETED",
"delay_duration": "PT168H",
"source_type": "CARD",
"card_details": {
"status": "CAPTURED",
"card": {
"card_brand": "VISA",
"last_4": "1111",
"exp_month": 11,
"exp_year": 2022,
"fingerprint": "sq-1-Hxim77tbdcbGejOejnoAklBVJed2YFLTmirfl8Q5XZzObTc8qY_U8RkwzoNL8dCEcQ",
"card_type": "DEBIT",
"prepaid_type": "NOT_PREPAID",
"bin": "411111"
},
"entry_method": "KEYED",
"cvv_status": "CVV_ACCEPTED",
"avs_status": "AVS_ACCEPTED",
"auth_result_code": "2Nkw7q",
"statement_description": "SQ *EXAMPLE TEST GOSQ.C",
"card_payment_timeline": {
"authorized_at": "2021-10-13T19:34:33.680Z",
"captured_at": "2021-10-13T19:34:34.340Z"
}
},
"location_id": "L88917AVBK2S5",
"order_id": "d7eKah653Z579f3gVtjlxpSlmUcZY",
"processing_fee": [
{
"effective_at": "2021-10-13T21:34:35.000Z",
"type": "INITIAL",
"amount_money": {
"amount": 34,
"currency": "USD"
}
}
],
"note": "Test Note",
"total_money": {
"amount": 555,
"currency": "USD"
},
"approved_money": {
"amount": 555,
"currency": "USD"
},
"employee_id": "TMoK_ogh6rH1o4dV",
"receipt_number": "bP9m",
"receipt_url": "https://squareup.com/receipt/preview/bP9mAsEMYPUGjjGNaNO5ZDVyLhSZY",
"delay_action": "CANCEL",
"delayed_until": "2021-10-20T19:34:33.524Z",
"team_member_id": "TMoK_ogh6rH1o4dV",
"application_details": {
"square_product": "VIRTUAL_TERMINAL",
"application_id": "sq0ids-Pw67AZAlLVB7hsRmwlJPuA"
},
"version_token": "56pRkL3slrzet2iQrTp9n0bdJVYTB9YEWdTNjQfZOPV6o"
}
}

Ngôn ngữ chính
C#
Star
4.4k
Fork
341
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PowerShell/PSReadLine

Tất cả issue của PowerShell/PSReadLine

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.