wpuman
Forum Replies Created
-
Following our previous report, we noticed that a debug statement was left in
frontend.jsin theshowVariationImage()method:showVariationImage: function(variation) { if (variation) { console.log(variation); // ← should be removed ... } }This logs the full variation JSON object to the browser console on every variation change, which is not acceptable in a production release.
Please remove it in the next version. THKS
Hi,
Yes, the wpa_initiator field is present, but the message “Spamming or your JavaScript is disabled” appears upon validation. The password recovery form is the default WordPress form (form-lost-password.php) and doesn’t open in a pop-up window.
BR
In the meantime, I have commented out this line:
//add_action( 'lostpassword_post', 'wpae_lostpassword_extra_validation' );in the wpa_wplogin.php file.
Hi @dcsupport,
I can give you the website URL, but that won’t help you because I’ve left the plugin disabled while waiting for this problem to be resolved (which was not resolved with version 2.3.04, for your information).
Here is the generated HTML code:
<div class="woocommerce">
<ul class="woocommerce-error" role="alert" tabindex="-1">
<li>Spamming or your Javascript is disabled !!</li>
</ul>
</div>
<article id="post-55" class="post-55 page type-page status-publish hentry">
<div class="entry-content">
<div class="woocommerce">
<div class="woocommerce-notices-wrapper"></div>
<form method="post" class="woocommerce-ResetPassword lost_reset_password">
<p>Mot de passe oublié ? Veuillez saisir votre adresse e-mail et nous vous enverrons un lien pour créer un nouveau mot de passe.</p>
<p class="woocommerce-form-row woocommerce-form-row--first form-row form-row-first">
<label for="user_login">Identifiant ou e-mail <span class="required" aria-hidden="true">*</span>
<span class="screen-reader-text">Obligatoire</span>
</label>
<input class="woocommerce-Input woocommerce-Input--text input-text" type="text" name="user_login" id="user_login" autocomplete="username" required="" aria-required="true">
</p>
<div class="clear"></div>
<input type="hidden" id="wpa_initiator" class="wpa_initiator" name="wpa_initiator" value="">
<p class="woocommerce-form-row form-row">
<input type="hidden" name="wc_reset_password" value="true">
<button type="submit" class="woocommerce-Button button rpl" value="Réinitialisation du mot de passe">Réinitialisation du mot de passe</button>
</p>
<input type="hidden" id="woocommerce-lost-password-nonce" name="woocommerce-lost-password-nonce" value="c6b9fc8da6">
<input type="hidden" name="_wp_http_referer" value="https://mywebsite.fr/mon-compte/mot-de-passe-perdu/">
</form>
</div>
<p></p>
</div>
</article>As you can see, the value of the hidden input “wpa_initiator” is empty.
BR
- This reply was modified 7 months, 2 weeks ago by wpuman.
Forum: Plugins
In reply to: [LiteSpeed Cache] stop image optimizationHi !
I am also looking for the solution to stop image optimization and multiple queries
/wp-admin/admin-ajax.php?action=async_litespeed&nonce=...&litespeed_type=imgoptmHello,
After performing various tests with the new payment form, I found the origin of the error in version 9.0.0: When you activate the new payment form, the “Link by Stripe” option is activated by default. On this version of the plugin, this option does not seem to recognize my region and generates an error. When I deactivate this option (“Link by Stripe”), there is no more error.
While on the latest version 9.1.1, when you activate the new form, the “Link by Stripe” option no longer generates an error.
BR
Sorry the error has disappeared
Hi @shahzeenfarooq,
Thanks for your feedback. I will test with the latest version 9.1.1 and keep you informed. Please do not close this ticket in the meantime.
BR
Hi @doublezed2,
Sharing my WooCommerce system report carries some security risks, as these reports may contain sensitive information about our site, plugins, theme, and server configurations.
What information do you want to know?
BR
Given the error message : “IntegrationError: Invalid value for paymentRequest()”
I searched for the relevant file : “/plugins/woocommerce-gateway-stripe/assets/js/stripe-payment-request.js”
I noticed this code line 433 to 437 :
// Puerto Rico (PR) is the only US territory/possession that's supported by Stripe.
// Since it's considered a US state by Stripe, we need to do some special mapping.
if ( 'PR' === options.country ) {
options.country = 'US';
}Maybe I should customize this code like this:
// Reunion Island (RE) is a FR territory that's supported by Stripe.
// Since it's considered like FR by Stripe, we need to do some special mapping.
if ( 'RE' === options.country ) {
options.country = 'FR';
}If there are any developers of this plugin here, please confirm and propose an update for us.
Thank You
BR
Hello all,
For information, Stripe support has checked on their side. It turns out that the error that is displayed in the browser console is not considered to come from Stripe directly. Support invites me to get in touch with the Woocommerce team because this is an integration that is managed and supported by Woocommerce.
So I turn to the support of this plugin, do you have a solution?
BR
Hi @doublezed2,
Thank you for your reply.
As stated above, the company is registered in Reunion Island, a French overseas department (store country code: RE)
What information do you need about our setup?
WordPress Environment:
- WooCommerce Version: 9.4.2
- WordPress Version: 6.6.2
- Language: fr_FR
Server Environment:
- Server Info: Apache
- PHP Version: 8.0.30
Database:
- WooCommerce Database Version: 9.4.2
Extension:
- WooCommerce Stripe Gateway: by Stripe – 9.0.0
- WooCommerce: by Automattic – 9.4.2
BR
- This reply was modified 1 year, 5 months ago by wpuman.
Hi @shahzeenfarooq,
Thank you but I don’t use Apple Pay and Google Pay payment methods, they are disabled. I had the same problem with both of these methods in the old payment form before. :
https://ww.wp.xz.cn/support/topic/integration-error-invalid-value-for-payment-request/
Although these methods are disabled, I still encounter the javascript errors with the new form now.
I’m in contact with Stripe.com support, but I’m afraid they’ll tell me it’s a plugin integration issue…
BR
Yes, by disabling the admin option, the buttons work. Perfect !
Thank you
Thank you @grola
(Note : this empty file is also loaded on all pages on the admin side…)