#Nugax
1 messages · Page 1 of 1 (latest)
Hello! It depends. Payment Intents need to be confirmed. You can create and confirm at the same time, or you can create and then separately confirm. More details here: https://stripe.com/docs/payments/paymentintents/lifecycle
What I’m trying to do is simply generate a bill using php, then call code to pay via a store card
Okay. What specific questions do you have about doing that?
So I would setup a payment intent then confirm? Is that what I am understanding
If you're doing an off-session payment, where the customer is not present, it's typical to both create and confirm the Payment Intent in a single API request: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm
Make sure you also set off_session to true: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-off_session
Yes these will be charged to say a card “on file”
So when confirm is true - in the payment attempt, it tried to charges to payment method
Yes, that attempts to charge the payment method.
Ok thank you sir. I’ll try it out!