#gaurav8690

1 messages · Page 1 of 1 (latest)

restive skyBOT
deft forge
#

Payment Element and Express Checkout Element wouldn't be compatible with the Charges API at all. You're not able to create Sources (which you need ot use Charges) with these elements

#

If you want to use PaymentElement or ExpressCheckoutElement you'd need to migrate to using PaymentIntents first

#

I don't think we have specific docs for Payment Request Button + charges anymore because the charges API is so old, but the general idea is that you'd listen for the source event and from there you can use that source to create a charge (https://stripe.com/docs/js/payment_request/events/on_source)

last kiln
#

Thanks for the quick reply and Payment Request button documentation.
Ok, I was expecting that but just wanted to confirm it.

Will keep my eyes open for your response to 3 other questions I have.

deft forge
#

*Can we hide the card payments and enable only Apple Pay for Express Checkout Elements and Payment Elements? *
With Express Checkout Element you'd only see wallets as being availble (there isn't a card input form), but as far as I know you can't hide card payments AND use apple pay for Payment Element. So it sounds like your only optoin for this is Express Checkout Element

#

Can we specify our custom fields and validation with Address Element? 
Example: If we would like to capture building details - elevator vs walkup
No, this isn't somethign we support right now - you'd have to include custom fields in your own UI

last kiln
deft forge
#

Did you look at the docs I sent you? They show that the UI for Express Checkout looks like

#

Express Checkout ONLY accepts wallet payment method types (liek google pay, apply pey, etc)

#

That's why it can't accept payments with other payment methods

last kiln
deft forge
#

How are they contradictory? The first point is talking about card wallets - both Express Checkout and Payment Element support them. The second point is talking about all other types of payment methods (not including wallets) - only Payment Element supports this

restive skyBOT
last kiln
#

The comparison chart is for Express Checkout and Payment Request button.
2nd point just says that
Other types of payment methods are supported for express checkout.

The chart does not talk about Payment Element at all. Why is that coming into picture here?

deft forge
#

AH! That's what I was missing- thanks for clarifying that, I was reading too fast and thought it said Paymetn Element

#

Yeah I agree it's a bit confusing, I think what it's trying to get at is that Express Checkout Element also supports paypal which technically is categorized as it's own payment method on our end

last kiln
#

Thanks for confirming that 🙌

#

It would be great if you could get the docs updated to be more explicit

deft forge
#

👍 will do!

#

I need to head out, but if you need anythign else @tardy ermine can help