CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • thank you page
Pages: [1]

Author Topic: thank you page  (Read 579 times)

CatorgHans

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.4
  • CMS version: drupal
thank you page
June 19, 2014, 02:20:39 am
I am writing a payment provider

https://github.com/catorghans/org.civicoop.orgis.omnikassa

As a test I created a Contribution page on my CiviCRM which DOES contain a Thank You page.

When I create a redirect after a successful payment like this
 $url = CRM_Utils_System::url('civicrm/contribute/transact', "_qf_ThankYou_display=1&qfKey={$qfKey}", FALSE, NULL, FALSE
          );

I am forwarded to what does seem like a proper URL, but the Thank You page is not displayed at all. It shows the Contribution page again.
The e-mail that is also configured on the Thank You page IS being sent, so something goes right.

Any idea why the Thank You page is not displayed?


JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: thank you page
June 23, 2014, 07:06:40 am
Hi CatorgHans,

Please could you share the URL in this case?

Cheers,
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

CatorgHans

  • I post frequently
  • ***
  • Posts: 157
  • Karma: 5
  • CiviCRM version: 4.4
  • CMS version: drupal
Re: thank you page
June 23, 2014, 07:25:36 am
http://orgis.nl/civicrm/contribute/transact?reset=1&id=1&action=preview

Is my own (test) site.

If you do a "Donation" and in the Rabobank environment you choose iDeal and then 1 of the providers, you mimic a succesful payment.

It just returned:
http://orgis.nl/civicrm/contribute/transact?_qf_ThankYou_display=true&qfKey=a687df92eeb23977ceb7b91b3e02376e_33

(I changed 1 to true for the _qf_ThankYou_display as a try, but I believe either should work)

stars

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.4.2
  • CMS version: Joomla 2.5.16 Stable
  • MySQL version: 5.5.32
  • PHP version: 5.4.19
Re: thank you page
February 16, 2015, 05:54:11 am
Hi, I too have a similar problem where, adding the parameter _qf_ThankYou_display = 1 to my url return in case of donation carried out successfully and _qf_Main_display = 1, if I add the parameter to the url return on error.

I do not know if the problem is with these two specific parameters or if the provider is receiving my request that has some problems to process these values.

If you omit these fields the request is processed safely, but this way but I can not display the page that interests me depending on the status of the donation made.

Thank You.

Hello

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • thank you page

This forum was archived on 2017-11-26.