Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

205
Views
¿Cuál es el "objeto de resultado" de stripe.redirectToCheckout?
 var stripe = Stripe('pk_test_51JaZneFymkOlJfbtifS7RjJeFPZTchtlvU5iiVmemkU76vOFWWPZOW9GwBDb9518RCoOfkvUQkGV92TyEMaXqYgh00eb6kLKZj'); var session = "<?php echo $checkout_session['id']; ?>"; stripe.redirectToCheckout({ sessionId: session }) .then(function(result) { // If `redirectToCheckout` fails due to a browser or network // error, you should display the localized error message to your // customer using `error.message`. if (result.error) { alert(result.error.message); } }) .catch(function(error) { console.error('Error:', error); });

Por alguna razón, no puedo obtener acceso al valor de "resultado" en >> .then(función (resultado) << ¿alguien puede decirme qué valores están disponibles en el "resultado"?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Si bien esto es poco probable en la mayoría de los escenarios, obtendrá el result con un error y un message como se describe .

Puede probar esto usando, por ejemplo, la aceleración de la red de Chrome para simular una falla en la red.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!