mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(payment_method): set the initial payment method as default until its explicitly set (#3970)
This commit is contained in:
@ -380,6 +380,7 @@ where
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
||||
resp.payment_method_id = generate_id(consts::ID_LENGTH, "pm");
|
||||
payment_methods::cards::create_payment_method(
|
||||
db,
|
||||
|
||||
Reference in New Issue
Block a user