#warrior_crypto-onramp
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/1306395351577792554
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I am generating the token like this
warrior_crypto-onramp
.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;```
๐งโ๐ป 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
foocontains the valuebar.
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)
^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
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
Do you have a URL where I can look at it myself?
Yes 1 sec
https://app.xucre.net/billing/ReCLPn9SlCQRzphw/pay . Username: jordan@xucre.io | password: Test1234
dApp enabling swaps in the Xucre wallet
looking
It lands on a login page. Can you give me exact information to get to your page please?
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.
Hum I can't really test any of this, it's forcing me to log into link and verify my hardware and such
So you might have to write to our support team for 1:1 help instead sorry: https://support.stripe.com/contact