Fix gift donation getting stuck in pending.
This commit is contained in:
parent
3fa3b93c85
commit
abf22eff44
1 changed files with 4 additions and 0 deletions
|
@ -237,6 +237,10 @@ public class BoostReceiptRequestResponseJob extends BaseJob {
|
|||
receiptCredentialPresentation.serialize())
|
||||
.putBlobAsString(DonationReceiptRedemptionJob.INPUT_TERMINAL_DONATION, terminalDonation.encode())
|
||||
.serialize());
|
||||
|
||||
if (donationErrorSource == DonationErrorSource.GIFT) {
|
||||
SignalStore.donationsValues().setPendingOneTimeDonation(null);
|
||||
}
|
||||
} else {
|
||||
Log.w(TAG, "Encountered a retryable exception: " + response.getStatus(), response.getExecutionError().orElse(null), true);
|
||||
throw new RetryableException();
|
||||
|
|
Loading…
Add table
Reference in a new issue