GithubHelp home page GithubHelp logo

Blank page about org.civicrm.payment.ogone HOT 3 OPEN

mmauroy avatar mmauroy commented on June 12, 2024
Blank page

from org.civicrm.payment.ogone.

Comments (3)

mmauroy avatar mmauroy commented on June 12, 2024

Hi,

After some investigation (and the updating the extension...) everything is working just fine.

I mean almost everything... I made some adjustment in the code for using handlePaymentNotification() instead of OgoneNotify.php.

But when sending the URL to Ogone it seems that the "&qfkey=XXXXXXXXX" that i've added right after "civicrm/payment/ipn?processor_name=Ogone" raise the following error "unknown order/1/s/".

Error you're referring to after constructing the $NotifyUrl inside of DoTransferCheckout().

Got some hints for me ?

Thank's in advance !

from org.civicrm.payment.ogone.

Seb35 avatar Seb35 commented on June 12, 2024

I hope you don’t have anymore this issue, but given I just experienced a similar issue, I explain here how I solved it: I removed the 4 parameters accepturl, declineurl, exceptionurl, cancelurl from the URL (comment these 4 lines in Ogone.php).

The underlying problem is Ogone don’t compute the same SHA-IN and reject the payment. I guess Ogone don’t understand the same way the URL given in these parameters; possibly these URL should be encoded with urlencode or another encoding (I tried unsuccessfully with urlencode), but I didn’t find anything about that in the Ogone integration guide. So removing these is the easiest way to solve the problem, and it is possible to specify these in the Ogone backoffice.

from org.civicrm.payment.ogone.

erralb avatar erralb commented on June 12, 2024

Hi, I face a similar problem after upgrading to CiviCRM 5.0 (WordPress)

The error I'm getting is :

PHP Fatal error: CRM_Contribute_Form_Contribution_Confirm::preProcess(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "org_civicrm_payment_ogone" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /web/pui/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution/Confirm.php on line 321, referer: https://pu.loc/faire-un-don/

Any help would be great...

from org.civicrm.payment.ogone.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.