#cat-invalid-parameter
1 messages ยท Page 1 of 1 (latest)
Can you share more context? It looks like you are passing some kind of symbol/hash instead of a string
hi koopajah, it is from param billing name
doesn't happen when i test but end client tested and it came up
request id - req_PSmF0Q6AkGT9Z2
look at your request, the name should be a string, you sent a weird hash that's like a JS object encoded in json or something
we need a real string value
if you have code to share I can help!
you're so cool! okay, one sec
js toward bottom is taking form inputs to pass to stripe to make payment method
has worked many times of me testing but somehow end client got that invalid string repsponse
sorry but that's way too many lines of code
I can help you but just share the part that is relevant
ah I think it's stripe.createPaymentMethod({ type: 'card', card: card, billing_details: { name: cardHolderName, address: { line1: addressLine1, city: addressCity, state: addressState, postal_code: addressZipCode } } }).then(function (result) {
what is cardHolderName?
is is set above, from form input
const cardholderName = document.getElementById('cardholder-name');```
yep
you should log that, Iassume it's not a string
right, good call. she must have typed in something strange or else I don't know how that could have become not a string
I'd recommend adding clear logs there to make sure
thanks!