devkitse
Forum Replies Created
-
Forum: Plugins
In reply to: [Ångerrätt SE for WooCommerce] Verification mail doesnt get sent outAah, that’s great.
I will consider your suggestion for the string. If you have any other suggestion on improvements, don’t hesitate to contact me.
P.S Om du vill får du lämna betyg 😊
Best regards, Peter.
Forum: Plugins
In reply to: [Ångerrätt SE for WooCommerce] Verification mail doesnt get sent out1. Go to WP Rocket → Settings → File Optimization → “Delay JavaScript execution” section.
2. In the “Excluded JavaScript Files” field, add these on separate lines:
angerratt.js
ngersefo
3. Save, then clear the cache (WP Rocket → Dashboard → Clear Cache).
4. Go to Perfmatters → Settings → JavaScript → “Delay JavaScript” section.
5. In its exclusion field, add the same two lines:
ngersefo6. Save.
angerratt.js
7. Test the withdrawal flow again.
Forum: Plugins
In reply to: [Ångerrätt SE for WooCommerce] Verification mail doesnt get sent outHi @bjorngust,Think we found it. Your site runs both WP Rocket and Perfmatters, and both are set to delay JavaScript execution — including our plugin’s own script and the config block it needs (the one carrying the security nonce). When two delay-JS plugins manage the same script at once, it can end up never properly reactivating, which would explain the button doing nothing with no visible error.Could you add angerratt.js (or the handle angerratt-se-for-woocommerce) to the “excluded from delay” list in both WP Rocket and Perfmatters’ JavaScript settings, then clear the cache and try again? No plugin update needed on our end for this — it’s a site-side setting.Let us know how it goes!
Forum: Plugins
In reply to: [Ångerrätt SE for WooCommerce] Verification mail doesnt get sent outHi again.
If the above doesn’t solve the issue it can be 2 plugins that causing this.
Test: Disable JavaScript delay to check the withdrawal form (/angra-kop/)
- Log in to WordPress admin (wp-admin).
- Go to Perfmatters → Assets → JavaScript, turn OFF “Delay JavaScript Execution”. Save.
- Clear all caches (WP Rocket cache + any object/CDN cache).
- In a private/incognito browser window, open https://fbb.se/angra-kop/,
enter an email address, and click “Skicka verifieringskod”.
Confirm it moves to the code-entry screen (not just doing nothing). - If step 4 still fails: turn Perfmatters delay back ON, then instead go to
WP Rocket → File Optimization → JavaScript, turn OFF “Delay JavaScript
Execution” there. Save, clear cache again, repeat step 4. - Report back: did step 4 work after 2, after 5, or not at all?
Technical (short):
Perfmatters and WP Rocket both delay JavaScript until the visitor
interacts, to speed up page load. On fbb.se they tag the same scripts
simultaneously, making the reactivation unreliable — the withdrawal
button’s click handler sometimes never gets attached.Ångerrätt SE security features (vs. a simpler/homegrown solution):
- One-time code (OTP) tied to a real order — no one can request a
withdrawal without proving access to the customer’s email, spamprotection. - Nonce protection against CSRF on all requests
- Neutral responses that never reveal whether an address belongs to a
customer (protects against enumeration) - IP-based rate limiting against abuse, spamprotection
- GDPR: automatic deletion of withdrawal data after a configurable
period, integrated with WordPress’s own personal-data export/erase
tools - Audited with phpcs against the WordPress security standard — zero
security findings
Forum: Plugins
In reply to: [Ångerrätt SE for WooCommerce] Verification mail doesnt get sent outHi @bjorngust,
Im sorry to hear you having trouble.
We just need to narrow down what’s different about the order(s) you tested with.Could you let us know the exact status of the order when you clicked the button (only Completed, Processing, or On hold are eligible — Pending payment is excluded by design), when the order was created (orders older than 30 days, or past the 14+5 day return window, won’t be found), and roughly how many times you tried within a short span (there’s a limit of a few attempts per email/IP within 15 minutes, after which the button still says “success” but quietly sends nothing). If you could also double check that the email you typed in matches the order’s billing email exactly, that’d be great too.Whenever you get a chance to check these, just reply here and we’ll take it from there. Thanks again for the patience!