Hi i saw at the latest release a extra feature for mollie.
The code is not completed have i seen.
I have the part for the redirect working (not on the best way but functional).
Only the Listener is to hard for me to program whit my PHP nolledge. shute be grate if the webhook cab function.
Can ou give a idea if this wil be at the next release and when to expect????

regards,
CFV7.0.4 user. it's become better and better. Thanks
The code is not completed have i seen.
I have the part for the redirect working (not on the best way but functional).
Only the Listener is to hard for me to program whit my PHP nolledge. shute be grate if the webhook cab function.
Can ou give a idea if this wil be at the next release and when to expect????
regards,
CFV7.0.4 user. it's become better and better. Thanks
what are you trying to do exactly ? just place your action in the correct listener event and it will work when the listener calls that event!
make sure you set the "webhook" setting the mollie redirect to the listener page, and that the listener page is inside a new "Page Group" with Type set to "Standalone"
make sure you set the "webhook" setting the mollie redirect to the listener page, and that the listener page is inside a new "Page Group" with Type set to "Standalone"
Hi Max,
Thanks for your reaction.
Your explanation about the listener is clear now for me.
After installing the CFV7.0.4 update the mollie plugin did not include the required autoload.php file. We found this after troubleshooting and testing the plugin, because it was not working with all the required settings.
After creating and uploading a autoload.php using Composer, this was instructed on the Mollie site we could get it working.
( We uploaded the required folders as well )
After changing the path in the Mollie redirect all works ok now.
regards,
Patrick
Thanks for your reaction.
Your explanation about the listener is clear now for me.
After installing the CFV7.0.4 update the mollie plugin did not include the required autoload.php file. We found this after troubleshooting and testing the plugin, because it was not working with all the required settings.
After creating and uploading a autoload.php using Composer, this was instructed on the Mollie site we could get it working.
( We uploaded the required folders as well )
After changing the path in the Mollie redirect all works ok now.
regards,
Patrick
Hi Patrick,
You should not need to add autoload.php manually, just use the Payments extension for v7 available on the Downloads page, I have added a warning if this is not installed!
Best regards
You should not need to add autoload.php manually, just use the Payments extension for v7 available on the Downloads page, I have added a warning if this is not installed!
Best regards
Hi Max,
Thanks again for your quick response.
Maybe i understooth you wrong.
Is there a seperate download lication where to dowload this? If so do you have a link for me.
Maybe sounds stupid but i only know the location where i can download cf7 and Not where i see a payment extension.
Regards Patrick.
Thanks again for your quick response.
Maybe i understooth you wrong.
Is there a seperate download lication where to dowload this? If so do you have a link for me.
Maybe sounds stupid but i only know the location where i can download cf7 and Not where i see a payment extension.
Regards Patrick.
The same page where you download CF7, choose to download the Payment lib instead of the Extension!
Hi Max,
Thanks for your help.
I have found it and i am fully up and running now.
regards,
Patrick
Thanks for your help.
I have found it and i am fully up and running now.
regards,
Patrick
Great!
Hi, i hope sombody can help\explain me what's going wrong til 2 days back everything was working fine whit my forms in combinatiion whit the mollie plugin.
The strange thing is that a form what i had made before works great whitout this problem and suddenly 2 days later it has the same problem.
suddenly when i was building a complexer form i discovere that the data that's filled in the form is after the paiment is still there and won't empty the text fields. only after a full save. And when u fill the fields again they stay filled after the payment.
I have build a quick test form and after testing exact the same issue and can not find what's going wrong.
The only thing is if i do a test and set de mollie redirect the debug on. the form is empty the next time i try it.
Debug off problem back.
Payments works perfect but it looks that there is some loop. i have build also a form whitout the redericter and use my own autoload then evrything works fine. My site is running on PHP 7.4


This in the end page action. (is sequential whit the top start_page)

This is a standalone page.
The strange thing is that a form what i had made before works great whitout this problem and suddenly 2 days later it has the same problem.
suddenly when i was building a complexer form i discovere that the data that's filled in the form is after the paiment is still there and won't empty the text fields. only after a full save. And when u fill the fields again they stay filled after the payment.
I have build a quick test form and after testing exact the same issue and can not find what's going wrong.
The only thing is if i do a test and set de mollie redirect the debug on. the form is empty the next time i try it.
Debug off problem back.
Payments works perfect but it looks that there is some loop. i have build also a form whitout the redericter and use my own autoload then evrything works fine. My site is running on PHP 7.4
This in the end page action. (is sequential whit the top start_page)
This is a standalone page.
please close all the actions and views to minimize the height and post a screenshot of the pages area!
Hi Max, I hope this will do. i have edit the picture so that you cab see the views and the actions.
in the mean time i have done some test whit not using the redirect and the listener. and used my own PHP script on the same form and than it's working normal.
Under the screenshot what my sun and i have tried what works for us. Pure for testing.


Regards Patrick.
in the mean time i have done some test whit not using the redirect and the listener. and used my own PHP script on the same form and than it's working normal.
Under the screenshot what my sun and i have tried what works for us. Pure for testing.


Regards Patrick.
yes, the redirect prevents form data clearing, I have fixed that in the next update!
Hi Max Thanks again.
I have another question.
Is there a way to use the order_ID waht is send as meta data to mollie to use to call (read data) to send a payment resuit?
I wanne use the order ID that's created in in my start_page
The listnere is a standalone page so i cannot use {data:order_ID} and the other fiels like name etc.
Hope that you cabn push me in the right direction so that i can pickup the data from teh DB wher it's stored.[file=13423]Inschrijving_niew_lidmaatschap_v1.0_25_Oct_2020_19_54_23.cf7bak[/file]
I have added my form. (have taken the mollie keys out).
I have another question.
Is there a way to use the order_ID waht is send as meta data to mollie to use to call (read data) to send a payment resuit?
I wanne use the order ID that's created in in my start_page
The listnere is a standalone page so i cannot use {data:order_ID} and the other fiels like name etc.
Hope that you cabn push me in the right direction so that i can pickup the data from teh DB wher it's stored.[file=13423]Inschrijving_niew_lidmaatschap_v1.0_25_Oct_2020_19_54_23.cf7bak[/file]
I have added my form. (have taken the mollie keys out).
in the new update you can use a PHP action after the Mollie listener and try a code like this:
$payment_object = $this->get("mollie_listener_name");
echo $payment_object->metadata->order_id;
the forms you posted here are public, if you have sensitive data like your mollie live keys then let me know and I can delete them!
Hi Max, Thanks for your quick response. i look forward to the release off the update.
You can leave the form as it is as example, there is no sensitive info in it. i had already removed al the keys and sensitive date.
Thanks for your concerns.
maybe delete the 2 other ones. was going wrong by upload but are exact the same.
regards Patrick
You can leave the form as it is as example, there is no sensitive info in it. i had already removed al the keys and sensitive date.
Thanks for your concerns.
maybe delete the 2 other ones. was going wrong by upload but are exact the same.
regards Patrick
The new update is already out!
Dear Max,
I just tried using your code: [pre]$payment_object = $this->get("mollie_listener_43");
echo $payment_object->metadata->order_id;[/pre]
( The id is the same as in the blanc form I uploaded )
I didn't receive any data, I tried this on the following pages:
- end of mollie_listener -> new_page_3
- Bedankt1 -> new_page_4
but did not receive any data, I tried dumping the contents of the metadata but I received a null.
Would you know the sollution to this problem?
I updated chronoforms to v7.0.5 before testing.
Regards,
[br]Patrick
I just tried using your code: [pre]$payment_object = $this->get("mollie_listener_43");
echo $payment_object->metadata->order_id;[/pre]
( The id is the same as in the blanc form I uploaded )
I didn't receive any data, I tried this on the following pages:
- end of mollie_listener -> new_page_3
- Bedankt1 -> new_page_4
but did not receive any data, I tried dumping the contents of the metadata but I received a null.
Would you know the sollution to this problem?
I updated chronoforms to v7.0.5 before testing.
Regards,
[br]Patrick
Well, the Listener is triggered by the Mollie api, which means that you can not test the code above directly, you need to use "return", instead of "echo", then add an Email action (just for testing) and use {var:php_action_name} in the email body, configure the email recipient and subject and check the value in the email body, is it correct ?
Hi Max,
Still strugle whit it.
i have changed "echo" to "return" and added at my case {var:php66} at the body.
email action is located in the succes part of the listener.
if i put {var:$} at the email body i get the total dump of all the vars at the end it have also all the mollie details.
i have added that part as picture. (taken all the sensiteve data out).
The data is there but totaly lost how to get only the metadata-->orde_id
i wil keep trying. but if annyone have some sugestions for us what we can trie. will be apriciated.
Still strugle whit it.
i have changed "echo" to "return" and added at my case {var:php66} at the body.
email action is located in the succes part of the listener.
if i put {var:$} at the email body i get the total dump of all the vars at the end it have also all the mollie details.
i have added that part as picture. (taken all the sensiteve data out).
The data is there but totaly lost how to get only the metadata-->orde_id
i wil keep trying. but if annyone have some sugestions for us what we can trie. will be apriciated.
try:
return $payment_object->metadata;what do you get ?
Hi Max,
i am a view steps furter now.
It is not possible to send the email direct from the "complete"section off the listener.
It works if you move it below the PHP part. (see pic.)
The result is comming from mollie and that is for me more than enough for now.
I trigger the order_id to send a confirmation pdf to the customer.
Below the picture off my setup and the used php code for it.
i am a view steps furter now.
It is not possible to send the email direct from the "complete"section off the listener.
It works if you move it below the PHP part. (see pic.)
The result is comming from mollie and that is for me more than enough for now.
I trigger the order_id to send a confirmation pdf to the customer.
Below the picture off my setup and the used php code for it.
$payment_object = $this->get('mollie_listener_43'); // Mollie listener name / uid
$order_id = $payment_object->metadata->order_id;
return $order_id;
// {var:php66} (chronoforms order id)
// {data:id} (mollie order id tr_*)
try to add multiple emails in the different areas, complete and others, do you get any of them ?
Because that's the correct way to get it done!
You may also send me on PM the login info to your site and the Mollie test key and I will test this myself.
Because that's the correct way to get it done!
You may also send me on PM the login info to your site and the Mollie test key and I will test this myself.
I will create a account for you to test.
It's possible to send emails out off every part of the listener. But the email won't include the order_ id {var:php66} or the {data:id} if you create a email action outside the listener it will include the orde_id. I wil send you the details in a PM.
It's possible to send emails out off every part of the listener. But the email won't include the order_ id {var:php66} or the {data:id} if you create a email action outside the listener it will include the orde_id. I wil send you the details in a PM.
Hi Max,
I have send you the details to login.
You can test whit the test account.
regards Patrick
I have send you the details to login.
You can test whit the test account.
regards Patrick
Hi All,
Question is dropped by Mollie support for assisting for a solution for my latest problem whit the listener.
If i have a reply and it works i will share the solution here. I hope that i get a quick answer from Mollie and in the mean time i am trying to get it working.
I have it working at the moment for my purpose, but not whit the listener.
I hope that there will be a good solution on short therm.
Regards Patrick
Question is dropped by Mollie support for assisting for a solution for my latest problem whit the listener.
If i have a reply and it works i will share the solution here. I hope that i get a quick answer from Mollie and in the mean time i am trying to get it working.
I have it working at the moment for my purpose, but not whit the listener.
I hope that there will be a good solution on short therm.
Regards Patrick
Thank you!
Actually I'm not sure the problem is with the test api only or with both the live and test, so if you can do a couple of live tests for $1 or something then you can find out!
Actually I'm not sure the problem is with the test api only or with both the live and test, so if you can do a couple of live tests for $1 or something then you can find out!
Hi,
If I remember correctly in my CFv4/5 Mollie action I had to save the form data to the database before sending data to Mollie that included a record id that Mollie would return. The on return I re-loaded the data from the table to use in emails etc.
Bob
If I remember correctly in my CFv4/5 Mollie action I had to save the form data to the database before sending data to Mollie that included a record id that Mollie would return. The on return I re-loaded the data from the table to use in emails etc.
Bob
Hi Bob,
That's a good solution, but the main issue is that it seems that Mollie does not trigger the listener url in test mode
That's a good solution, but the main issue is that it seems that Mollie does not trigger the listener url in test mode
Hi Max,Bob,
I finally had some time to look deeper into the listener issue I was having, and found out what is not working for me.
The issue that we have is that the listener does not fetch the metadata specified in the order. ( Or i don't know how to get this data to me )
The current work arround is that we change the webhook url to create a new data value named "email" with the users email address.
This is an example of how we would do it
/component/chronoforms7/?chronoform=form_name&page=page_name&email={data:email_adres}
In the mollie redirect we added a new object in the custom parameter:
Name: metadata
Value: {"email": "{data:email}", "order_id": "{data:order_id}"}
( Metadata has the requirement for json input, the metadata has been checked in mollie and is correctly received )
Is there a way using the mollie listener (from chronoforms) to fetch this metadata?
Because there is a workaround by using the molly php function and adding custom php to the form, but this would end up not being dynamic.
Regards Patrick
I finally had some time to look deeper into the listener issue I was having, and found out what is not working for me.
The issue that we have is that the listener does not fetch the metadata specified in the order. ( Or i don't know how to get this data to me )
The current work arround is that we change the webhook url to create a new data value named "email" with the users email address.
This is an example of how we would do it
/component/chronoforms7/?chronoform=form_name&page=page_name&email={data:email_adres}
In the mollie redirect we added a new object in the custom parameter:
Name: metadata
Value: {"email": "{data:email}", "order_id": "{data:order_id}"}
( Metadata has the requirement for json input, the metadata has been checked in mollie and is correctly received )
Is there a way using the mollie listener (from chronoforms) to fetch this metadata?
Because there is a workaround by using the molly php function and adding custom php to the form, but this would end up not being dynamic.
Regards Patrick
Hi Patrick,
I'm not sure I fully understand this and it's a long time since I worked with Mollie - that said it looks to me as if you could save the metadata to a database table with the other form data before redirecting to Mollie, then you can recover it all when the Listener gets a response. You just need something in the data sent to Mollie e.g. an order id to identify the record to reload.
Bob
I'm not sure I fully understand this and it's a long time since I worked with Mollie - that said it looks to me as if you could save the metadata to a database table with the other form data before redirecting to Mollie, then you can recover it all when the Listener gets a response. You just need something in the data sent to Mollie e.g. an order id to identify the record to reload.
Bob
You need to login to be able to post a reply.