Skip to content

Problem with order_id that have '/' #70

Description

@ahmadfadlydziljalal

Tanya, tolong berikan best practice,

Jika order_id = 00561/05/ADI-IL/24JKT, dan ini adalah ketentuan tempat bekerja,
maka saat GET transaction_status seperti:

 return Transaction::status('00561/05/ADI-IL/24JKT')

pasti error, dengan response:

 {
     "timestamp":"2024-05-17T06:24:01.223+0000",
     "status":404,
     "error":"Not Found",
     "message":"Not Found",
     "path":"/v2/00561/05/ADI-IL/24JKT/status"
}

path nya jadi tidak sesuai. Terima kasih.

Dan, jika mengguanakan Transaction::status($param), dimana $param tidak bisa menggunakan order_id, melainkan harus transaction_id

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions