[REFACTOR] : [Bluesnap] Add connector_transaction_id as fallback for webhooks #3316
Closed
2 tasks done
Labels
C-bug
Category: Bug
Bug Description
Currently we are only consuming
merchant_transaction_id
from the webhook body, this was done to tackle the timeouts issue, but seems like Bluesnap doesn't always includes this id, so we need to addconnector_transaction_id
as fallback for webhook bodyExpected Behavior
add
connector_transaction_id
as fallback for webhook body, so that even if merchant_transaction_id is not present webhook can be processedActual Behavior
Currently we are only consuming
merchant_transaction_id
from the webhook body, this was done to tackle the timeouts issue, but seems like Bluesnap doesn't always includes this id, so we need to addconnector_transaction_id
as fallback for webhook bodySteps To Reproduce
Provide an unambiguous set of steps to reproduce this bug. Include code or configuration to reproduce, if relevant.
Context For The Bug
No response
Environment
Are you using hyperswitch hosted version? Yes/No
If yes, please provide the value of the
x-request-id
response header to help us debug your issue.If not (or if building/running locally), please provide the following details:
rustc --version
): ``cargo r --features vergen -- --version
): ``Have you spent some time checking if this bug has been raised before?
Have you read the Contributing Guidelines?
Are you willing to submit a PR?
Yes, I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: