Add Alipay future usage support - #6923
Conversation
Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com>
|
By saving your payment information, you allow %@ to charge you for future payments in accordance with their terms. If it's okay for these strings to be unlocalized in master (e.g. this is for an unshipped feature), add the label New strings are localized on a weekly basis and are downloaded as part of the release process. For more details on how to localize a string, you can refer to this link. |
2 modified, 0 added
StripePaymentsPublic API+ @objc public var currency: Swift.String?
+ @objc public var paymentMethodOptions: StripePayments.STPConfirmPaymentMethodOptions?
+ @objc public var setupFutureUsage: StripePayments.STPPaymentIntentSetupFutureUsageIf you are adding a new public API consider the following:
If you are modifying or removing a public API:
If you confirm these APIs need to be added/updated and have undergone necessary review, add the label ℹ️ If this comment appears to be left in error, make sure your branch is up-to-date with |
|
|
||
| static var alipay_mandate_text: String { | ||
| STPLocalizedString( | ||
| "By saving your payment information, you allow %@ to charge you for future payments in accordance with their terms.", |
There was a problem hiding this comment.
Summary
Adds Alipay support for future-use PaymentIntents and SetupIntents in PaymentSheet. This includes intent-level and payment-method-option-level setup future usage, along with the Alipay mandate shown when saving payment information. The feature is marked as private preview.
Motivation
Alipay future usage private preview
Testing
Changelog
See diff