Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
fix(payment): restrict the zero-amount candidates in the payment list to coupon renewals
Timothy Yinc31a72650c07
diff --git a/packages/platform/src/deferred-payments.ts b/packages/platform/src/deferred-payments.tsindex 06285322..4608aeea 100644--- a/packages/platform/src/deferred-payments.ts+++ b/packages/platform/src/deferred-payments.ts@@ -98,6 +98,8 @@ export async function reconcileDeferredAuthorization(p.status === 'succeeded' &&(p.total_amount > 0 ||(p.total_amount === 0 &&+ p.charge_type === 'renewal' &&+ !p.is_update_payment_method &&time(p.created_at) >= paidBoundary - 60000)) &&(p.subscription_id === subscription.subscription_id ||p.subscription_ids?.includes(subscription.subscription_id)),