#mammouth-elements-updatepm

1 messages · Page 1 of 1 (latest)

late ospreyBOT
true compass
#

mammouth-elements-updatepm

round lake
#

any form i can display to the user ?

true compass
#

I just gave you a link to docs that cover this in details

round lake
#

or i use the same form and hide the email field then i create a new payementMethod using the api

true compass
#

There's a UI for it automatically, it "just works" totally fine

#

I'm sorry, this is a bit cryptic. What email are you referring to? If you collect card details there's no email in any of our Elements

round lake
#

this is the form that is created from elements

true compass
#

That email field is not from Stripe

#

it's from your own form/input right?

round lake
#

no, a option from your settings maybe ?!?

true compass
#

I'm sorry I have no idea what this sentence could mean

#

You're the developer, you own the code here, how are you making this form appear?

true compass
#

@round lake are you still here?

round lake
#

I'm trying to find out where this email came from.

#

have nothing else than

#

elements = stripe.elements({ clientSecret, appearance });

    const linkAuthenticationElement = elements.create("linkAuthentication");
    linkAuthenticationElement.mount("#link-authentication-element");

    const paymentElementOptions = {layout: "tabs"};

    const paymentElement = elements.create("payment", paymentElementOptions);
    paymentElement.mount("#payment-element");
true compass
#

Cool so you have two separate elements here. The email is from the linkAuthentication one, not PaymentElement

#

You can do the same thing for collecting new card details, there's no different

round lake
#

perfect, thanks

#

Stripe support service is #1

late ospreyBOT