mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	refactor(connector): added amount framework to paypal, payouts and routing (#4865)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com> Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
		| @ -169,7 +169,7 @@ impl From<payout_models::PayoutCreateResponse> for StripePayoutResponse { | ||||
|     fn from(res: payout_models::PayoutCreateResponse) -> Self { | ||||
|         Self { | ||||
|             id: res.payout_id, | ||||
|             amount: res.amount, | ||||
|             amount: res.amount.get_amount_as_i64(), | ||||
|             currency: res.currency.to_string(), | ||||
|             payout_type: res.payout_type, | ||||
|             status: StripePayoutStatus::from(res.status), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sahkal Poddar
					Sahkal Poddar