-
Notifications
You must be signed in to change notification settings - Fork 115
Inconsistent order_id between Payment Notification and /status API Response #113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
let me confirm, so the issue is:
|
Hi @uziwuzzy , |
I think this is because dana is from Snap Bi, so we have different formatting. can you show me your implementation when using the getResponse or Notification related code from the library? did you do any mapping? |
Yes, the main issue is that the response from the /v2/{transaction_id}/status endpoint returns an My current workaround is to get the Is this issue only happening in sandbox mode? |
Yes, that’s correct — the issue is that the The temporary solution I received from the Midtrans team is to handle this case specifically in the payment notification handler. When the This request is essentially the same as what the Midtrans library performs, but with the additional header, it allows me to get the correct |
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
From getResponse or
/status
endpoint: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.
The text was updated successfully, but these errors were encountered: