The getPaymentInfo method gets called by two different threads, notifications and events around the same time.
If the plugin has responded to the first call with status SUCCESS, is it ok to not provide any status in the second call?
--- logs for the first call ---
{
"@timestamp": "2025-11-27T08:42:15.843Z",
"message": "getPaymentInfo: kbAccountId=aa9597df-39bd-418c-bec6-981c6bda2c00, kbPaymentId=4ce9ba79-c62d-408a-815e-7a5fcee4fab3",
"logger_name": "com.comcast.lms.killbill.LmsPaymentPluginApi",
"thread_name": "notifications-th",
"level": "INFO",
"kb.userToken": "c2d0ecfa-3a1e-4e88-9ac1-bbe6b80e8cac",
"kb.tenantRecordId": "1",
"kb.accountRecordId": "502"
}
--- logs for the second call ---
{
"@timestamp": "2025-11-27T08:42:17.843Z",
"message": "getPaymentInfo: kbAccountId=aa9597df-39bd-418c-bec6-981c6bda2c00, kbPaymentId=4ce9ba79-c62d-408a-815e-7a5fcee4fab3",
"logger_name": "com.comcast.lms.killbill.LmsPaymentPluginApi",
"thread_name": "bus_ext_events-th",
"level": "INFO",
"oat": "81413b1b20e64e84bee9e18f97a34706",
"kb.tenantRecordId": "1",
"kb.accountRecordId": "502"
}
Thank you,