Posted: September 11, 2018 at 3:18 am
|
Hello, Even though the Mollie payment is successful, the status in EE4 is not updated, I need to manually update the registration status to Approved. Regards |
Hi Rashmin, Mollie works differently than PayPal so its actually a different issue. If you go to Dashboard -> Settings -> General. Look in WordPress Address (URL) and Site Address (URL) fields, are they set to load over HTTP or HTTPS? |
|
|
Hi Tony, They are both set to HTTPS. |
Ok, each time a payment is made with Mollie it creates log entries within Event Espresso -> Paymnet methods -> logs. Do you see log entries for Mollie there? If so click on the ID of the logs on the left and find the one that mentions IPN, does it show an ID there? |
|
|
Hello Yes, I can see the IPN values |
|
just mentioned for 1 of them. Most of them have the ID set. Then I check it against the MOLLIE transactions and update the transaction to ACCEPTED and then registration to APPROVED status manually. Hence the invoice displayed to the user is Pending Payment. They get the email confirmation later. |
Hmm, ok, so that means EE is receiving the IPN with the correct information but the connection to Mollie is failing when the payment method tries to confirm the payment. I’ll need to take a look at the site, add some additional logging and view what the response is from Mollie, would that be ok? I’ll need all of the information requested here: |
|
|
send the login details |
Ok, can you please resubmit the details and provide all of the requested credentials. We don’t add any code to the site without FTP access. |
|
Actually, looking over your site there are transactions that show they have been updated from the Mollie IPN details and they show as complete? Did those not update the registration status and you have now done so manually? |
|
|
Hi Tony, There is a new registration with transaction Transaction # 329 .I have recd the payment via mollie but if you see the transaction status is incomplete. |
September 11, 2018 at 10:08 am Nothing has been received from Mollie to tell EE to update the payment, there’s no logs at all for transaction 329. I had a look over your site and the transactions page is currently cached, and serving a cached version of the page – http://take.ms/s4dAy That may possibly be the problem and you’ll need to exclude EE’s critical pages from all caching, we have some documentation on doing so here: https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/ There is also an error in the console for the transactions page – http://take.ms/tNCVN That’s from some inline JavaScript being loaded on the page and although unlikely to be causing the problem I’d recommend investigating an fixing that JS. Once all of the EE critical pages have been excluded from caching you’ll need to purge the cache and retest. |
|
|
September 11, 2018 at 11:21 am Hello Tony, I have added the list of files to exclude caching for EE critical pages. Regards |
If you do run into the same problem with the next payment, please do not update the transaction until I can take a quick look over the logs to confirm if it shows any details on what is happening. |
|
|
Hello Tony, Thanks the Cache settings worked. Not sure though how they were reset, as we had event registrations before and I had set them. |
|
Hello Tony, |
|
hi Tony, REgards |
Manually applying additional payments in the admin is causing transactions to become overpaid, as you are adding an additional payment and then the original is being updated when the IPN arrives and the transaction (correctly) shows an overpayment. Take a look at transaction 349 as an example. As mentioned above, I need to add some additional logging to the site to see what is going on, but you haven’t provided FTP credentials, can you please provide the details requested on the form so I can add some additional logging. |
|
|
September 12, 2018 at 10:42 am Hello Tony, I have sent you the FTP details. Regarding the manual update, I match the transaction id at Mollie and the transaction id for the registration and then edit the payment to change the status to payment accepted. https://cl.ly/a58133129ff6 and in mollie payment it is https://cl.ly/7061a00e814c and even the cancelled payment link came thru https://cl.ly/a03815f3146c. Regards |
|
September 13, 2018 at 11:36 am Hello, Any help or analysis as to why thesis happening would be great. The event is this Saturday and there is a steady flow of Traffic for registrations. The Mollie support team says that there is no problem at their end in sending the details. |
Hi Rashmin, The FTP credentials provided only give me access to an empty directory, I’ll need access to root for this if you can update those. However, I’ve been using the file manager plugin the site has to have a look around and so far it seems the Mollie IPN isn’t hitting the site. Note that what I’m calling the IPN is actually a webhook: https://docs.mollie.com/payments/webhooks In short, when the payment updates from open to paid, Mollie send a request to your site with the ID of the payment, EE then uses the ID of the payment on the request to pull the information from Mollie and confirm the payment. There are logs for some of the payments and then not for others, combine that with some payments having been manually updated and it becomes difficult to determine what is what in the logs/transactions/payments. — If I ignore your previous registrations and focus on the most recent (Reg ID’s 725 to 740) as they haven’t been manually updated or alter then looking through the logs there have been no webhook requests received from Mollie for those payments and that is why EE has not updated the payments. I’m assuming if you check Mollie for payments for those transactions they will show as valid payments? When you view the History section of the payment (the right sidebar in Mollie), does it show the Webhook was successful? It’s this section – http://take.ms/PcnOa The webhook URL within the payment shown on Mollie should be something like From this screenshot – https://cl.ly/a03815f3146c That looks like it is being set correctly, however, on this one – https://cl.ly/7061a00e814c There’s no webhook shown, is that just due to cropping or was there actually no webhook set? I’d also recommend contacting your host and have them confirm they are not blocking any requests that are hitting your — This:
Hits towards the webhooks being delayed so the user is getting back to your site before mollie has sent the webhook and then EE updates the payment, theres not very much we can do to prevent that as Mollie needs to send that webhook for EE to update the payment, we must simply wait for the request from the them. Unforauntely that is an inherent issue with any offsite payment method. — On a side note I have a snippet that can be added to the site that runs when you open a transaction in the EE admin, if any of the payments in the transaction are Pending and from Mollie, it will pull the last payment made and check with Mollie if that payments ID is valid and been Approved on their end. That would basically do the work you are doing manually now, automatically update the payment and trigger the notifications. The problem is as mentioned that it becomes MUCH more difficult to troubleshoot once you start using it as we will have absolutely no idea if the requests are hitting the site, or you are opening the transaction and its automatically updating the transaction. So I can give that snippet to you to help get you through this period if that will help, but not is puts a hold on us being able to troubleshoot further until that snippet can once again be disabled and test payments made to see if the webhook request is received. |
|
|
Hello Tony, Yes it’s the webhook URL. After successful payment, it’s not ablate resolve the DNS for the website https://cl.ly/f40718456f28 Need to resolve the DNS problem with the host. Regards |
This is the snippet: https://gist.github.com/Pebblo/2d0b7dbf5917e3b1ba8050d47db67a9d You can add that to a custom functions plugin on your site, we have documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ However, you already have one on your site so you could just add it to that. |
|
The support post ‘Event Payment status is Incomplete though Mollie payment is successful’ 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.