#morteza_api

1 messages ¡ Page 1 of 1 (latest)

cloud cargoBOT
hexed mistBOT
#

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.

cloud cargoBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1259825757820289034

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

burnt ermine
#

I debuggged the webview but i don't see any errors in the console

vagrant junco
#

Any kind of errors thrown in the webview console?

burnt ermine
#

nothing

#

I click the copy buttun which is in red

#

it works if I open the website directly on chrome, firefox, but not in webview

vagrant junco
#

Can I ask you to write in please? My understanding is that this should just work but we'd need to see more details of your integration including your code and/or a reproduction of the problem and that requires time

https://support.stripe.com/contact/email?topic=api_integration

burnt ermine
#

I opened it in broswer and works

vagrant junco
#

You've explained that, but we need to see your webview code inside of your native application

burnt ermine
#

it

vagrant junco
#

As I explained, in-depth questions are beyond the remit of this server really

burnt ermine
#

seems to be working

#

seeems like the domainn was http

#

now it's working

#

I used ngrok to forward it to https

vagrant junco
#

Great!

burnt ermine
#

thanks

#

thanks

#

and thanks

#

stripe devs

burnt ermine
#

may I ask another question

#

I show copy button using this

const cardPinCopy = elements.create("issuingCardCopyButton", {
toCopy: "pin",
style: {
base: {
fontSize: "12px",
lineHeight: "24px",
backgroundColor: "red",
},
},
});

#

this code actually renderes a button inside iframe I guess, how can I trigger this programatically

#

?

vagrant junco
#

Trigger what programatically? The copy?

burnt ermine
#

yes

#

because I want to trigger this from app side

vagrant junco
#

You won't be able to I don't think, not unless you can get access to those DOM elements inside the iframe

burnt ermine
#

ok

#

thanks

cloud cargoBOT