#usmseong_29857

1 messages · Page 1 of 1 (latest)

round larkBOT
#

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.

river ledge
#

Hi, let me help you with this.

#

Basically you want to authorize a payment without capturing the charge, right?

topaz turret
#

yes

river ledge
topaz turret
#

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?

river ledge
#

What is the reason for this exactly? What are you trying to achieve? Depending on that I can suggest the best approach.

topaz turret
#

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

river ledge
#

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?

topaz turret
#

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?

river ledge
topaz turret
#

yes

river ledge
#

Why exactly do you use both components?