Xcode not recognizing stripe token



Hey everyone, I have integrated the newest of the example project into my app and am getting an Xcode error saying “Type ‘PaymentMethod’ has no member ‘stripeToken’” please let me know if anyone else has had this issue and how you fixed it. Thanks!


Hi @rjmorley,

Apologies for the delay in responding.

Are you using the V2 SDK example? The V2 SDK has an enum case: .stripeToken(token:). You can see an example of where this is used here.

You can find more information about supported payment types in the V2 SDK here. You’ll see that the enum PaymentMethod does include stripeToken, so this should be integrated correctly if you’re on V2.

If you’re on the latest SDK version (3.x), this has been updated to a class so that payment types can be extended more flexibly, you can find information about those classes either on the documentation or in the source.

Hope this helps, let me know if you need any more information,


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.