#warrior_crypto-onramp

1 messages ยท Page 1 of 1 (latest)

autumn flameBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

woeful storm
#

I am generating the token like this

sleek hatch
#

warrior_crypto-onramp

woeful storm
#
            .post('${STRIPE_API_URL}/crypto/onramp_sessions')
            .auth(process.env.STRIPE_SECRET_KEY, '')
            .send(`
                wallet_addresses[polygon]=${escrowWallet}&
                source_currency=usd&
                destination_currency=usdc&
                destination_network=polygon&
                source_amount=${amount}&
                metadata[organization]=${organizationId}&
                metadata[invoiceId]=${invoiceId}&
                lock_wallet_address=true`)
            .withCredentials();
            console.log(response.body);
        return response.body.client_secret;```
autumn flameBOT
#

๐Ÿง‘โ€๐Ÿ’ป 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)
sleek hatch
#

^see the bot above for proper formatting

#

I'm going to need a bit more actionable details to help you and understand what exact part of the API is failing and what the API returns

woeful storm
#

I get to this part of the onboarding flow and it gives this non-descript error.

#

I have added this domain to the trusted domains in my dashboard

#

But I get the same error from localhost

#

This is in test mode

sleek hatch
#

Do you have a URL where I can look at it myself?

woeful storm
#

Yes 1 sec

sleek hatch
#

looking

#

It lands on a login page. Can you give me exact information to get to your page please?

woeful storm
#

The username is : jordan@xucre.io the password is: Test1234. Once you login, access the page I linked https://app.xucre.net/billing/ReCLPn9SlCQRzphw/pay and you will see 2 cards (Unlimit & Stripe). Click the Stripe card and it will open the embedded widget.

sleek hatch
#

Hum I can't really test any of this, it's forcing me to log into link and verify my hardware and such