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

94
Visualizações
JS Stripe Apple pay without instant charge

I have setup stripe for card & apple pay payments, but now i need to setup apple so that clients will confirm the payment but not get charged instantly and i will charge them in future.

At the moment i am doing the following actions:

  1. Check if he can make payment with request.canMakePayment function
  2. Setup the on payment method with request.on("paymentmethod")
  3. Save the payment method when on paymentmethod function resolves
  4. In the function of paymentmethod i do stripe.confirmCardPayment with setup_future_usage: "off_session"
  5. And in the result of confirming card i just finish my flow

With these steps the payment goes through but the user is charged instantly. How can i prevent this from happening ? I've red the documentation but i can't seem to get the hang of the scenario that i need.

about 4 years ago · Juan Pablo Isaza
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