#j_paymentelement-appearance

1 messages ยท Page 1 of 1 (latest)

silver hamletBOT
#

๐Ÿ‘‹ 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/1263240006500094044

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

timber stratus
noble falcon
#

I already did

#

Here i would like to have an extra option that says apple pay

timber stratus
#

Then you should know we support Apple Pay in

  • Payment Element
  • Checkout
  • Express Checkout Element
  • Payment Request Button
noble falcon
#

i know, look

timber stratus
#

Your screenshot doesn't mean anything to me. What Stripe product are you using?

noble falcon
#

I was making a screenshot

#

When someone chooses to pay via card form, then it appears apple pay as you can see

noble falcon
timber stratus
#

I don't know what Stripe product you are talking about. If you cannot tell me what Stripe product you are using, I cannot help

noble falcon
#

Im using PaymentElements import { PaymentElement, useElements, useStripe } from '@stripe/react-stripe-js'

timber stratus
#

Okay, now we are getting somewhere.

#

Looking at that layout, it looks like the tabs option for the Payment Element. Apple Pay is being displayed. Where do you want it to show up that it is not?

noble falcon
timber stratus
#

They are using Payment Element with radio buttons and have pre-selected Apple/Google Pay

noble falcon
#

Yes, thats what I thought so, thanks for confirm that to me. But how do i show a button 'Apple Pay' like they do and then proceed to pay? because the only way i see i can implement apple way is showing the credit card form ๐Ÿ˜ฆ

timber stratus
#

You can change the options using the Layout menu

noble falcon
#

it shows like this, so you are telling me i can fully customize this? and only show the card, apple pay, after pay etc, on radio buttons, without showing the credit card form?

timber stratus
#

I am saying you should use the menu on that page to adjust the element to see if it matches what you want. Here is the menu I mean.

noble falcon
#

I know i can use accordion, but what i mean is that if is possible to do exactly as the demo i show you?

#

without showing the form

timber stratus
#

You mean leave the form collapsed and have the Apple/Google Pay wallet selected?

noble falcon
#

No no. I want the exact flow as the demo i showed you

#

They choose apple pay before even show the stripe form, i want that

timber stratus
#

One step at a time

noble falcon
#

First of all i would like to make my own ui, maybe with some conditions show the form, but i would like to show the tabs of the payment methods on my own ui, thats a solution

timber stratus
#

Sorry that sounds entirely different from what you were saying before

#

I can only help you with how to configure Stripe products (Payment Element, Express Checkout Element, etc.)

noble falcon
#

Please

#

I dont want to show any stripe UI, i want that the user just selects apple pay and then they can pay...

timber stratus
#

I dont want to show any stripe UI
You can do that if you want but I won't be able to help you with it

noble falcon
#

Ok, dont tell me the design, just tell me how to do it please

timber stratus
#

How do to what?

noble falcon
#

change the design

#

completly

timber stratus
#

You should read our docs

noble falcon
#

fully customizable?

#

i dont want to choose only the theme and change some options stripe give me

timber stratus
#

Those are the options we have available

noble falcon
#

Dude.. Omg, just tell me i cannot customize beyond the stripe design

#

Thats all, and tell me i cant customize it like the picture i told you

#

And the conv is over

#

Why now u are telling me its not possible

timber stratus
#

You can, mostly but you don't seem to be listening carefully

#

I told you, you can use an accordian layout with radio buttons that is collapsed by default

#

And then you can select which payment method is defaut selected by changing the paymentMethodOrder

#

But you keep jumping back to "change everything" which you cannot do.

noble falcon
#

๐Ÿ˜– ... I can or I cant replicate exactly this, yes or no, how i can do it i will search, but i want to know if its possible exactly this

timber stratus
#

I told you what options are available to you above.

noble falcon
#

So I can't replicate it...

#

Amazing how you cant just say that

timber stratus
#

Personally I think you can replicate all the parts that matter but clearly you feel differently