Support

Home Forums Event Espresso Premium Status in E4 on "not paid" but Mollie and Company has received payment

Status in E4 on "not paid" but Mollie and Company has received payment

Posted: June 19, 2018 at 4:18 am


Zandbak

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….


Josh

  • Support Staff

June 19, 2018 at 7:05 am

Hi Zandbak,

May I ask what’s the version number of the Mollie plugin add-on that’s activated on your website?


Zandbak

June 26, 2018 at 3:57 am

Hi Josh,

Version Mollie plugin installed: 1.1.5.p


Tony

  • Support Staff

June 26, 2018 at 5:09 am

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.


Zandbak

June 26, 2018 at 6:51 am

Hi Tony,

I have send the login info with the above link.

Regards,
Godfried


Tony

  • Support Staff

June 26, 2018 at 8:47 am

Hi Godfried,

The credentials sent do not appear to be valid as I’m getting ‘invalid username’, can you re-check those, please?


Tony

  • Support Staff

June 26, 2018 at 8:48 am

Actually, nvm, silly mistake on my part.

Looking now.


Tony

  • Support Staff

June 26, 2018 at 9:31 am

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?


Zandbak

June 27, 2018 at 4:16 am

Hi Tony,

I tried a booking through Mollie with the testkey and selected ING and status “paid”
The EE4 message on the screen after the payment had the notification “wacht op betaling” (waiting for payment)

So it seems that it’s not working…..


Zandbak

June 27, 2018 at 4:36 am

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?


Tony

  • Support Staff

June 27, 2018 at 6:40 am

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?


Zandbak

June 29, 2018 at 3:28 am

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


Tony

  • Support Staff

June 29, 2018 at 4:51 am

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.

Did they receive a response code of 200 from the webhook request?

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….

Using EE and the Mollie plugin?

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.

We always recommend using the latest version of Event Espresso, I doubt it will fix your problem though.

Can i do that safely in the plugins screen?

Sure, unless you’ve modified EE core files?

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?

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.


Tony

  • Support Staff

June 29, 2018 at 5:23 am

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


Zandbak

July 3, 2018 at 5:54 am

Hi Tony,

Thanks for your reply, my answers on your questions;

Did they receive a response code of 200 from the webhook request?
Yes

Using EE and the Mollie plugin?
No, with different plugin and Mollie’s own plugin

Sure, unless you’ve modified EE core files?
Okay, no not modified the core files, will update EE4 today.

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?


Zandbak

July 3, 2018 at 6:33 am

Tony,

I looked at a the Mollie transaction and found the following;

Redirect URL https://www.beleefdezandbak.nl/afronding-aanmelding/?uts=1528309701&step=payment_options&action=process_gateway_response&selected_method_of_payment=ideal_mollie&spco_txn=32#checkout

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?


Tony

  • Support Staff

July 3, 2018 at 6:54 am

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.


Zandbak

July 17, 2018 at 2:56 am

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!


Tony

  • Support Staff

July 17, 2018 at 3:58 am

Sorry for the late reaction but it is working now, the problem was indeed caused by an error in the SSL config. 🙂

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).

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.

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 [INVOICE_LINK] or [INVOICE_URL] shortcode.

Is that what you are looking for?


Zandbak

July 17, 2018 at 9:04 am

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:
The websiteowner just called me, it seems that the euro signs are all replaced by dollar signs, i just tried to select the Netherlands in the “Global settings” > “Countries tab” page but it will not save the setting.

Is it possible that it have something to do with the recent update of EE4?

It’s an urgent problem, please help ASAP!
Customers are not placing orders due to the dollar currency….


Tony

  • Support Staff

July 17, 2018 at 9:37 am

Is it possible that it have something to do with the recent update of EE4?

Not likely.

The websiteowner just called me, it seems that the euro signs are all replaced by dollar signs, i just tried to select the Netherlands in the “Global settings” > “Countries tab” page but it will not save the setting.

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.

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, 1 week ago ago

Topic Tags

Notifications

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