buuugg
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 5/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- powershell
- Domain
- cli
Research direction
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.
Written by the indexing model from the issue text.
Description
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"
}
}
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 341
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PowerShell/PSReadLine
-
Needs-Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PowerShell/PSReadLine#5205 ·
-
Needs-Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PowerShell/PSReadLine#5195 ·
-
Needs-Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PowerShell/PSReadLine#5121 ·
-
Needs-Triage :mag:
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
PowerShell/PSReadLine#5045 ·
-
Area-CommandHelp Issue-Enhancement
Difficulty 1/5 Under an hour Newbie friendliness 68/100
PowerShell/PSReadLine#3470 · 3 reactions ·
All issues in PowerShell/PSReadLine
Similar issues
-
:watch: Not Triaged dotnet-fsharp/svc
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Azure/azure-sdk-for-net#63292 · 3 comments · 1 reaction ·
-
Issue-Enhancement Needs-Triage
Difficulty 1/5 Under an hour Newbie friendliness 86/100
PowerShell/PowerShell#28061 · 2 reactions ·
-
dependencies needs-team-triage server-Azure.Mcp
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
aspnet-core/svc aspnetcore-signalr/subsvc doc-enhancement Pri2 SignalR
Difficulty 1/5 Under an hour Newbie friendliness 88/100
dotnet/AspNetCore.Docs#37729 ·