#Wellzio

1 messages · Page 1 of 1 (latest)

manic novaBOT
ivory marsh
#

👋 @night oxide How can we help?

night oxide
#

I am still facing issue in seeing applePay and googlePay options

#

Could you please help me?

ivory marsh
#

What's the issue you're facing?

night oxide
#

Not seeing applePay and googlePay in payement sheet

ivory marsh
#

Apple Pay will only be shown in iPhone and Google Pay in Android

#

Could you share which one are you referring to and which SDK are you using?

night oxide
#

Yes it was tested from Iphone and android resp

#

"@stripe/stripe-react-native": "0.2.3",

#

build.gradle file for android - implementation 'com.stripe:stripe-android:0.20.3'

#

You want more info

#

?

ivory marsh
#

Thanks for waiting! Discord is busy now

night oxide
#

yes I followed same steps mentioned in doc

#

Followed all merchant id certificate and all

ivory marsh
#

Could you share the code of initPaymentSheet?

night oxide
#

ok

#

const initializePaymentSheet = async () => {
try {
setVisible(true);
const { error } = await initPaymentSheet({
paymentIntentClientSecret: clientSecret,
merchantDisplayName: "Wellzio",
googlePay: {
merchantCountryCode: 'US',
currencyCode: 'usd',
},
applePay: {
merchantCountryCode: 'US',
}
}
);
if (error) {
setVisible(false);
Alert.alert("Error", "Failed to initialize payment sheet");
}
else {
setVisible(false);
openPaymentSheet();
}
}
catch (exc) {
setVisible(false);
Alert.alert('Error', exc.message);
}
};

ivory marsh
#

Could you share your account ID (acct_xxx), so that I can check if merchant ID is properly set up?

pale yarrow
night oxide
#

Oh let me see

#

WHich version should I upgrade to?

#

Where can I see account id?

ivory marsh
#

The latest react native version is 0.24.0

night oxide
#

Can you just tel me stable version which supports applePay and googlePay

#

with paymentSheeet option

#

Account id - acct_1KLw9TLKlYuBq7sc

pale yarrow
#

We always recommend the latest version

night oxide
#

Android target sdk version is 31 and ios 11 - 0.24.0 will support this?

#

Is there doc where I can check that?

ivory marsh
night oxide
#

Ok

#

For iOS 11 support, please use v21.13.0. means what would be the stripe react native version?

ivory marsh
night oxide
#

Our platform :ios, '11.0'

night oxide
ivory marsh
#

Yup!

night oxide
#

Ok

#

Ok let me try to upgrade and come back if there are any issues

#

Thank you for the help