| @@ -136,9 +136,10 @@ | ||
| 136 | 136 | |
| 137 | 137 | // Enqueue Stripe.js if Stripe is configured. |
| 138 | 138 | $this->maybe_enqueue_stripe(); |
| 139 | 139 | |
| 140 | - // Allow payment gateway extensions to enqueue their scripts (e.g., PayPal SDK). | |
| 140 | + // Allow payment gateway extensions to enqueue their scripts and localize | |
| 141 | + // their frontend configuration (see the action's docblock in block.php). | |
| 141 | 142 | do_action( 'suredonation_enqueue_form_frontend_scripts', $form_id, $form->post_content ); |
| 142 | 143 | } |
| 143 | 144 | |
| 144 | 145 | /** |