#AndroidSword-iOS-SDK

1 messages · Page 1 of 1 (latest)

odd yoke
#

Hi there! What error are you seeing exactly?

undone anchor
#

Value of type 'PaymentIntentParameters' has no member 'setupFutureUsage'

#

This is the exact error

odd yoke
#

Thanks. Are you using SwiftUI or UIKit?

undone anchor
#

UIKit

odd yoke
#

Can you provide the snippet of code where you are hitting this?

undone anchor
#

var params = PaymentIntentParameters(amount: args["amount"] as! UInt, currency: args["currency"] as! String)

    if (args["saveCard"] as! Bool) {
        params.setupFutureUsage = "off_session"
    }
odd yoke
#

AndroidSword-iOS-SDK

#

I'm not super familiar with iOS, let me check with a colleague.

undone anchor
#

Sure

odd yoke
#

What version of our iOS SDK are you using?

undone anchor
#

2.0

#

It's the latest right?

odd yoke
#

Okay let's back up a sec. Are you using Terminal and the iOS Terminal SDK?

undone anchor
#

I am using Terminal iOS SDK

#

This is what I followed

#

for iOS

odd yoke
#

As that added setupFUtureUsage

undone anchor
#

Ahhh

#

Alright

#

Thanks