#heenatejwani_code
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/1413080291899211889
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
yes I am trying to disable assitant on our paypage with this code snippet
const stripe = Stripe("%s", {stripeAccount: "%s", developerTools { assistant { enabled : false} }});
Is this correct or can you provide a sample for this?
you're missing ":" in 2 places
talking about this assistance
{ enabled : false} }});
oh ok let me try this
but why are you using "%s"?
are you using String.format or something like that?
is your html server-rendered?
let me know if you need any more help
you can't remove that
Can move this both of the page ?
not sure I folllow
Can we move this bottom of the page ?
no not really
can't we do something like this
I am not sure what should I write in appearance api
Can you please first check then confirm
For embedded component we have BACS DD right now
but in future will use for more countries also
Yellow highlighted working but blue highlighted is not working may be class name is not correct
you there?
sorry for the late reply. if there's more than one type of payment method you can't hide the name of the payment method type
What if I have only one right now?
if there's only one you shouldn't be seeing any title
what's your layout config?
I mean the layout option you're passing when you're creating the PaymentElement
if you're using type: 'accordion' then you need to remove it and then the BACS DD title will be removed
I am not using this kind of property in my script
would you mind sharing your code?
oh so you're using ui-mode 'custom' for Checkout Sessions right?
ok in that case you need to pass layout:{type: 'auto'} when creating the Payment Element
const paymentElement = checkout.createPaymentElement({layout:{type:'auto'}});
what will happen with this property?
you will no longer get the "BACS" title when there's only one
can we move this end of the page ?
nop
okay
the title can either be shown or not