failed payment method handling
This commit is contained in:
@@ -131,6 +131,18 @@ const Rental = sequelize.define("Rental", {
|
||||
chargedAt: {
|
||||
type: DataTypes.DATE,
|
||||
},
|
||||
// Payment failure notification tracking
|
||||
paymentFailedNotifiedAt: {
|
||||
type: DataTypes.DATE,
|
||||
},
|
||||
// Payment method update rate limiting
|
||||
paymentMethodUpdatedAt: {
|
||||
type: DataTypes.DATE,
|
||||
},
|
||||
paymentMethodUpdateCount: {
|
||||
type: DataTypes.INTEGER,
|
||||
defaultValue: 0,
|
||||
},
|
||||
deliveryMethod: {
|
||||
type: DataTypes.ENUM("pickup", "delivery"),
|
||||
defaultValue: "pickup",
|
||||
|
||||
Reference in New Issue
Block a user