mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
refactor(storage): remove id from payment intent, attempt and remove datamodel ext from payment intent (#4923)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in>
This commit is contained in:
@ -98,6 +98,7 @@ pub async fn create_link_token(
|
||||
let payment_intent = oss_helpers::verify_payment_intent_time_and_client_secret(
|
||||
&*state.store,
|
||||
&merchant_account,
|
||||
&key_store,
|
||||
payload.client_secret,
|
||||
)
|
||||
.await?;
|
||||
@ -280,6 +281,7 @@ async fn store_bank_details_in_payment_methods(
|
||||
.find_payment_intent_by_payment_id_merchant_id(
|
||||
&payload.payment_id,
|
||||
&merchant_account.merchant_id,
|
||||
&key_store,
|
||||
merchant_account.storage_scheme,
|
||||
)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user