Skip to content

Conversation

@gopikrishna000
Copy link
Contributor

@gopikrishna000 gopikrishna000 commented Jan 26, 2026

Description

nuvei webhook integration

Motivation and Context

Additional Changes

  • This PR modifies the API contract
  • This PR modifies application configuration/environment variables

How did you test it?

@gopikrishna000 gopikrishna000 requested a review from a team as a code owner January 26, 2026 21:40
@gopikrishna000 gopikrishna000 changed the title feat: nuwei webhoook integration feat: nuvei webhoook integration Jan 26, 2026
use transformers::{get_webhook_object_from_body, NuveiWebhook};

let webhook = get_webhook_object_from_body(&request.body)
.change_context(errors::ConnectorError::WebhookSourceVerificationFailed)?;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add attach_printable so that error is logged.


/// Concatenates a vector of strings without any separator
/// This is useful for creating verification messages for webhooks
pub fn concat_strings(strings: &[String]) -> String {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be an utill function. So that is needed other connectors can also use it

}

/// Helper function to check if client_request_id has payout prefix
#[allow(dead_code)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it's not being used we can remove the function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants