Comments (9)
@mattalberon - so I have just tested this with a wrong CC # and I get the error right on top of the CC fields. Like so
So it is not hidden. Could you please tell me more about this?
from woocommerce-gateway-stripe.
Closing due to no activity.
from woocommerce-gateway-stripe.
I'm experiencing this issue currently. The error displays for a short time, then is hidden. I can see the errors in the DOM if I inspect in Safari Tech Preview
<ul class="nm-shop-notice woocommerce-error nm-shop-notice-multiple">
<li><span><i class="nm-font nm-font-close"></i><strong>Credit Card Number</strong> is a required field.</span></li>
<li><span><i class="nm-font nm-font-close"></i><strong>Credit Card Expiration</strong> is a required field.</span></li>
<li><span><i class="nm-font nm-font-close"></i><strong>Credit Card CVC</strong> is a required field.</span></li>
</ul>
Inline validation does work, however that doesn't seem like a great solution if someone misses the inline error.
Suggestions?
from woocommerce-gateway-stripe.
Note,I'm using the Savoy theme with a custom child theme, but the error message doesn't seem to be targeted anywhere in the Savoy theme or my child theme.
from woocommerce-gateway-stripe.
This is what appears then, fades out, only visible in the DOM as previously noted.
from woocommerce-gateway-stripe.
@mikejolley would this be better in a new issue? This particular set of errors isn't an inline validation error, so I'm trying to debug why, but being hidden is also an issue.
from woocommerce-gateway-stripe.
Those nm-s styles look responsible @miklb. I'd guess your theme has added some extra classes to notices and fades them out with CSS or javascript.
from woocommerce-gateway-stripe.
@mikejolley thanks for the reply. That was my 1st thought too, but theme author says it doesn't.
I'll dig deeper.
from woocommerce-gateway-stripe.
Somewhere I suspect I'm having an issue with testing Stripe, and the plugin is removing the error because it's not processing the CC in the form. I see a lot of .remove()
in s4wc.js
I can change the class on my error message from woocommerce-error
to woocommerce-error-foo
and the error message doesn't disappear. I'm also communicating with the theme developer. I'm assuming a GitHub issue isn't the proper place for support, so if you can direct me to the proper channel, I will proceed there. The original issue seemed to be close to mine, thus why I piggybacked on.
from woocommerce-gateway-stripe.
Related Issues (20)
- Allow going through the oAuth flow in test mode
- Fatal when extends WC_Gateway_Stripe
- [GlobalStep] "There was an error processing the payment: There was a problem processing the payment". notice is displayed upon enabling "AliPay " APMs when the updated checkout experience is enabled. HOT 1
- [GlobalStep] PHP errors warning ("Undefined array key" and "Attempt to read property "id" on null") is displayed for "GiroPay", "EPS" and "P24" on "Order received" when Updated checkout experience is enabled. HOT 1
- [GlobalStep] "Payment methods require activation in your Stripe dashboard" notice fails to display at the top of the "Payment Methods card".
- [GlobalStep] "PHP errors in Ajax response" gets triggered when modal containing a voucher shows up for "OXXO" and "Boleto" on "WC's shortcode checkout" page. HOT 1
- Update the disconnect account message
- The mandate_options property is passed to intents for non-Indian cards HOT 1
- Unexpected date in the past for the mandate's start_date when renewing a subscription HOT 2
- [Split PE] - Purchases with Bancontact, iDEAL and Sofort set the order payment method to stripe_sepa_debit
- [Split PE] Error attempting to reuse a payment intent that requires action or confirmation HOT 1
- APM UPE tokens get duplicated in the database when UPE is disabled
- [Split PE] APM tokens added with UPE enabled can't be used with UPE disabled
- [Non-UPE] - Disabling cards disables the Stripe Gateway
- [GlobalStep] "Payment failed. Please verify your information and try again" notice is displayed on cart page.
- Activating Stripe sans WooCommerce message needs updated
- Cannot save Stripe keys on a site with HTTP only HOT 4
- Fatal error with PRBs and Subscriptions when the subscription's price or sign-up fee is a string
- Php fatal error 8.0 HOT 1
- Receiving these error logs daily: Could not find order via intent/charge ID...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from woocommerce-gateway-stripe.