Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Build failing due to Use of undeclared identifier 'STPCardBrandVisa' #1716

Open
SwetaTanwar opened this issue Aug 14, 2024 · 2 comments

Comments

@SwetaTanwar
Copy link

Summary

I have a react native project where am using Stripe iOS SDK. I am upgrading the react-native version from 0.72.7 to 0.73.9.
After upgrading, iOS build has started failing with the error Use of undeclared identifier 'STPCardBrandVisa'.
I can find the STPCardBrand enum defined in the Stripe pods but still getting this error.
It used to work fine on previous react-native version i.e 0.72.7

Code to reproduce

PKAddPaymentPassRequestConfiguration *config = [STPPushProvisioningContext requestConfigurationWithName:cardDetails[@"cardHolderName"] description:cardDetails[@"cardDescription"] last4:cardDetails[@"last4digitsOfCard"] brand:STPCardBrandVisa primaryAccountIdentifier:cardDetails[@"cardId"]];

Installation method

Via cocoapods

pod 'Stripe'

SDK version

Stripe: 23.29.1
react-native: 0.73.9
XCode: 15.4

Screenshot 2024-08-14 at 7 07 42 PM Screenshot 2024-08-14 at 7 08 23 PM
@SwetaTanwar
Copy link
Author

Any update on the above?

@porter-stripe porter-stripe transferred this issue from stripe/stripe-ios Aug 19, 2024
@SwetaTanwar
Copy link
Author

Team, do we have any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant