#usmseong_29857
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- usmseong_29857, 19 hours ago, 4 messages
- usmseong_29857, 1 day ago, 43 messages
- usmseong_29857, 1 day ago, 14 messages
- usmseong_29857, 1 day ago, 7 messages
- usmseong_29857, 2 days ago, 13 messages
- usmseong_29857, 2 days ago, 4 messages
and 5 more
Hi, let me help you with this.
Basically you want to authorize a payment without capturing the charge, right?
yes
You can take a look at this: https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
ahh thank you! looks it's possible. awesome. another question - what i'm trying to do is basically to use Payment Intent for $0 purchases for some business reason. is there a way to do this? instead of using Set Up Intent or do authorize a payment without capturing the charge?
What is the reason for this exactly? What are you trying to achieve? Depending on that I can suggest the best approach.
seems with Payment Intent I can pull billing information
however when using Set Up Intent i can't
in FE
we would like to retrieve billing information from the card so that we don't have to display a Billing Information form on the website
and there's also free trial flows in our website
which is $0
It should be similar for both Setup- and PaymentIntents. Could you point me to a seti_xxx where you couldn't get the billing address?
i meant in the FE. what I'm doing is depending on the price, it's the price is $0, I display ExpressCustomElement if not, I display PaymentRequestButtonElement
and when I'm using PaymentRequestButtonElement pass "paymentRequest"
<PaymentRequestButtonElement
options={{
paymentRequest,
},
},
}}
/>
and there's a handler that I listen doing like
paymentRequest.on('paymentmethod', onPaymentMethod);
and onPaymentMethod I can get billing information
so you are saying even with Set Up Intent in the FE, I can still use this onPaymentMethod handler?
By "ExpressCustomElement" you mean Express Checkout Element? https://stripe.com/docs/elements/express-checkout-element
yes
Why exactly do you use both components?