hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

refactor: send full payment object for payment sync

Open Narayanbhat166 opened this issue 2 years ago • 0 comments

Type of Change

  • [x] Refactoring

Description

Send the full body during a payment sync call when calling connector.

Motivation and Context

When calling a connector during a psync call, if there is a connector error, then payments sync call would send the shorter version.

How did you test it?

Checklist

  • [x] I formatted the code cargo +nightly fmt --all
  • [x] I addressed lints thrown by cargo clippy
  • [x] I reviewed submitted code

Narayanbhat166 avatar Feb 09 '23 08:02 Narayanbhat166