mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 21:37:41 +08:00
fix(connector): use reference as payment_id in trustpay (#1444)
This commit is contained in:
committed by
GitHub
parent
8ebcc1ce39
commit
3645c49b38
@ -231,7 +231,7 @@ fn get_card_request_data(
|
|||||||
cvv: ccard.card_cvc.clone(),
|
cvv: ccard.card_cvc.clone(),
|
||||||
expiry_date: ccard.get_card_expiry_month_year_2_digit_with_delimiter("/".to_owned()),
|
expiry_date: ccard.get_card_expiry_month_year_2_digit_with_delimiter("/".to_owned()),
|
||||||
cardholder: ccard.card_holder_name.clone(),
|
cardholder: ccard.card_holder_name.clone(),
|
||||||
reference: item.attempt_id.clone(),
|
reference: item.payment_id.clone(),
|
||||||
redirect_url: return_url,
|
redirect_url: return_url,
|
||||||
billing_city: params.billing_city,
|
billing_city: params.billing_city,
|
||||||
billing_country: params.billing_country,
|
billing_country: params.billing_country,
|
||||||
|
|||||||
Reference in New Issue
Block a user