mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-28 11:36:53 -05:00
default latest_webhook_timestamp value
This commit is contained in:
@@ -559,7 +559,8 @@ router.post('/stripe/checkout/:priceId', async (request, response) => {
|
||||
|
||||
await database.PNID.updateOne({ pid }, {
|
||||
$set: {
|
||||
'connections.stripe.customer_id': customer.id // ensure PNID always has latest customer ID
|
||||
'connections.stripe.customer_id': customer.id, // ensure PNID always has latest customer ID
|
||||
'connections.stripe.latest_webhook_timestamp': 0
|
||||
}
|
||||
}, { upsert: true }).exec();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user