#netCU
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
when creating the PI you can specify confirm: false https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
this would let you confirm the Payment Intent once you collect the payment details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I set now confirm to false when I create the PaymentIntent - same behavior
We have three calls: createPaymentIntent (PHP), confirmCardPayment (JS) for saving the creditcard number and so on. And last step is confirmPayment (PHP) where we would like that the Payment should be processed and we expect to get a return url for 3DS auth
of course we create the elements with the stripe js api
ok would you mind sending the latest PI id?
3M80lMK6CrY2OmKl0sGYFBF7
pi_3M80lMK6CrY2OmKl0sGYFBF7
did it transfer the creditcard data (number was 4242 4242 4242 4242)
sorry still taking a look
sorry for the late reply
if you're using CardElement (FWIW I highly recommend thinking about moving to PaymentElements in the near future) you can use https://stripe.com/docs/js/payment_methods/create_payment_method to create the PM and send it to the backend to do the confirm
which means that your integration would look like
createPaymentIntent (PHP), createPaymentMethod (JS) for saving the creditcard number and so on. And last step is confirmPayment (PHP) and you pass confirm: true and payment_method: $payment_method_id