Support

Home Forums Event Espresso Premium Event Payment status is Incomplete though Mollie payment is successful

Event Payment status is Incomplete though Mollie payment is successful

Posted: September 11, 2018 at 3:18 am


RashminNMM

September 11, 2018 at 3:18 am

Hello,
I am facing the same problem mentioned in the following thread.
https://eventespresso.com/topic/event-payment-status-is-incomplete-though-paypal-ipn-response-says-completed-2/

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
Rashmin


Tony

  • Support Staff

September 11, 2018 at 3:37 am

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?


RashminNMM

September 11, 2018 at 6:16 am

Hi Tony,

They are both set to HTTPS.


Tony

  • Support Staff

September 11, 2018 at 6:35 am

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?


RashminNMM

September 11, 2018 at 7:14 am

Hello

Yes, I can see the IPN values
id tr_bjxbyPGhRV


RashminNMM

September 11, 2018 at 7:18 am

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.


Tony

  • Support Staff

September 11, 2018 at 8:00 am

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:

https://eventespresso.com/send-login-details/


RashminNMM

September 11, 2018 at 8:43 am

send the login details


Tony

  • Support Staff

September 11, 2018 at 9:05 am

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.


Tony

  • Support Staff

September 11, 2018 at 9:08 am

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?


RashminNMM

September 11, 2018 at 9:51 am

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.


Tony

  • Support Staff

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.


RashminNMM

September 11, 2018 at 11:21 am

Hello Tony,

I have added the list of files to exclude caching for EE critical pages.
Let’s see when a ew registration come through the system.

Regards
Rashmin


Tony

  • Support Staff

September 11, 2018 at 1:36 pm

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.


RashminNMM

September 11, 2018 at 2:15 pm

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.
Now only a small issue is that on successful payment it returns with to the page to download the invoice. but the status is still pending payment and I have to explicitly refresh the browser and then the status is refreshed.
I did this myself, but for the user this is not what he/she is expected to refresh the screen to update the status.
Any pointers?
Regards
Rashmin


RashminNMM

September 12, 2018 at 2:14 am

Hello Tony,
Today we had 2 registration with transaction 342 and 346. The same I can see the payment in mollie but no return update log for those 2 registration.
I haven’t updated them manually yet.
Can u have a look ?
Regards
Rashmin


RashminNMM

September 12, 2018 at 3:58 am

hi Tony,
For all other registration which are coming thru, I am updating them manually as I am getting emails from the registrant

REgards
Rashmin


Tony

  • Support Staff

September 12, 2018 at 9:21 am

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.


RashminNMM

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.
So I just select the one which was paid and update the status. With this one in particular person has paid twice in single registration and hence 3 transaction ids. https://cl.ly/9789befb01f0 .
So the point is I am not adding any payment, just updating them. Sam with transaction id 352 ( two ids generated 1 paid successfully and the other is timedout.

Regards
Rashmin


RashminNMM

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.
Regards
Rashmin


Tony

  • Support Staff

September 13, 2018 at 1:14 pm

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 {domain}/transactions/?e_reg_url_link={seemingly_random_chars}&ee_payment_method=ideal_mollie

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 /transactions/ page, the fact that some requests seems to be working whilst others do not point to either something blocking the requests, or the requests not being fired at all.

This:

Now only a small issue is that on successful payment it returns with to the page to download the invoice. but the status is still pending payment and I have to explicitly refresh the browser and then the status is refreshed.

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.


RashminNMM

September 13, 2018 at 3:42 pm

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
In the last couple of days, 50% people are getting DNS server not found error. But at the same time, others are able view the website and register for the event, then on return they hit the DNS server not found.
Thanks for pointing it out. So if you could share the snippet, I can add it for updating the payments. As we still have 1 more day for the registrations.
Do I add it as a plugin ?

Need to resolve the DNS problem with the host.

Regards
Rashmin


Tony

  • Support Staff

September 14, 2018 at 1:49 am

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[i]
[i]