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:
Narayan Bhat
2024-06-19 17:10:32 +05:30
committed by GitHub
parent 2106a27f40
commit bec51a3557
71 changed files with 1319 additions and 935 deletions

View File

@ -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