#NormanLove-CSharp

1 messages · Page 1 of 1 (latest)

fleet otter
#

Hello, I am afraid I am not really following your ask. Which error specifically?

static lava
#

here is the registration form link. its in test mode so just enter anythign and a bad cc # and you will see the issue. it seems nothing happens, but there is an error at top of page

#

I was under the impression, if BAD card number, the API logic would not allow form to submit

#

or button even to be clicked

#

seems also the form should MOVE to the error so it can be seen. And there's the issue that the forms button's onCLick was triggered and button is disabled 🙂

#

just not sure where to start and what is wrong

static lava
#

searching stripe docs for "form validation" surprisingly yields ...nada

fleet otter
#

Hello, sorry being late. Let me take a look

#

I see "Your card number is invalid." and it's expected, isn't it?

static lava
#

yes, i moved the div that shows the card error message lower below the button and so now its visable, at least, but not very visable. It should be red and maybe blinking. not sire how to make that happen.

#

that message comes from stripe php library

#

I tried applying css to the ID that is in the response div, but it does not change the styling

#

it appears that stripe elements are not designed to be styled from outside, has to be inside using variables, and seems like we can only change "theme" and have no full control. But I must be missing something cause this kinda error response is not very helpful if its using the default color of the body tag. which is what you are seeing....blue

#

this is the div that shows the message <div id="paymentResponse"></div>

fleet otter
#

Just want to clarify, is this the old Element, or the new PaymentElement?