Answers.Body: <p>The issue was resolved after upgrading to civicrm 5.28 and omnimpay multiprocessor 3.13</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-27T11:40:33.337Z
Answers.LastActivityDate: 2020-08-27T11:40:33.337Z
Answers.UserDisplayName: ruud
Answers.Body: <p>You must check cancel url and return/thankyou url before redirecting to payment processor site.</p>
  
  <p>normally url pattern should be like <a href="https://domain.com/civicrm?page=CiviCRM&amp;q=civicrm/event/register&amp;_qf_ThankYou_display=true&amp;qfKey=dedf990ab5ff17ebff9f7cc370fbee49_6616" rel="nofollow noreferrer">https://domain.com/civicrm?page=CiviCRM&amp;q=civicrm/event/register&amp;_qf_ThankYou_display=true&amp;qfKey=dedf990ab5ff17ebff9f7cc370fbee49_6616</a></p>
  
  <p>while "wp-admin/admin.php?page=CiviCRM&amp;q=civicrm%2Fpayment%2Fipn%2F86%2F8" is used as callback/webhook url to process the payment at civicrm side.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-26T12:27:39.087Z
Answers.Text: Hi Sunil, a wrong thankyou url sounds as a very plausible reason for the behaviour of the current behaviour of a payment. I have looked around in the event configuration, but found nothing about url's right there. Can you tell me where I can check that configuration? If you have a link to documentation concerning the url parameters that can be used (in you example), I'd be very grateful.
Answers.UserDisplayName: ruud
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-27T11:52:05.967Z
Answers.Text: in the configuration, I found a section 'Thank you screen' though. This screen is never displayed. When should this be displayed?
Answers.UserDisplayName: ruud
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-31T07:13:25.383Z
Answers.Text: @ruud thank you url is generated in code base , check 'CRM/Core/Payment/PayPalImpl.php' look for 'getReturnSuccessUrl' function, you need to implement and pass return/thankyou url to payment process site.
Answers.UserDisplayName: Sunil Pawar
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-31T11:49:35.387Z
Answers.Text: thank you Sunil for the explanation. I will dive into that and see what I can do.
Answers.UserDisplayName: ruud
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-25T15:36:04.027Z
Answers.LastActivityDate: 2019-10-25T15:36:04.027Z
Answers.UserDisplayName: Sunil Pawar
Body: <p>my organisation has a site on which payed events are offered. Visitors can pay via an IDEAL mollie payment with use of a custom build module.
  We want to replace that module by making use of the civicrm mollie interpay module.</p>
  
  <p>Up to now, we have been unsuccessful in  testing this module. The test payments don't work at all, while production payments do work, but not yet in a way that we can use it in our site.</p>
  
  <p>I hope you can guide me in making the production payments work.</p>
  
  <p>The site is a wordpress based site. We use civicrm 5.18.3. For payment we use the interpay (mollie) method.</p>
  
  <p>When a payment is done with mollie, the payment is registered and visible in the event dashboard. So the most important part works. But the user who has finished the payment (and clicks the 'back to webshop' button) gets a blank screen.
  The URL of that blank screen ends with <code>wp-admin/admin.php?page=CiviCRM&amp;q=civicrm%2Fpayment%2Fipn%2F86%2F8</code></p>
  
  <p>We find it not acceptable to incorporate this on our site in this form. Can you help me by advising me what to do to present the user a confirmation screen?</p>
  
  <p>thanks for helping, Ruud</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-23T14:23:15.290Z
Comments.Text: I would say checkout your logs as a blank screen usually indicates some sort of error.
Comments.UserDisplayName: Jaap Jansma - CiviCooP
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-25T12:34:07.210Z
Comments.Text: thank you Jaap, the log file certainly contains very useful information. I hope it is going to take me further. The location of the logfile is public_html/SITE/wp-content/plugins/files/civicrm/ConfigAndLog
Comments.UserDisplayName: ruud
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-27T10:44:29.410Z
Comments.Text: The last test registrations clearly show that after registration, when a blank screen appears (with or without Class __PHP_Incomplete_Class warning), no error or warning appears in the log, only confirmation lines. Nothing wrong there....
Comments.UserDisplayName: ruud
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-15T15:55:16.183Z
Comments.Text: I mentioned that test payments don't work at all. That is not the case. They do not show up in the dashboard, which made me think the payment failed. But they are _supposed_ not to show up in the dashboard. They can be found by doing a contribution or participant search and checking the 'is Test' checkbox.
Comments.UserDisplayName: ruud
Tags: <civievent><mollie>
Title: returning from mollie payment
ThreadText: # returning from mollie payment
  
  (Asked by: username_0 on 2019-10-18)
  
  my organisation has a site on which payed events are offered. Visitors can pay via an IDEAL mollie payment with use of a custom build module.
  We want to replace that module by making use of the civicrm mollie interpay module.
  
  Up to now, we have been unsuccessful in testing this module. The test payments don't work at all, while production payments do work, but not yet in a way that we can use it in our site.
  
  I hope you can guide me in making the production payments work.
  
  The site is a wordpress based site. We use civicrm 5.18.3. For payment we use the interpay (mollie) method.
  
  When a payment is done with mollie, the payment is registered and visible in the event dashboard. So the most important part works. But the user who has finished the payment (and clicks the 'back to webshop' button) gets a blank screen.
  The URL of that blank screen ends with `wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fpayment%2Fipn%2F86%2F8`
  
  We find it not acceptable to incorporate this on our site in this form. Can you help me by advising me what to do to present the user a confirmation screen?
  
  thanks for helping, Ruud
  
  **Tags:** civievent, mollie
  
  > **Comments:**
  > **username_1**: I would say checkout your logs as a blank screen usually indicates some sort of error.  
  > **username_0**: thank you Jaap, the log file certainly contains very useful information. I hope it is going to take me further. The location of the logfile is public_html/SITE/wp-content/plugins/files/civicrm/ConfigAndLog  
  > **username_0**: The last test registrations clearly show that after registration, when a blank screen appears (with or without Class __PHP_Incomplete_Class warning), no error or warning appears in the log, only confirmation lines. Nothing wrong there....  
  > **username_0**: I mentioned that test payments don't work at all. That is not the case. They do not show up in the dashboard, which made me think the payment failed. But they are _supposed_ not to show up in the dashboard. They can be found by doing a contribution or participant search and checking the 'is Test' checkbox.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2020-08-27. Score: 2 | Accepted answer
  
  The issue was resolved after upgrading to civicrm 5.28 and omnimpay multiprocessor 3.13
  
  
  ---
  
  ### Answer by username_2 on 2019-10-25. Score: 1
  
  You must check cancel url and return/thankyou url before redirecting to payment processor site.
  
  normally url pattern should be like <https://domain.com/civicrm?page=CiviCRM&q=civicrm/event/register&_qf_ThankYou_display=true&qfKey=dedf990ab5ff17ebff9f7cc370fbee49_6616>
  
  while "wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fpayment%2Fipn%2F86%2F8" is used as callback/webhook url to process the payment at civicrm side.
  
  > **Comments:**
  > **username_0**: Hi Sunil, a wrong thankyou url sounds as a very plausible reason for the behaviour of the current behaviour of a payment. I have looked around in the event configuration, but found nothing about url's right there. Can you tell me where I can check that configuration? If you have a link to documentation concerning the url parameters that can be used (in you example), I'd be very grateful.  
  > **username_0**: in the configuration, I found a section 'Thank you screen' though. This screen is never displayed. When should this be displayed?  
  > **username_2**: @username_0 thank you url is generated in code base , check 'CRM/Core/Payment/PayPalImpl.php' look for 'getReturnSuccessUrl' function, you need to implement and pass return/thankyou url to payment process site.  
  > **username_0**: thank you Sunil for the explanation. I will dive into that and see what I can do.  
  
  ---
  
  