You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently preprocessing is called for all types of wallets in Trustpay and Payme . As a result for wallets such as Wechatpay that is not implemented in Trustpay, still hits the connector during preprocessing call and results in a de-serialization error
Expected Behavior
is_preprocessing_required_for_wallets , must check for wallet types
Actual Behavior
is_preprocessing_required_for_wallets , doesn't check for wallet types
Steps To Reproduce
Provide an unambiguous set of steps to reproduce this bug. Include code or configuration to reproduce, if relevant.
Bug Description
Currently preprocessing is called for all types of wallets in Trustpay and Payme . As a result for wallets such as Wechatpay that is not implemented in Trustpay, still hits the connector during preprocessing call and results in a de-serialization error
Expected Behavior
is_preprocessing_required_for_wallets
, must check for wallet typesActual Behavior
is_preprocessing_required_for_wallets
, doesn't check for wallet typesSteps To Reproduce
Provide an unambiguous set of steps to reproduce this bug. Include code or configuration to reproduce, if relevant.
Context For The Bug
request_id: 018fbeb3-f9c2-7e03-a8ea-8fb37dd05f1f
extra_error : {"error":{"type":"api","message":"Something went wrong","code":"HE_00"}}
├╴at crates/router/src/services/api.rs:1039:14
│
├─:arrow_forward: {"error":{"type":"server_not_available","code":"HE_00","message":"Something went wrong"}}
│ ╰╴at crates/router/src/core/errors/utils.rs:314:17
│
├─:arrow_forward: Failed to deserialize connector response
│ ╰╴at crates/router/src/connector/trustpay.rs:510:14
│
├─:arrow_forward: Failed to parse struct: TrustpayCreateIntentResponse
│ ├╴at /router/crates/common_utils/src/ext_traits.rs:194:14
│ ╰╴Unable to parse router::connector::trustpay::transformers::TrustpayCreateIntentResponse from bytes b"{"status":0,"description":"payment intent successfully created","instanceId":"6NlXJvhLdKbx4mG-zmKcIQ","secrets":{"display":"dlhjVEWBFNSIzikvG7QDz6-Z-FIXkfyRCIxqs8pdcB-d1eLHMEqMkJjfnlYRAVLhJtRHj7ySJ_3MpeM9I9eaZZeDX8dAI1nbfQEcBehjMsvmxaG16Hc0KlVbQKH6EZH_","payment":"k4_qIbx2VPlBu9h2102IP2mXWxF9IQeFoLHTMKKUgVpHD51qZpWG6UB5htsDCxRBCoRxAquIsfQwrfCWqsqLdcDW4XGV07L9d_-bD2__96YrMzKIUYbR1jh6p9fkpxt_"}}"
│
╰─:arrow_forward: no variant of enum InitResultData found in flattened data at line 1 column 396
╰╴at /router/crates/common_utils/src/ext_traits.rs:194:14
message : [SERVER_WRAP - EVENT] router::services::api
request_url_path : /payments/pay_Lixk4mVuPrHqpSJ6JjAx/confirm
*request_method : *POST
*flow :*PaymentsConfirm
*line : *1292
*merchant_id : *postman_merchant_GHAction_62cf6f50-0045-49fd-a4dc-ac998e513a0a
*hostname: *bach-2024-05-24-1-549769dd66-8f2dp
Environment
Are you using hyperswitch hosted version? Yes/No
If yes, please provide the value of the
x-request-id
response header to help us debug your issue.If not (or if building/running locally), please provide the following details:
rustc --version
): ``cargo r --features vergen -- --version
): ``Have you spent some time checking if this bug has been raised before?
Have you read the Contributing Guidelines?
Are you willing to submit a PR?
None
The text was updated successfully, but these errors were encountered: