Title: Plugin sending double emails
Last modified: April 21, 2022

---

# Plugin sending double emails

 *  [meganmalaika](https://wordpress.org/support/users/meganmalaika/)
 * (@meganmalaika)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-sending-double-emails/)
 * We added the plugin to our donate page so recurring donors could update their
   information, however, when they enter their email address they get multiple emails.
   How can we fix this?
 * Thanks,
    Megan

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [egene](https://wordpress.org/support/users/egene/)
 * (@egene)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-sending-double-emails/#post-15579022)
 * Hello. This is the first report of this kind of issue, and just by looking at
   the code I can’t see how it can be sending multiple email as there is only one
   call. And the “send” button becomes disabled until the response is received. 
   I think it’s either users requesting it multiple times not realizing it was sent
   already (for example, if there is no visual feedback for disabled buttons on 
   your page and they keep pressing it after it becomes enabled again) or there 
   is conflict with some other plugin that triggers multiple emails. If you’d like,
   send the link to your page to [job@netfoxsoftware.com](https://wordpress.org/support/topic/plugin-sending-double-emails/job@netfoxsoftware.com?output_format=md),
   maybe I could find a clue.
 *  Plugin Author [egene](https://wordpress.org/support/users/egene/)
 * (@egene)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-sending-double-emails/#post-15593915)
 * Sorry for late response, the notification from wordpress.org went to spam for
   some reason.
    I checked your code and I see that the script is included twice:
 * `<script type='text/javascript' src='https://149442961.v2.pressablecdn.com/wp-
   content/plugins/get-stripe-customer-portal-lite/modules/js/ajax.js?ver=5.9.3'
   id='gscp3770ajax.js2430-js'></script>`
 * and
 * `<script type='text/javascript' src='https://149442961.v2.pressablecdn.com/wp-
   content/plugins/get-stripe-customer-portal-lite/modules/js/ajax.js?ver=5.9.3'
   id='gscp2755ajax.js5355-js'></script>`
 * I am not sure what makes it happen, maybe some caching plugin or js/css optimizer.
   While this can be mitigated in the plugin itself it’s unlikely to be the plugin’s
   issue. I will add a note to fix that in future releases but can’t promise how
   soon. Try deleting this plugin and re-installing it again. Then if you have some
   caching/optimizing plugins try deactivating them and see if that solves the problem.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin sending double emails’ is closed to new replies.

 * ![](https://ps.w.org/get-stripe-customer-portal-lite/assets/icon-256x256.png?
   rev=2530798)
 * [Get Stripe Customer Portal Light](https://wordpress.org/plugins/get-stripe-customer-portal-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/get-stripe-customer-portal-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/get-stripe-customer-portal-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/get-stripe-customer-portal-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/get-stripe-customer-portal-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [egene](https://wordpress.org/support/users/egene/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/plugin-sending-double-emails/#post-15593915)
 * Status: not resolved