This is a new occurrence, but unsure of any specific new or changed settings or actions.
@Tony, yes. Spot on. The Stripe Payment Method is disabled every time I go to Event Espresso -> Transactions > View Receipt for a transaction that used Stripe payment. Free or Invoice receipt views/pages do not disable the payment method. Only URLs in this format disable Stripe: /?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=receipt&context=purchaser&token=1-c9f481e64363bd42cec2247ac0f3d693&GRP_ID=13&id=246
Ok… so do you have a receipt for a paid transaction that did not use Stripe?
Even an unpaid one?
I’m wondering if the same happens there.
You have the Payment Methods Pro add-on active, is that set to do anything with the payment methods on the event that transaction is for? Or is it just loading them all.
Note – I can’t reproduce this currently but we have a ticket open with a possible fix… I’m just trying to see if I can I can reproduce so I can dig into it more
We only have “Invoice” and “Stripe” as active payment methods for the site. Most events are Free ($0) and those receipt views do not disable the Stripe method. I can also view receipts for paid transactions which chose the “Invoice” option just fine without Stripe being deactivated. And I can view paid Stripe registration receipts which are still “Incomplete” just fine. It’s only viewing a “Complete” transaction receipt which actively used and was charged via Stripe which appears to disable the Stripe payment method every time.
Although we have the Payment Methods Pro add-on installed, it is not being used on any of the affected events/registrations. Both Invoice and Stripe are active for all events by default, whether free or paid.
Would you be ok with me cloning the site locally? To do that I’d use Updraft to create a backup, clone it locally and test, if I can reproduce it I can then troubleshoot further there.
If not I can send you a copy of Event Espresso with the current fix we have for this to see if that prevents it for you?
Updated the plugin with this new version. Cleared caches, etc. Doesn’t fix the issue. Still disables the Stripe Payment Method when viewing the receipt. This happens when the receipt link is viewed via admin/dashboard or the registrant views their own after purchase.
I do have a staging site I can give access to if that’s helpful versus making a copy yourself.
On a staging site, I deactivated all plugins except Event Espresso ones. Viewing a Stripe receipt link worked and did not deactivate the payment method. So, one by one I activated and tested other plugins and ended up finding the issue.
I have a plugin called “Freesoul Deactivate Plugins” (obvious now, I know) for optimization and compatibility with other plugins. That plugin was set to not load any EE plugins on certain pages and post types. Since this receipt link viewed by an admin or registrant is a normal “Page” post type, it was deactivating EE plugins when viewed. I have added a custom URL to this plugin’s settings to allow EE plugins when the URL matches “*?ee=msg_url_trigger*” which covers invoice and receipts links/views. This has solved the issue.
Thank you for all the time and support. Apologies for the oversight.
We’re very happy that you shared to us the caused of your site issue.
We will put this into our note.
thanks again.
Viewing 13 reply threads
The support post ‘Payment Method Deactivated Randomly’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.