Stripe error handling and now you can rent an item for a different time while having an upcoming or active rental
This commit is contained in:
@@ -172,6 +172,9 @@ const Rental = sequelize.define("Rental", {
|
||||
paymentFailedNotifiedAt: {
|
||||
type: DataTypes.DATE,
|
||||
},
|
||||
paymentFailedReason: {
|
||||
type: DataTypes.TEXT,
|
||||
},
|
||||
// Payment method update rate limiting
|
||||
paymentMethodUpdatedAt: {
|
||||
type: DataTypes.DATE,
|
||||
|
||||
Reference in New Issue
Block a user