storePayReplaySuccess should also considre PayingReplay
This commit is contained in:
parent
4dac65e557
commit
5da924a760
@ -736,7 +736,10 @@ async function storePayReplaySuccess(
|
||||
if (isFirst) {
|
||||
throw Error("invalid payment state");
|
||||
}
|
||||
if (purchase.purchaseStatus === PurchaseStatus.Paying) {
|
||||
if (
|
||||
purchase.purchaseStatus === PurchaseStatus.Paying ||
|
||||
purchase.purchaseStatus === PurchaseStatus.PayingReplay
|
||||
) {
|
||||
purchase.purchaseStatus = PurchaseStatus.Paid;
|
||||
}
|
||||
purchase.lastSessionId = sessionId;
|
||||
|
Loading…
Reference in New Issue
Block a user