#j_paymentelement-wallets

1 messages ¡ Page 1 of 1 (latest)

lyric groveBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1278735970682015938

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

lusty imp
#

@willow yew Hi!

willow yew
#

This isn't really a question: default test card on stripe, or automatic autofill fields. Idk what you mean

#

We have that question intake form so you can provide as much details as possible

lusty imp
#

im using:

<PaymentElement
          options={
            {
              defaultValues:{
                billingDetails:{
                  name: persistAnonymousUser
                }
              },
              
              
              // layout: {
              //   type: 'accordion',
              //   defaultCollapsed: true,
              //   radios: true,
              //   spacedAccordionItems: false,
              // },
            }
          }
        />
#

If im on demo mode, i would like to autofill the form

#

Its possible?

willow yew
#

Autofill with what? Autofill how exactly?

lusty imp
#

Never mind.

More concrete question:
There is any way I can pass manual a credit card number on create payment intent?

#

I want to pass always de 4242 4242 4242 4242

willow yew
#

Yeah you can either create a payment method with that card number and pass its payment method id or you can pass pm_card_visa to the payment method field

lusty imp
#

can you give me 5 min so i can test?

#

amaziong thank you

#

another question

#

This is my payment component. I am already managing the "Google Pay or Apple pay button" with my own UI. There is a way I can remove on the Form the "Tarjeta and Google Pay" buttons?

#

It takes a lot of space and it kind of repeat the information

willow yew
#

Then it will only show card

lusty imp
#

Amazing, but this wont affect the ExpressCheckoutElement?

willow yew
#

This is for the payment element

#

That's what you're referring to, right?

#

You want to hide google pay in the payment element?

lusty imp
#

Yes

#

Im afraid that it bugs my other payment flow which is ExpressCheckoutElement

willow yew
#

No this is the options object for the payment element

#

Has no impact on express checkout element

lusty imp
#

Thank you very much and sorry for my bad explanation on the form

willow yew
#

No worries

#

Happy to help

lyric groveBOT