Pete Walters
f600302f89
Change how PayPal paymentID is parsed
2024-02-06 09:00:43 -06:00
Max Radermacher
d24c370cb1
Convert OWSUserProfile to SDSCodableModel
2024-01-24 17:14:10 -06:00
Pete Walters
ce7c2f69fc
Clean up how remote/local subscriptions are deleted
2024-01-18 21:04:12 -06:00
Pete Walters
df7b86f290
Enable iDEAL in production
2024-01-17 10:32:20 -06:00
Pete Walters
bc33958da0
Add support for idealEnabledRegions remote config
2024-01-10 15:26:12 -06:00
Max Radermacher
61c64e4c2e
Clean up places fetch the local user’s profile
2024-01-04 14:32:51 -06:00
Max Radermacher
f1d2daa0b8
Clean up some recurring donation code
2024-01-02 13:27:00 -06:00
Pete Walters
e1d8b4063c
Add error handling for various iDEAL flows
2023-12-18 17:33:03 -06:00
Max Radermacher
a28f3905ae
Properly track donation completion callbacks
2023-12-18 13:46:15 -06:00
Max Radermacher
a836601ee2
Runnerify ReceiptCredentialRedemptionJobQueue
2023-12-18 13:44:23 -06:00
Pete Walters
1c9ccc0baa
Add support for authorizing iDEAL donations through external apps.
2023-12-15 15:28:03 -06:00
Max Radermacher
6b3397b936
Remove confusing “Subscription” prefix
2023-12-12 12:30:31 -06:00
Pete Walters
a069e1e195
Remove email from one-time iDEAL donation flow
2023-12-11 09:42:33 -06:00
Pete Walters
2f53b3e4ec
Support subscriptions in the iDEAL payment flow
2023-12-11 08:57:20 -06:00
Sasha Weiss
4842b0af9c
Allow a missing paymentMethod from Subscriptions
2023-11-16 09:30:26 -08:00
Pete Walters
e72ef46a12
Add basic iDEAL donation support
2023-11-16 08:00:12 -06:00
Sasha Weiss
727c350778
Don't attempt badge redemption if a subscription renewal is retrying
2023-11-15 15:48:02 -08:00
Sasha Weiss
bbf8f5ce0b
Present sheet when subscriptions fail to renew, rather than badges expire
2023-11-15 15:47:14 -08:00
Sasha Weiss
7acc370f67
Suppress 409 errors on receipt credentials for very specific cases
2023-11-14 10:02:46 -08:00
Sasha Weiss
b598baabd5
Add and use SEPA donation remote-config flag
2023-11-13 16:32:38 -08:00
Sasha Weiss
4e4cb470a2
Block donations above a maximum amount via SEPA
2023-11-13 14:24:18 -08:00
Sasha Weiss
30680635f8
Prevent donation-complete sheets from popping on subscription renewal
2023-11-09 15:26:46 -08:00
Sasha Weiss
9b2722c3f2
Only use FeatureFlag to determine SEPA availability
2023-11-08 17:48:01 -08:00
Sasha Weiss
65c977f2e7
SEPA donation fixes and charge failure codes in error sheets
2023-11-08 19:33:11 -06:00
Pete Walters
082d86411d
Add remote config flag for SEPA supported regions
...
Co-authored-by: Elaine <elaine@signal.org>
2023-11-06 18:52:06 -06:00
Sasha Weiss
7f41ecaa8b
Support SEPA bank transfer donations
2023-11-06 13:49:40 -08:00
Elaine
9c7c54efb7
Add donation bank transfer mandate
2023-11-03 16:15:23 -06:00
Elaine
5c6e63720e
Redesign donation payment details input
2023-11-02 13:01:53 -06:00
Max Radermacher
7d94cf95e3
Remove 6 redundant methods from protocol DB
2023-10-31 00:44:09 -05:00
Sasha Weiss
696a2391b8
Fetch chargeFailure from service, rather than storing locally
2023-10-27 12:43:23 -07:00
Sasha Weiss
70ecfd5a3b
Clean up and document subscription receipt credential redemption
2023-10-24 15:32:53 -07:00
Elaine
6563addcde
Rewrite subscription request factory in Swift
2023-10-05 10:08:01 -06:00
Harry
aa0e250cb7
[Death to TSAccountManager, long live TSAccountManager][9] Migrate usages of old TSAccountManager to new
2023-10-05 08:56:08 -07:00
Sasha Weiss
6c305b12ba
Silently allow unrecognized payment method strings
2023-09-28 15:24:22 -07:00
Pete Walters
43b7f38ac9
Remove uses of sharedBackground queues.
2023-09-28 07:46:52 -05:00
Sasha Weiss
e2ee1f8660
Remove extra check before canceling subscription
2023-08-23 13:45:31 -05:00
Harry
f728457039
Update build target to iOS 13.0
2023-06-08 16:21:20 -07:00
Igor Solomennikov
7790837eb5
Remove unnecessary "@objc" in SignalMessaging.
2023-05-16 16:41:49 -07:00
Evan Hahn
ea970bbd02
Clean up "set default subscription payment method" request.
2023-04-24 15:50:26 -07:00
Sasha Weiss
c9fbc9a9ee
Migrate SSKJobRecord and subclasses to SDSCodableModel using factory init
2023-04-13 10:57:48 -07:00
Max Radermacher
b815f45f5b
Populate SubscriptionManager caches earlier
2023-04-11 13:26:40 -07:00
Max Radermacher
fa7f0e98fa
Clear “display badge” when your last badge expires
...
Also, explicitly track “old badges” vs. “new badges” when redeeming.
2023-03-23 00:32:42 -07:00
Sasha Weiss
8047472f68
Rename SubscriptionManagerProtocol
2023-03-14 17:44:38 -07:00
Harry
a146e18aaf
Set up account state and exit registration
...
* Go to chat list view after registration
* sync system contacts during registration
* Use explicit local credentials for storage service operations during registration
* fix tests
* Quick hack to get through double pin confirmation
* Finishing touches
* lint
* fix build
* reload phone number discoverability after storage service sync
* fix tests again
* Take chat auth on account and contact record initializers
* Change around branches for clarity in OWSUserProfile
* pr comments
* Split ChatServiceAuth into the same and AuthedAccount
* fix tests
* merge woes
2023-03-09 21:54:51 -08:00
Harry
003cc19e62
Update SignalCoreKit. Use explicit DispatchQueue instead of relying on the implicit type on promise 'on' params
...
* Use explicit DispatchQueue instead of relying on the implicit type on promise 'on' params
* Update SignalCoreKit
2023-02-07 16:14:39 -08:00
Pete Walters
ac919fcf43
Update Donation UI to handle inactive/failed payments
...
The Donations screen doesn't currently handle backend
subscription failures well. An example of this is when
the backend encounters a repeated payment processing
failure. Currently, in these situations the donation
screens will display an active donation along with the
renewal date.
To remedy this, the UI now checks that the subscription
status is 'active' before displaying any of the
active subscription UI.
2023-02-06 13:31:07 -06:00
Evan Hahn
cc92abdc90
Clean up "delete subscriber ID" request
...
This is similar to 227f05e932 .
This change should have no user impact.
This changes the "delete subscriber ID" request in the following ways:
- Adds tests
- Converts it to Swift
- Renames `deleteSubscriptionIDRequest` to `deleteSubscriberID`
- Serializes the data inside the method, rather than requiring callers
to do so
2023-01-27 15:11:48 -08:00
Evan Hahn
227f05e932
Clean up "set subscriber ID" request
...
This change should have no user impact.
This changes the "set subscriber ID" request in the following ways:
- Adds tests
- Converts it to Swift
- Renames `setSubscriptionIDRequest` to `setSubscriberID`
- Serializes the data inside the method, rather than requiring callers
to do so
Tested this with automated tests and manually starting a subscription in
staging.
2023-01-26 13:45:25 -06:00
Evan Hahn
35c314bde5
Clean up donation configuration request
...
This change should have no user impact.
This changes a few things about
`OWSRequestFactory.donationConfigurationRequest()`:
- Adds tests
- Converts it to Swift
- Renames it to `donationConfiguration()`
- Makes it an unauthenticated request
I'm most concerned about that last thing, because it's a behavior
change. However, I think this is safe because:
1. I tested it in a simulator and it works
2. [Android appears to do the same thing][0]
3. A normal `curl` works just fine:
```
curl --insecure 'https://chat.signal.org/v1/subscription/configuration '
```
[0]: 657c5d2bce/libsignal/service/src/main/java/org/whispersystems/signalservice/internal/push/PushServiceSocket.java (L1074)
2023-01-25 13:10:22 -06:00
Evan Hahn
43cea3fa7c
Remove unused parameter from subscription method
...
This change should have no user impact.
This argument was never used so we can remove it.
I also fixed a doc comment. It wasn't exactly wrong, but it wasn't
parsed as intended.
2023-01-21 16:13:41 -06:00