Skip to content

Commit b32acb4

Browse files
committed
removing rate limiting function for stripe for now
1 parent 83145ee commit b32acb4

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
/**
3+
* Plugin Name: Disable GF Stripe IP Rate Limit
4+
* Description: Disables the Gravity Forms Stripe add-on per-IP rate limiter. Required while all
5+
* customers share the same internal k8s IP from WordPress's perspective, which causes
6+
* one customer's card errors to lock out every other customer for an hour.
7+
* Remove once the k8s ingress forwards the real client IP to PHP.
8+
* Author: ProudCity
9+
* Version: 1.0.0
10+
*/
11+
12+
if ( ! defined( 'ABSPATH' ) ) {
13+
exit;
14+
}
15+
16+
add_filter( 'gform_stripe_enable_rate_limits', '__return_false' );

0 commit comments

Comments
 (0)