Skip to content

Commit 347bb51

Browse files
Add mandate text to payment option (#2035)
* Add mandate text to payment option * API review suggestions * Check if empty too * Update changelog * ci: trigger workflows * Add Android unit test * Reimplement Android HTML generation
1 parent 63a8013 commit 347bb51

8 files changed

Lines changed: 700 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
**Features**
66
- [#1956](https://github.com/stripe/stripe-react-native/pull/1956) Added support for the Billie payment method
7-
- Added `image` to `EmbeddedPaymentElement.PaymentOptionDisplayData`
7+
- Added `image` and `mandateHTML` to `EmbeddedPaymentElement.PaymentOptionDisplayData`
8+
- Added `embeddedViewDisplaysMandateText` to `EmbeddedPaymentElementConfiguration`
89

910
**Changes**
1011
- Klarna: Made `billingDetails.email` and `billingDetails.address.country` optional when creating Klarna payment methods. See Stripe docs: [Migrate Klarna from Sources – Field mapping reference](https://docs.stripe.com/payments/klarna/migrate) ("Not required when using the Payment Element. It’s collected automatically.").

0 commit comments

Comments
 (0)