Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

128
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda