Posted: June 19, 2018 at 4:18 am
|
Hi, I have received 2 different payments from customers, paid with Mollie, payments are received but status on the notifications are “waiting for payment” it seems that Mollie is not returning the completion of the payment to E4? I pressume it is not neccesary to do the payment-approval manually, it should be an automated process? please advice…. |
Hi Zandbak, May I ask what’s the version number of the Mollie plugin add-on that’s activated on your website? |
|
|
Hi Josh, Version Mollie plugin installed: 1.1.5.p |
Hi there, Mollie should send a request to your site when the payment completes and they redirect the user to your site again, that request updates the payment. The easiest way to confirm if your site is receiving that request is to view the payment logs, could I take a quick look in the admin and see if I can spot anything in the logs? If so you can send temp login details using this form: https://eventespresso.com/send-login-details/ If you prefer to look yourself go to Event Espresso -> Payment methods -> Payment logs. Each user that tries to make a payment with Mollie should create at least 3 log entries, click on the ID’s for each of those and see if you can see any errors. |
|
|
Hi Tony, I have send the login info with the above link. Regards, |
Hi Godfried, The credentials sent do not appear to be valid as I’m getting ‘invalid username’, can you re-check those, please? |
|
Actually, nvm, silly mistake on my part. Looking now. |
|
OK, the response from Mollie does not contain all of the information required (the ID for the payment is missing). If you switch to your test key and test another registration, then use Mollie to pay which in test mode, does it work correctly then? |
|
|
Hi Tony, I tried a booking through Mollie with the testkey and selected ING and status “paid” So it seems that it’s not working….. |
|
I’ve contacted the paymentprovider Mollie to ask if they know what the problem could be, according to them the webhook was correctly send, no error message. So it seems to me the problem lies in the EE4 Mollie plugin? |
If it was an EE4 Mollie add-on issue we’d expect more reports of this as it would affect everyone. I also can’t reproduce this on any of my test sites. Previously we’ve seen IPN requests trigger some security on the server side which caused the query string variables to removed/ignored. Can you check with your host that nothing on the request is triggering any form on security on the server? Do you have any ‘security’ plugins installed on the site? |
|
|
Hi Tony, I have not installed any security plugins on the website, we have webshops running for other clients on the hostingplatform Antagonist also and they are running without any problems with Mollie and Sisow…. Event Espresso 4.9.62.p is now installed, is it an idea to upgrade to the latest version? maybe it will solve the problem. Can i do that safely in the plugins screen? How can i force EE4 to mark the registrations in question as paid so that the clients will receive the tickets and invoices by mail? I will ask the Hostingprovider Antagonist about the IPN requests. Regards |
Did they receive a response code of 200 from the webhook request?
Using EE and the Mollie plugin?
We always recommend using the latest version of Event Espresso, I doubt it will fix your problem though.
Sure, unless you’ve modified EE core files?
You’ll need to edit the payment within the transaction. So for example here is my test registration on your site – https://monosnap.com/file/s6vd9z4P5Ou86gLvdytYoIgzZ1PM28 Click on the pencil next to the payment and you’ll see a modal to edit that payment. Set the payment status to Approved, and check the message types you want to send then update the payment – http://take.ms/chpe9 That will update the payment, which in turn will update the transaction and any registrations assigned to it, then trigger all messages. (Note this shouldn’t be required and is happening because EE doesn’t have the ID on the IPN request, so the above will need to be done on each transaction as stop gap until this is fixed). Something else you’ll want to be aware of is if a user has attempted a payment multiple times through Mollie, each of those payments may have gone through (But EE doesn’t know about it) and the ‘additional’ payments will need to be refunded via Mollie. |
|
Are you comfortable with PHP and creating a custom functions plugin? We have documentation on creating a plugin here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ I’ve created a snippet to check the status of pending payments within a transaction with Mollie when you click to View/Edit a transaction, if you add this snippet to the plugin when you click to view/edit the transaction that function will pull in the last ‘pending’ payment for that transaction and process it as if it was an IPN request (meaning it will check with Mollie if the payment has actually gone through, update it if needed and trigger any messages required). It will only do this for a single payment at a time, so if a transaction has multiple payments, refresh the page to check each one and then EE will show if you have an overpayment. https://gist.github.com/Pebblo/2d0b7dbf5917e3b1ba8050d47db67a9d |
|
|
Hi Tony, Thanks for your reply, my answers on your questions; Did they receive a response code of 200 from the webhook request? Using EE and the Mollie plugin? Sure, unless you’ve modified EE core files? I will manually put the “paid” transactions on approved to push out the emails and tickets. I have a bit knowledge of PHP but not with creating plugins, i will have to look in to that. On the server i have PHP7.1 installed, is it possible that this new version create conflicts with EE4 or Molie plugin? |
|
Tony, I looked at a the Mollie transaction and found the following; Webhook URL http://www.beleefdezandbak.nl/transacties/?e_reg_url_link=1-adba1268ffd8b48b0e675c902d03472f&ee_payment_method=ideal_mollie The webhook URL goes over an non SSL connection whilst the website has SSL installed, could this create the problem? |
Yes, that’s the problem. Mollie send a POST request to the webhook_url which contains the ID of the payment, looks like your site just redirects all HTTP requests to HTTPS but you can’t do that with POST requests. You need to load the site over HTTPS rather than just loading it over HTTP and redirecting everything. How have you enabled HTTPS on the site? I’d recommend installing this plugin: https://wordpress.org/plugins/really-simple-ssl/ Which will do pretty much everything you need to load the site over https. |
|
|
Hi Tony, Sorry for the late reaction but it is working now, the problem was indeed caused by an error in the SSL config. 🙂 Another question, how can i send a copy of the generated invoice to the admin also? (owner of the website) they want to use them for their accounting. Thanks! |
Great! From this thread we’ve also discovered a way to make this a little more bulletproof and will be releasing a version of the Mollie payment method to help prevent this in the future (its still ‘better’ to load the site correctly, but the changes will help any users that run into this in the future).
You can’t send the actual Invoice itself, but you can include a link to it in in the Event Admin email, will that work? Go to Event Espresso -> Messages -> Default message templates -> Registration Approved -> Event Admin (See here for work with message ‘contexts’: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/ ) In that template add the Is that what you are looking for? |
|
|
Hi Tony, Okay, that surely will help potential clients that run in the same problems…. I will give it a try to place the shortcode in the template. URGENT MATTER: Is it possible that it have something to do with the recent update of EE4? It’s an urgent problem, please help ASAP! |
Not likely.
That page doesn’t ‘save’ the country, its for editing the countries settings. On the above page select Netherlands in the dropdown and set the option ‘Country Appears in Dropdown Select Lists’, then click save. Now go to Event Espresso -> General Settings -> Your organization. Set the country for your organization to Netherlands. EE uses the currency for whatever country you have set in that field and defaults to USD if none is set. |
|
The support post ‘Status in E4 on "not paid" but Mollie and Company has received payment’ 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.