#ferreirA
1 messages ยท Page 1 of 1 (latest)
Hi, can you elaborate a bit more or summarize your question?
yeah
this is a normal query:
'name:\'fakename\''
I want to switch fakename
for a javascript variable
is it possible
cause using this syntax is not working
it is not finding my customer
you get me?
Um I think it's rather a syntax issue
How about building that queryString first, testing until you have a correct value, then pass the whole variable to the Stripe API
seems it expects double quote
yo
got it working by doin this:
let query = 'name:\'fakename\''.replace("fakename", usernameParsed);```
glad to hear!
just incase someone pass to this
there you have ๐
and also
my editor had a setting called formatOnSave
set to true, that was removing my slashes
by that, the syntax was breaking
common caveat tho ๐
but now i'm getting another error from other thing
Okie, what is it?
Ah, nevermind