mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(router): add connector to PaymentsResponse (#145)
This commit is contained in:
@ -275,6 +275,7 @@ where
|
||||
.set_amount(payment_attempt.amount)
|
||||
.set_amount_capturable(None)
|
||||
.set_amount_received(payment_intent.amount_captured)
|
||||
.set_connector(payment_attempt.connector)
|
||||
.set_client_secret(payment_intent.client_secret.map(masking::Secret::new))
|
||||
.set_created(Some(payment_intent.created_at))
|
||||
.set_currency(currency)
|
||||
|
||||
Reference in New Issue
Block a user