• 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

    (@egene)

    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, maybe I could find a clue.

    Plugin Author egene

    (@egene)

    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.