'Could not invoke StripeSdk.initialise

Problem Image

I'm not able to start Stripe in react native using expo

const [prepared, setPrepared] = useState(false);
const [isAvaliable, setAvaliable] = useState(false);

const {
    isGooglePaySupported,
    initGooglePay,
} = useGooglePay();

useEffect(() => {
    (async () => {
        await LoadFonts();
        await initStripe({publishableKey: "my_key"})

        setPrepared(true);
    })();
}, []);

I want to integrate the Google Pay payment method



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source