mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	refactor(connector): [Payeezy] update error message (#2919)
This commit is contained in:
		| @ -72,11 +72,9 @@ impl TryFrom<utils::CardIssuer> for PayeezyCardType { | |||||||
|             utils::CardIssuer::Maestro |             utils::CardIssuer::Maestro | ||||||
|             | utils::CardIssuer::DinersClub |             | utils::CardIssuer::DinersClub | ||||||
|             | utils::CardIssuer::JCB |             | utils::CardIssuer::JCB | ||||||
|             | utils::CardIssuer::CarteBlanche => Err(errors::ConnectorError::NotSupported { |             | utils::CardIssuer::CarteBlanche => Err(errors::ConnectorError::NotImplemented( | ||||||
|                 message: utils::SELECTED_PAYMENT_METHOD.to_string(), |                 utils::get_unimplemented_payment_method_error_message("Payeezy"), | ||||||
|                 connector: "Payeezy", |             ))?, | ||||||
|             } |  | ||||||
|             .into()), |  | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @ -262,11 +260,9 @@ fn get_payment_method_data( | |||||||
|         | api::PaymentMethodData::Reward |         | api::PaymentMethodData::Reward | ||||||
|         | api::PaymentMethodData::Upi(_) |         | api::PaymentMethodData::Upi(_) | ||||||
|         | api::PaymentMethodData::Voucher(_) |         | api::PaymentMethodData::Voucher(_) | ||||||
|         | api::PaymentMethodData::GiftCard(_) => Err(errors::ConnectorError::NotSupported { |         | api::PaymentMethodData::GiftCard(_) => Err(errors::ConnectorError::NotImplemented( | ||||||
|             message: utils::SELECTED_PAYMENT_METHOD.to_string(), |             utils::get_unimplemented_payment_method_error_message("Payeezy"), | ||||||
|             connector: "Payeezy", |         ))?, | ||||||
|         } |  | ||||||
|         .into()), |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 HeetVekariya
					HeetVekariya