hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

feat(connector): [Novalnet] add webhooks for card

Open dgeee13 opened this issue 1 year ago • 1 comments

Type of Change

  • [ ] Bugfix
  • [X] New feature
  • [ ] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates
  • [ ] Documentation
  • [ ] CI/CD

Description

  1. Implemented webhooks
  2. Fix for u16 deserialization error
  3. Fix for discrepancies in structs

Additional Changes

  • [ ] This PR modifies the API contract
  • [ ] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

Motivation and Context

https://github.com/juspay/hyperswitch-cloud/issues/6806

How did you test it?

Tested the change manually for the following flows

  1. Automatic Capture
  2. Manual Capture
  3. Refunds
  4. Cancel
  5. Dispute Screenshot 2024-10-03 at 18 48 00
Screenshot 2024-10-03 at 18 48 09

Checklist

  • [X] I formatted the code cargo +nightly fmt --all
  • [X] I addressed lints thrown by cargo clippy
  • [X] I reviewed the submitted code
  • [ ] I added unit tests for my changes where possible

dgeee13 avatar Sep 25 '24 18:09 dgeee13

@secustor please take a look at the attached PR, is it what you were looking for?

deejay1 avatar Sep 26 '24 20:09 deejay1

Pretty much, though the sure is different. See my comments on the PR.

secustor avatar Sep 26 '24 22:09 secustor

Fixed

deejay1 avatar Sep 27 '24 08:09 deejay1

You could achieve this by changing your profile transform of your auth provider setup so that the correct image is present upfront.

freben avatar Sep 27 '24 10:09 freben