Signal-iOS/SignalMessaging/Subscriptions
Evan Hahn 8c7c35b887 Show better errors for credit/debit card failures
For example, if we get the `expired_card` error code back from Stripe,
we should show a specific error to the user.

This introduces some TODOs around error messages in a couple of spots.
We will revisit this when implementing PayPal monthly donations, as is
explained in the comments.

I tested this by using some of [Stripe's test numbers][0] (as well as
automated tests).

[0]: https://stripe.com/docs/testing#declined-payments
2022-12-13 15:45:24 -06:00
..
CachedBadge.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
DonationMode.swift Only allow PayPal for one-time and gift donations 2022-12-01 14:39:03 -08:00
DonationPaymentMethod.swift Add a no-op PayPal donations button 2022-12-01 14:39:03 -08:00
DonationUtilities.swift Change error string for minimum donation amount 2022-12-12 15:46:32 -06:00
Paypal.swift One-time donations via PayPal 2022-12-01 14:39:03 -08:00
Paypal+API.swift Use a custom scheme to complete the PayPal auth flow 2022-12-06 13:41:24 -08:00
Paypal+WebAuthentication.swift Hold a reference to an in-progress ASWebAuthenticationSession 2022-12-06 16:56:24 -08:00
Stripe.swift Show better errors for credit/debit card failures 2022-12-13 15:45:24 -06:00
Stripe+3DSecure.swift Support 3D Secure for card donations 2022-11-29 16:07:44 -06:00
Stripe+PaymentMethod.swift Add skeleton credit/debit card donation support 2022-11-22 09:07:36 -06:00
Stripe+StripeError.swift Show better errors for credit/debit card failures 2022-12-13 15:45:24 -06:00
SubscriptionManager.swift One-time donations via PayPal 2022-12-01 14:39:03 -08:00
SubscriptionManager+DonationConfiguration.swift One-time donations via PayPal 2022-12-01 14:39:03 -08:00