You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(subscription): a recovered key from a cancelled order is offered, not installed
An abandoned order settling after the buyer had already bought again applied
its key over the newer one, silently moving the wallet onto the older purchase.
When a newer order exists, the recovered key is now announced rather than
adopted, and its record is kept so the buyer can choose it from Settings.
// Its own address will settle it; adopting here files the key wrong.
619
619
if(!canAdoptFor(record))return;
620
+
// A newer order has taken over since this one was abandoned. Applying
621
+
// this key would silently swap the wallet onto the older purchase, so
622
+
// it is offered rather than installed.
623
+
if(superseded){
624
+
showToast(
625
+
`An earlier order you cancelled has been paid and holds a key for ${record.plan.name}. Open Settings → Subscription to use it instead of your current one.`,
0 commit comments