cray146 / org.civicrm.payment.ogone Goto Github PK
View Code? Open in Web Editor NEWOgone Payment Processor extension for CiviCRM
Ogone Payment Processor extension for CiviCRM
To install the extension: 1.- Clone the repository in your extensions folder. $ git clone https://github.com/cray146/org.civicrm.payment.ogone.git 2.- Make a symbolic link in <civicrm root>/packages/OgoneUtils.php to OgoneUtils.php 3.- Make a symbolic link in <civicrm root>/extern/OgoneNotify.php to OgoneNotify.php 4.- Go to Administer > System Settings > Directories and configure CiviCRM Extensions Directory. 5.- Go to Administer > System Settings > Resource URLs and configure Extension Resource URL. 6.- Go to Administer > Manage Extensions. Click Refresh to update the overview of available extensions. Click Install to install the Ogone Payment Processor. To configure the Ogone payment processor: 1.- Go to Administer > System Settings > Payment Processors and click Add Payment Processor 2.- Fill out the New Payment Processor form. Select Ogone for Payment Processor Type. To configure the Ogone Merchant Account: 1.- Login on Ogone with your merchant account and go to Your technical settings. 2.- Go to tab Security. * Set Hash algorithm to SHA-1. 3.- Go to tab Data and Origin. * Set up the URL of the merchant page containing the payment form that will call the page: orderstandard.asp. * <site_url>/civicrm/contribute/transact (for contribution pages) * <site_url>/civicrm/event/regiter (for event registration pages) * Set up the SHA-IN passphrase. 4.- Go to tab Transaction feedback. * Check 'I would like to receive transaction feedback parameters on redirection URLs.' * Set up SHA-Out passphrase.
When I try a test payment with events
I get the notification in Ogone that I paid.
But when I return to my site, I get the message:
"
Failure: Could not find payment processor for contribution record:
Failure: new order data not valid
Warning: Cannot modify header information - headers already sent by (output started at OgoneIPN.php:254) in /sites/all/modules/civicrm/CRM/Utils/System.php on line 333
"
I figured out that BaseIPN.php doesn't get the variables needed. Event ID is empty.
Can't figure out where it goes wrong do. I think the $ids array isn't filled, but why?
Warning: require_once(OgoneIPN.php) [function.require-once]: failed to open stream:
No such file or directory in /path/to/civicrm/extern/OgoneNotify.php on line 12
I believe this should be fixed by something like https://github.com/GiantRobot/CiviCRM-Ogone-Payment-Processor/commit/0abe532e553fa570a4b04a87a4e1645498727246
After receiving Ogone response on OgoneNotify.php I end up on a blank page. If I reload this page I'm correctly redirected to the payment "thank you" page.
Any ideas why ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.