Signal-iOS/SignalMessaging/Subscriptions
Evan Hahn 64462ac1b0 Save a receipt when you send someone a badge
This commit:

1. Adds a new donation receipt type: gifts.
2. Saves receipts when sending someone a gift.

The first part was the main challenge. Previously, donation receipts had
logic like this (pseudocode):

     def getReceiptType(self):
       if self.subscriptionLevel:
         return "subscription"
       else:
         return "one-time"

Now, we explicitly encode the type and have logic to handle "legacy"
receipts that don't have a type encoded.
2022-07-08 13:17:30 -05:00
..
DonationUtilities.swift Use durable job for sending badge gifts 2022-07-01 17:10:31 -05:00
Stripe.swift Use durable job for sending badge gifts 2022-07-01 17:10:31 -05:00
SubscriptionManager.swift Save a receipt when you send someone a badge 2022-07-08 13:17:30 -05:00
SubscriptionReceiptCredentialRedemptionJob.swift Save a receipt when you send someone a badge 2022-07-08 13:17:30 -05:00