You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this produces a Typescript error: Object literal may only specify known properties, and 'allow_redisplay' does not exist in type 'CollectPaymentMethodParams'.
Stripe recently issued new guidance via email with subject line "[Action required] Update to consent collection when saving cards on Terminal", which states "You’ll also need to pass allow_redisplay as always or limited via your Terminal SDK..."
To Reproduce
Steps to reproduce the behavior:
Open the example-app
Add allow_redisplay: "always" as an argument to collectPaymentMethod in CollectCardPaymentScreen
See the Typescript error in VS Code
Expected behavior
The allow_redisplay should be supported when creating a PaymentMethod via the Terminal SDK.
Stripe Terminal React Native SDK version
^0.0.1-beta.23
The text was updated successfully, but these errors were encountered:
Ah allow_redisplay was introduced on SDK v4, which we'll upgrade RN SDK to in early January. Looks like we edited the docs a bit too soon, is not being able to use it causing you issues right now?
Describe the bug
The "Save after payment" doc (https://docs.stripe.com/terminal/features/saving-cards/save-after-payment?terminal-sdk-platform=react-native#collect-payment-method) shows this example:
But this produces a Typescript error:
Object literal may only specify known properties, and 'allow_redisplay' does not exist in type 'CollectPaymentMethodParams'
.Stripe recently issued new guidance via email with subject line "[Action required] Update to consent collection when saving cards on Terminal", which states "You’ll also need to pass allow_redisplay as always or limited via your Terminal SDK..."
To Reproduce
Steps to reproduce the behavior:
allow_redisplay: "always"
as an argument tocollectPaymentMethod
inCollectCardPaymentScreen
Expected behavior
The
allow_redisplay
should be supported when creating a PaymentMethod via the Terminal SDK.Stripe Terminal React Native SDK version
^0.0.1-beta.23
The text was updated successfully, but these errors were encountered: