Skip to content

Inconsistent order_id between Payment Notification and /status API Response #113

@rmdhfz

Description

@rmdhfz

Hi Midtrans team,

I noticed a discrepancy in the order_id field between the payment notification (webhook response or getResponse() from the library) and the /v2/{order_id}/status API response.

This issue started occurring after I successfully enabled the DANA payment channel.

Example:
From payment notification logs from Dashboard

Image

From getResponse or /status endpoint:

Image

Other fields like transaction_id, gross_amount, status_code, payment_type, etc., are consistent across both responses. Only the order_id is mismatched.
This causes confusion in our order tracking logic, since we rely on a consistent order_id for reconciliation and matching user transactions.

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