#Long Ho

1 messages ยท Page 1 of 1 (latest)

blissful zenithBOT
surreal wadi
#

Apple Pay is part of card payment method type. If the payment_method_types includes card, Apple Pay will be available for Setup Intent with StripeJS

coarse venture
surreal wadi
#

Payment Element will render Apple Pay if card is set in payment_method_types of Setup Intent

coarse venture
#

yeah so I'm trying not to use it bc its limitation in styling. I'm using CardElement + PaymentRequestButtonElement instead. Does that make it impossible to save A/GPay?

surreal wadi
#

For individual elements, it will only collect corresponding payment method type

#

In this case, you can use Payment Request Button with Setup Intent

coarse venture
#

oh hmm is there doc for it somewhere ๐Ÿ˜› ?

#

or if I just pass that element to setupIntent and it'll work?

surreal wadi
#

We don't have doc for it. I'll share the feedback to the team. The steps will be:

  1. Create a Setup Intent with card payment_method_types
  2. Follow the guide here: https://stripe.com/docs/stripe-js/elements/payment-request-button to create a Payment Request Button
  3. Use stripe.confirmCardSetup instead of confirmCardPayment at Step 5 of the above doc
coarse venture
#

gotcha thank you so much!