-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(pay): add galoy pay #3618
feat(pay): add galoy pay #3618
Conversation
newCurrency === "SATS" ? Math.round(usdToSats(amount)) : satsToUsd(amount) | ||
|
||
router.push( | ||
getUpdatedURL(router.query, { currency: newCurrency, amount: newAmount, display }), |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
Untrusted URL redirection depends on a
user-provided value
} | ||
|
||
const handleAmountUpdate = useDebouncedCallback(({ numberValue }) => { | ||
router.push(getUpdatedURL(router.query, { amount: numberValue })) |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
Untrusted URL redirection depends on a
user-provided value
b782d91
to
f8a95f3
Compare
f8a95f3
to
6d6e65f
Compare
<ul className={`${openSideBar && styles.nav_menu_bg} ${styles.nav_menu}`}> | ||
<li>{`Ways to pay ${username ?? "user"} `}</li> | ||
<li onClick={closeSideBar}> | ||
<Link href={cashRegisterLink}> |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
</Link> | ||
</li> | ||
<li onClick={closeSideBar}> | ||
<Link href={payCodeLink}> |
Check warning
Code scanning / CodeQL
Client-side URL redirect Medium
user-provided value
0385b40
to
067109b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a commit with some Tiltfile
additions to have pay be available for the integration github action and for when we bring up the monorepo with buck2 run //dev:up
There's some other small changes as well that we might need to make
@@ -0,0 +1,42 @@ | |||
# Install dependencies only when needed | |||
FROM node:20-alpine AS deps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Dockerfile can probably be redone similar to ones in app/dashboard
and apps/consent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will address in a follow up pr
d7ba3c7
to
787f834
Compare
No description provided.