Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

119
Vistas
How to implement stripe checkout on react native

I am new to react native and I'm currently working on an eCommerce app and trying to figure out how to implement stripe checkout. Would there be any good example or tutorial I can watch to find and implement stripe checkout?

I have tried to implement it on my own, I'm not exactly sure where I can find the session key. Leaving it empty just keeps the payment on loading.

If anyone can help or share a guide I can follow that would be great thanks.

import StripeCheckout from 'react-native-stripe-checkout-webview';


export default class CheckOutScreen extends Component {

  render() {
        return (
          <StripeCheckout
            stripePublicKey='pk_test_ox4IkFUhPnLRLsQSfVDyo--------'
            checkoutSessionInput={{
              sessionId: ' ',
            }}
            onSuccess={({ checkoutSessionId }) => {
              console.log(`Stripe checkout session succeeded. session id: ${checkoutSessionId}.`);
            }}
            onCancel={() => {
              console.log(`Stripe checkout session cancelled.`);
            }}
          />
        );
  }

}
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You can follow the example on their GitHub. However, this is a third-party library library (not developed by Stripe). You can follow the official React Native Stripe guide here.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda