#Iyyappan

1 messages · Page 1 of 1 (latest)

unreal acornBOT
brisk field
#

What do you mean by 'not working'? It's not available on the Payment Sheet?

patent patrol
#

Any extra config there in the package?

brisk field
#

Can you share an example Payment Intent where it's unavailable? pi_xxx

patent patrol
#

pi_3LzIMFCh0aVQteBp1P1MTjmT_secret_WcFp1FaZX20LNY11OFJf0H5kg

patent patrol
brisk field
#

Hmm, can see its offered as an available PM on that payment

#

My guess is you may need to update SDK version

patent patrol
#

I'm using Latest Expo SDK version 46.

#

Can you let me know the Afterpay is working the Expo react native?

brisk field
#

Which versions of the iOS/Android SDKs are bundled in your app?

patent patrol
#

33

#

buildToolsVersion = '31.0.0'
compileSdkVersion = '31'
targetSdkVersion = '31'

brisk field
#

Hmm, don't think that correlates to stripe-ios or stripe-android version as they're both not at v33

ornate sun
#

could you also share more details like the exact code you're using to display the PaymentSheet, and if this happens on iOS or Android targets, or both?

patent patrol
#

const { error } = await initPaymentSheet({
customerId:customer,
paymentIntentClientSecret: paymentIntent,
customerEphemeralKeySecret:ephemeralKey,
merchantCountryCode:"CA",
applePay:{
merchantCountryCode:"CA",
},
googlePay:{
merchantCountryCode:"CA",
testEnv:true,
currencyCode:'CAD'
},

    allowsDelayedPaymentMethods: true,
    merchantDisplayName:"Stripe",
    
  });
ornate sun
#

I notice you don't pass a returnUrl, which is important and not passing it will cause a lot of payment methods to not be possible on iOS

#

does this happen(Afterpay not appearing) on iOS or Android targets, or both?

patent patrol
#

Yes the AfterPay is not appearing both.

ornate sun
#

well I'd suggest two things

  • set up a return URL for iOS per the links above
  • confirm the version of our libraries you use. The easiest way is that I can tell you — please make some test payment using a card instead for example in your app, and share the PaymentIntent ID pi_xxx so I can check our logs
patent patrol
#

I'm using Expo SDK 46 with @stripe/stripe-react-native version 0.13.1.

#

pi_3LzIMFCh0aVQteBp1P1MTjmT_secret_WcFp1FaZX20LNY11OFJf0H5kg

ornate sun
#

I need you to make a payment on that PaymentIntent so that there's a log from your app (please make some test payment using a card instead for example in your app)

ornate sun
#

maybe you need to do an npm update so it actually updates Expo's dependencies? I have never used Expo myself, but its version 46 should have the latest version of our SDKs. Your app is just not using them

#

so you need to do a full clean update or something for example.

patent patrol
#

I'm already used latest version @stripe/stripe-react-native version 0.19.0
But no reaction

ornate sun
#

if you're using the latest version, can you now check if it works on Android and not iOS?

patent patrol
#

Both not working

#

Can you help to fix?

#

What is the exact issue @ornate sun ?

ornate sun
#

if I knew I would tell you

#

let me try this in my app and I'll get back to you!

patent patrol
#

Any documents there run process?

ornate sun
#

not sure what that means

#

anyway let me try to get Afterpay running in my own React Native app and I'll get back to you with anything I find

patent patrol
#

okay thanks

ornate sun
#

unfortunately I wasn't able to get this payment method to show up, and neither was a colleague who I asked to try in their test set up, so there's something deeper going on here it seems like

#

looks like a colleague of yours was also working with on this yesterday, so same thing, please write into https://support.stripe.com/?contact=true so we can dig further into this