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
When a merchant is created a merchant_key_store is created, which goes along with the merchant_account. But when the merchant account is deleted, the key store is not deleted.
Expected Behavior
Both merchant account and key store should be delted.
Actual Behavior
The key store still exists.
Steps To Reproduce
Create a merchant account.
Delete the merchant account.
Context For The Bug
No response
Environment
Local
Have you spent some time checking if this bug has been raised before?
You can implement a delete_by_merchant_id() method on MerchantKeyStore in the diesel_models crate here. You can make use of the generic_delete() function to delete the merchant key store entry. (Refer to usages of the generic_delete() function to understand how it can be called.)
You can then add delete_merchant_key_store_by_merchant_id() as a trait method on the MerchantKeyStoreInterface trait and implement it here.
Bug Description
When a merchant is created a
merchant_key_store
is created, which goes along with themerchant_account
. But when the merchant account is deleted, the key store is not deleted.Expected Behavior
Both merchant account and key store should be delted.
Actual Behavior
The key store still exists.
Steps To Reproduce
Context For The Bug
No response
Environment
Local
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?
No, but I'm happy to collaborate on a PR with someone else
The text was updated successfully, but these errors were encountered: