#a.r.1
1 messages ยท Page 1 of 1 (latest)
Hello! Are you seeing any other errors/anything else jumping out in your logs?
hi, not really
How are you currently setting your API key in your code?
I'm loading it just before presenting the payment sheet in await function.
It was working perfectly before migration, that's why I'm thinking it might be not my fault, but still not sure ๐
Can you show me how you're setting it?
^
Hmmm.... you're getting this error when you're presenting the payment sheet, right?
Are you currently using payment sheet with ephemeral keys?
yes, we are
Have you confirmed that your ephemeral key creation requests are successful?
I've removed ephemeral keys from parameters and see the same error, so it shouldn't be related.
Can you show me your paymentsheet presenting code?
and it's the call to paymentSheet.present that'd failing, right?
And that code still does have ephemeralKey - is that intential?
Hmm... can you share a paymentIntent ID I can take a look at? And can you also share the code for stripePaymentElementBuilder.buildPaymentSheet ?
I've got paymentResult = .failed with error I've sent you abovev
sure
^
paymentIntentID you mean payment secret value?
That would work, yes
pi_3NO1o3Hnen00B3RT0zFiNIgs_secret_YxiIUPQgCHgGex1OB1Byr5E7Z
When you switched from cocoapods to SPM did you also upgrade to a different version of the stripe-ios library?
ok looks like I figured out what's going on, we didn't link some of the libraries with the binary (only linked Stripe and when I linked StripePaymentsUI and StripePaymentSheet it started working)
ahhhh that makes sense! glad you were able to figure it out