mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat(api): add browser information in payments response (#3963)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -736,12 +736,11 @@ pub fn add_apple_pay_payment_status_metrics( | ||||
| } | ||||
|  | ||||
| #[allow(clippy::too_many_arguments)] | ||||
| pub async fn trigger_payments_webhook<F, Req, Op>( | ||||
| pub async fn trigger_payments_webhook<F, Op>( | ||||
|     merchant_account: domain::MerchantAccount, | ||||
|     business_profile: diesel_models::business_profile::BusinessProfile, | ||||
|     key_store: &domain::MerchantKeyStore, | ||||
|     payment_data: crate::core::payments::PaymentData<F>, | ||||
|     req: Option<Req>, | ||||
|     customer: Option<domain::Customer>, | ||||
|     state: &crate::routes::AppState, | ||||
|     operation: Op, | ||||
| @ -770,7 +769,6 @@ where | ||||
|             | enums::IntentStatus::PartiallyCaptured | ||||
|     ) { | ||||
|         let payments_response = crate::core::payments::transformers::payments_to_payments_response( | ||||
|             req, | ||||
|             payment_data, | ||||
|             captures, | ||||
|             customer, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Narayan Bhat
					Narayan Bhat