#matiullahpro_code

1 messages ยท Page 1 of 1 (latest)

forest cipherBOT
#

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

๐Ÿ“ 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.

tardy pilot
inner yarrow
#

yes

tardy pilot
#

What do you want the connect accounts to provide?

inner yarrow
#

let them add tax information

tardy pilot
#

And what account type or configuration are you using?

inner yarrow
#

express onboarding connect

tardy pilot
#

The code you shared looks like you are using Connect Embedded Components.

inner yarrow
#

let me try it.

#

<script src="https://connect-js.stripe.com/v1.0/connect.js" async></script>
<div id='stripetaxcontainer'> </div>
<script>
window.StripeConnect = window.StripeConnect || {};
StripeConnect.onLoad = () => {
const stripeConnectInstance = StripeConnect.init({
publishableKey: 'pk_test_51QeJnwD1mw6NJ7wC1cK0YQcTJoF3s42mnbd8A7HTAkuRew91edypdzFYVrt1U6MCvzxwRspSVbZLT9r3ZJg7Jewa002V4qxZJU', // Use curly braces for PHP variable inside JavaScript
fetchClientSecret: 'accs_secret__TAF326ufaQ1KR1vTd369f3efov2K1fpHjyIJCLEgAWCeqeQ', // Define the fetchClientSecret function or variable
});
const container = document.getElementById('stripetaxcontainer');

const taxSettings = stripeConnectInstance.create('tax-settings');
container.appendChild(taxSettings);

};
</script>

check this

forest cipherBOT
#

๐Ÿง‘โ€๐Ÿ’ป How to format code on Discord

Inline code: wrap in single backticks (`)

This:

The variable `foo` contains the value `bar`.

Will turn into this:

The variable foo contains the value bar.

Code blocks: wrap in three backticks (```)

Also, you can specify the language after the first three backticks to get syntax highlighting.

This:

```javascript
function foo() {
return 'bar';
}
```

Will turn into this:

function foo() {
  return 'bar';
}```

Notes about **code blocks**:
- Specifying the language is optional (e.g., you can omit `javascript` in the example above)
  - If you don't specify the language you won't get syntax highlighting
- When you're inside a code block (after you type \`\`\`) the `Return`/`Enter` key will add a new line instead of sending your message
  - Once you end the code block `Return`/`Enter` works normally again

You can [read more about message formatting on Discord's website.](https://support.discord.com/hc/en-us/articles/210298617)
inner yarrow
#

client secret it passing but still it is showing same error

<script src="https://connect-js.stripe.com/v1.0/connect.js" async></script>
<div id='stripetaxcontainer'> </div>
<script>
window.StripeConnect = window.StripeConnect || {};
StripeConnect.onLoad = () => {
const stripeConnectInstance = StripeConnect.init({
publishableKey: 'pk_test_51QeJnwD1mw6NJ7wC1cK0YQcTJoF3s42mnbd8A7HTAkuRew91edypdzFYVrt1U6MCvzxwRspSVbZLT9r3ZJg7Jewa002V4qxZJU', // Use curly braces for PHP variable inside JavaScript
fetchClientSecret: 'accs_secret__TAF326ufaQ1KR1vTd369f3efov2K1fpHjyIJCLEgAWCeqeQ', // Define the fetchClientSecret function or variable
});
const container = document.getElementById('stripetaxcontainer');

const taxSettings = stripeConnectInstance.create('tax-settings');
container.appendChild(taxSettings);

};
</script>

tardy pilot
#

The error suggests your code is not properly configured