#manasa_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/1306345124292464692
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- manasa_code, 1 hour ago, 6 messages
Hello
hi @smoky schooner
notification-banner.component.ts:35 ERROR TypeError: this.stripeService.stripeConnectInstance is not a function
at NotificationBannerComponent.displayNotificationBanner (notification-banner.component.ts:80:56)
at Object.next (notification-banner.component.ts:38:14)
at ConsumerObserver.next (Subscriber.js:91:33)
at SafeSubscriber._next (Subscriber.js:60:26)
at SafeSubscriber.next (Subscriber.js:31:18)
at map.js:7:24
at OperatorSubscriber._next (OperatorSubscriber.js:13:21)
at OperatorSubscriber.next (Subscriber.js:31:18)
at map.js:7:24
at OperatorSubscriber._next (OperatorSubscriber.js:13:21)
Your stripeConnectInstance is how you initialize Connect.js and your Embedded Components. See: https://docs.stripe.com/connect/get-started-connect-embedded-components#load-and-initialize-connect.js
stripeConnectInstance: any;
initStripeConnectInstance(): void {
if (!this.stripeConnectInstance) {
this.stripeConnectInstance = Stripe(this.stripeKey);
}
}
That instance is what you then use to create your different Embedded Components
Can you stay here for next 15mins
I will try and getback?
Yep we'll be here. If the thread goes inactive for too long it will be closed but you can always start a new thread. We are here 24/5!
fetchClientSecret
do we need to pass client Secret as well
but it is not secure right?
Yes you need to pass it and yes the client secret is secure in that it should be handled on your client after you fetch it from your backend. However, you shouldn't embed client secrets' client-side.
how to get that it shows hidden unable to copy
Yeah you can only view your secret key once as a security precaution. You are expected to store it on your end securely after viewing it. So if you did not store it then you need to roll your key to get a new one (and update the keys in your integration if you are already live)
ok