Skip to content

Problem with order_id that have '/' #70

@ahmadfadlydziljalal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions