mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	fix(connector): [Checkout] Fix incoming webhook event mapping (#1197)
This commit is contained in:
		| @ -762,7 +762,7 @@ impl From<CheckoutTransactionType> for api::IncomingWebhookEvent { | ||||
|     fn from(transaction_type: CheckoutTransactionType) -> Self { | ||||
|         match transaction_type { | ||||
|             CheckoutTransactionType::PaymentApproved => Self::PaymentIntentSuccess, | ||||
|             CheckoutTransactionType::PaymentDeclined => Self::PaymentIntentSuccess, | ||||
|             CheckoutTransactionType::PaymentDeclined => Self::PaymentIntentFailure, | ||||
|             CheckoutTransactionType::PaymentRefunded => Self::RefundSuccess, | ||||
|             CheckoutTransactionType::PaymentRefundDeclined => Self::RefundFailure, | ||||
|             CheckoutTransactionType::DisputeReceived | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Prasunna Soppa
					Prasunna Soppa