mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:50:53 +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:
		| @ -170,7 +170,8 @@ pub async fn construct_payout_router_data<'a, F>( | ||||
|         payment_method_status: None, | ||||
|         request: types::PayoutsData { | ||||
|             payout_id: payouts.payout_id.to_owned(), | ||||
|             amount: payouts.amount, | ||||
|             amount: payouts.amount.get_amount_as_i64(), | ||||
|             minor_amount: payouts.amount, | ||||
|             connector_payout_id: payout_attempt.connector_payout_id.clone(), | ||||
|             destination_currency: payouts.destination_currency, | ||||
|             source_currency: payouts.source_currency, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sahkal Poddar
					Sahkal Poddar