#j_paymentelement-wallets
1 messages ¡ Page 1 of 1 (latest)
đ 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.
- j_express-description, 6 days ago, 16 messages
@willow yew Hi!
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
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?
Autofill with what? Autofill how exactly?
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
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
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
Yeah you need to set your wallets to 'never' when creating the payment element: https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-wallets
Then it will only show card
Amazing, but this wont affect the ExpressCheckoutElement?
This is for the payment element
That's what you're referring to, right?
You want to hide google pay in the payment element?
No this is the options object for the payment element
Has no impact on express checkout element
Thank you very much and sorry for my bad explanation on the form