#hodgln

1 messages · Page 1 of 1 (latest)

steep sequoiaBOT
patent cedar
#

Which SDK are you using? Native iOS or React Native?

final yarrow
#

react native

patent cedar
final yarrow
#

seems similar yeah

#

I don't know what I'm missing that would mean that apple pay is not supported

#

I use initStripe instead of StripeProvider

#

but cant see why that would cause a problem

patent cedar
final yarrow
#

okay

#

from where do I import isPlatformPaySupported

patent cedar
final yarrow
#

Can I use this along with useApplePay?

#

getting usePlatformPay not a function error

elfin hare
#

Hi @final yarrow I'm taking over this thread

final yarrow
#

ok

elfin hare
#

Are you using the latest stripe-react-native SDK?

final yarrow
#

I doubt it, what is the latest version

elfin hare
final yarrow
#

I use 0.19.0

elfin hare
#

This is quite an old version, you might want to update the SDK and try again.

final yarrow
#

Okay

#

will update then return

#

To test this I will have to create a new build, which may take an hour or so

final yarrow
#

Just before I go and do that. I want to check its definitely not my integration thats incorrect.

elfin hare
final yarrow
#

Yes but not with xcode

#

cause i use expo

elfin hare
#

Then you need to check with expo and see how to achieve the above mentioned steps in an expo project.

final yarrow
#

I use expo sdk 47 which means 19 is the highest compatible version

#

I have registered my ios merhcant identifier with stripe and on apple developers. Set it in initStripe(). I don't know what else I need to do?

elfin hare
final yarrow
#

I read about installing my certificate on my server? Not sure how though, you have any idea?

#

yeah all my builds are on testflight in production

elfin hare
#

Did you add a valid credit card to Apple Pay in your test device?

#

And you also enable Apple Pay capability in xcode?

final yarrow
#

No only used the test one, but its due to isApplePaySupported returning false means that I dont even get to see the payment sheet with apple pay

elfin hare
#

You still need to add a credit card to Apple Pay even to test in test mode.

final yarrow
#

I understand, but that isnt the problem, the problem is isApplePaySupported is returning false for an unknown reason

elfin hare
#

I need to know you current situation so that I can help you further.

Can you confirm the following

  1. You've registered a merchant ID
  2. You've created a new Apple Pay certificate
  3. You've set the merchant ID in StripeProvider
  4. You've enabled the Apple Pay capability in xcode
  5. You've add a valid credit card to Apple Pay in your test device
final yarrow
#

Yes all of that is correct,

elfin hare
#

Can you ignore the value of isApplePaySupported , perform an Apple Pay and see what error do you get?