hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[REFACTOR] Remove `payment_method_id` being used as a fallback for `locker_id`

Open Chethan-rao opened this issue 1 year ago • 0 comments

If locker_id was not found in the payment_methods entry, we used to assume payment_method_id as locker_id. But since all the migrations have been taken care of, it is safe to remove this fallback logic. locker_id itself is an optional field in the application. So, if it is not found in case of card and bank_transfer, we should throw an error.

Chethan-rao avatar Feb 29 '24 18:02 Chethan-rao