#kashishsolanki_01597

1 messages ยท Page 1 of 1 (latest)

subtle fogBOT
torn wren
#

๐Ÿ‘‹ happy to help

#

would you mind sharing a link to the page so I could take a look please?

midnight hemlock
#

Hmm that would be little risky, it is our client application and it is under development phase, not sure it's good idea to share the link or login credentials over here!

#

Could you pls guide me with this only? I mean I alreayd followed all steps to embed the UI using stripe elements (as per above link) it is working all good. just alignment issue is there that we want to fix!

torn wren
# midnight hemlock Hmm that would be little risky, it is our client application and it is under dev...

if you prefer you can use https://support.stripe.com/contact/email?topic=api_integration and give us all of the needed information, in all cases, this is something that is best to be looked into async

midnight hemlock
#

Actually, we contacted there only first, But we got a suggestion to ask in Discord, and we can get support from here.

torn wren
#

would you mind sharing your account ID?

midnight hemlock
#

we are using @stripe/react-stripe-js package and following elements from it

  • CardElement, useStripe, useElements
#

let me see if I can host this page only separately and share it with you.

torn wren
#

@midnight hemlock if you don't wish to share your account ID (although there's no risk of doing so) would you mind replying to the ticket and just mentioning you were discussing this with Tarzan on discord? I will try to pick up the ticket and take it from there

midnight hemlock
#

Yes, I have sent the mail mentioning that I'm discussing with you. Hope that will be helpful!

torn wren
#

taking a look

#

thanks for the email, I was able to find it

midnight hemlock
#

sure

torn wren
#

Actually, we contacted there only first, But we got a suggestion to ask in Discord, and we can get support from here.
but I wasn't able to find the conversation you're referring to here

midnight hemlock
#

Our client has one of the stripe contact person emails(Jack) and we discussed it over there. And he mentioned joining this discord.

torn wren
#

I had a quick look at it, basically with the available customization (with the Appearance API) you don't have control over that particular padding inside the iframe

#

if you want to align your content with the iframe's you have to add some margin to your content accordingly

#

the Appearance API is available for Payment Element but not for Embedded Checkout ๐Ÿ˜ฆ my bad

midnight hemlock
#

hmm, yeah adding padding on my elements is one option but it won't look good as it shrink the elements of the page!

torn wren
#

then you'd increase the size of the container by 2x the padding

#

it will remain the same at the end

#

basically if your current div width is 500 and let's say the padding is 50px from each side

#

you update the parent div's width to 600 and add the padding for the inner div and not for the iframe

midnight hemlock
#

hmm, let me try something with that. but yeah nothing else from stripe embedded elements right?

torn wren
#

no not really