-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Dear Midtrans Team,
I have identified an issue related to the payment response for Bank BSI.
In the callback response, the order_id and transaction_id returned are exactly the same, whereas they should be different values.
"notifications": {
"status_code": "200",
"transaction_id": "A120251205074834XeVg4mKHIMID",
"gross_amount": "113500.00",
"currency": "IDR",
"order_id": "A120251205074834XeVg4mKHIMID",
"payment_type": "bank_transfer",
"signature_key": "5c0984408570a5dfcfd15ba42e46e552f41750a46ebcf0203fe72d01801c7eadc14e59c34c1227b04d50503de0426ea79027bbd55fd1d03f6f4382010520bfac",
"transaction_status": "settlement",
"fraud_status": "accept",
"status_message": "Success, transaction is found",
"merchant_id": "G681706693",
"va_numbers": [
{
"bank": "bsi",
"va_number": "20203314732052930"
}
],
"payment_amounts": [],
"transaction_time": "2025-12-05 14:48:34",
"settlement_time": "2025-12-05 14:49:38",
"expiry_time": "2025-12-06 14:48:34"
},
"status": {
"status_code": "200",
"transaction_id": "A120251205074834XeVg4mKHIMID",
"gross_amount": "113500.00",
"currency": "IDR",
"order_id": "A120251205074834XeVg4mKHIMID",
"payment_type": "bank_transfer",
"signature_key": "5c0984408570a5dfcfd15ba42e46e552f41750a46ebcf0203fe72d01801c7eadc14e59c34c1227b04d50503de0426ea79027bbd55fd1d03f6f4382010520bfac",
"transaction_status": "settlement",
"fraud_status": "accept",
"status_message": "Success, transaction is found",
"merchant_id": "G681706693",
"va_numbers": [
{
"bank": "bsi",
"va_number": "20203314732052930"
}
],
"payment_amounts": [],
"transaction_time": "2025-12-05 14:48:34",
"settlement_time": "2025-12-05 14:49:38",
"expiry_time": "2025-12-06 14:48:34"
}
The notification object is obtained from:
$notif = new \Midtrans\Notification();
$response = (object) $notif->getResponse();
The status object is obtained from:
$status = \Midtrans\Transaction::status($transaction_id);
Could you please verify and clarify why both IDs are identical, and confirm whether this is expected behavior specifically for BSI transactions?
Thank you for your assistance.
erickdewa
Metadata
Metadata
Assignees
Labels
No labels