Posted: September 28, 2018 at 8:55 am
|
Hi, I’ve a problem on EE4. Clients are receiving two payment received emails each payment done. It is pretty disappointing because it is a bit confusing for them and doesn’t look professional. Important informations of my installation : I’ve already checked this topic : But answers provided don’t work. Can you tell if you have tips or something i must check to fix that problem? Thanks, |
Hi, Can you check the Event Espresso > Messages > Messages Activity page and look for duplicate listings of the same Payment Received emails? That’s the first thing to check. Another thing to check would be if there are other email types going out at the same time (like a Registration Approved email and/or a Ticket Notice email). Since these can be configured to have very similar content as the Payment Received email they may be perceived as two identical emails. |
|
|
Hi Josh, Thank you very much for your answer. Thanks for helping me with that problem, |
|
PS: I would like to specify I’ve already parametered in Messages > Settings, Sending messages on the same request, if that could help. |
Hi there, Have you edited the Payment Received message template at all? It sounds like you may have activated the ‘Event Admin’ context for the payment received template and have set that context to go to the registrant, as the registrant also has its own content on that template, they receive both. If you go to Event Espresso -> Messages -> Default message templates (assuming you are using the default template?) Then in the list look for the payment received message template, does it show both the ‘Event Admin’ and ‘Primary’ registrant text in blue or is the ‘Event Admin’ text grey? Like this – http://take.ms/7Nh1f Click on the ‘Event admin’ text to view its context, what is displayed in the ‘To’ field there? |
|
|
Hi Tony, -When I click on ‘Event Admin’ to view its context, the ‘To’ field is empty. Thanks for your help |
|
I’m not sure but the problem could actually come from further than that. In parallel of duplicate payment received emails, I’m having issues with registration status : Some of the transactions have a status of ‘Completed’ while the registration status stays on ‘Pending Payment’. I’ve checked further in Payment Methods > Logs and there, i can see there is actually 4 logs recorded for each transaction : |
|
I’m thinking there is something duplicating things (more steps than only the payment received emailing) in the registration process |
May I ask what’s the Payment Method selected for those transactions? e.g. PayPal, Stripe, or Authorize.net? |
|
|
Hi Josh, |
|
Hi Josh, In fact, my site doesn’t have a SSL certificate installed at the moment, that said, when my customers pay on the bank/payment platform, according to their browser, they often get a browser pop-up saying that data is transmitted as plain data (not encrypted) between bank/payment platform and my site. If they continue by accepting this fact, the transaction gets completed, the registration status becomes ‘Approuved payment’ and everything works as expected in EE, except the fact that they still receive 2 duplicate mails of ‘Payment Received’, and another one about their confirmed registration (not duplicated). If they doesn’t accept the fact that data is transmitted as plain data, the payment platform doesn’t redirect on my site (absolutely normal behavior i guess), but still, some data is transmitted since Event Espresso updates the transaction status to be completed. In this case scenario, the registration status doesn’t get updated and stays on ‘Pending Payment’ (I guess it’s normal, because some response data from the bank platform hasn’t been transmitted as well). In this case, they still have a ‘Payment Received’ email (not duplicated), but they don’t receive the confirmed registration email. (I guess it’s normal as well since the registration is not ‘Payment Approuved’). So that said, i can clearly there is something like 2 data response events : I hope those elements can help you to solve the problem i’m encountering. I have some questions as well i want to ask you : Apologies for the long post, but i hope that this can help. Thanks a lot for your patience and your support. Biznetaucoeur |
Hi there, The problem is not EE, it’s the payment method you are using as all of the updates are done through the payment method.
Means ATOS is likely sending an ‘IPN’ request (a separate request that indicates a payment has been made, this request is sent directly from ATOS/the payment merchant, to you site) which contains details of the payment, EE receives the IPN, identifies the payment and payment method it is for and then simply calls the payment method to do whatever it is set up to do with the IPN data. (Note EE itself isn’t doing anything here other than recieveing the request to the /transactions/ page, logging the data and then calling the payment method)
Means that ATOS likely sends an IPN request AND when the user clicks accept to redirect the user back, they POST the user back to the transactions page, which again EE logs the details and calls the payment method to do it’s thing… (Again note that EE core is not doing very much here, it’s all down to the payment method, the whole idea being that payment methods can do VERY different things depending on how the merchant wants it to work)
It should fix the notice but to be clear, the notice is not from EE, it’s from the merchant and is showing because they are about to redirect the user back to the site and the payment method passed an ‘insecure’ URL for that redirect. We didn’t write the payment method so can’t provide support for it nor answer with 100% certainty, but as mentioned, it should fix that notice. Note that to be PCI Compliant you must have an SSL certificate installed on your site, event if you are just redirecting the user to an offsite payment merchant.
As mentioned, this isn’t an issue with EE itself, it’s the payment method, so I have no idea if that will fix the problem.
This is unlikely as it appears the payment method has not been coded to handle IPN’s correctly. Have you tested another offsite payment method to confirm if you get the same issue with that? Note that as we didn’t write the ATOS payment method you are using, we can’t provide support for it and you’ll likely need to contact the developer who created it to investigate further. |
|
|
Hi Tony, Thank you very much for your very precise answer. I can now understand where the problem really is, so i’ll be investigating further if the SSL certificate isn’t sufficient to fix problems i’m encountering. Have a great day |
You’re most welcome. I’d recommend testing another payment method to confirm the above is the case as without seeing the code it is just an educated guess knowing how EE works with payment methods. I don’t know for a certainty how the integration with ATOS works but we’ve seen the same issue from other custom payment methods when not set up to handle IPN’s and POST backs correctly. |
|
The support post ‘Duplicated payment received mails’ 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.