Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of github.com:marlon-be/marlon-ogone

  • Loading branch information...
commit 895ca48ba3d5407268e2a80045fb73e0d79b3c3e 2 parents de9134f + 1a18674
Jelte Steijaert jelte authored

Showing 23 changed files with 239 additions and 0 deletions. Show diff stats Hide diff stats

  1. +19 0 LICENSE
  2. +10 0 autoload.php
  3. +10 0 lib/Ogone/FormGenerator/FormGenerator.php
  4. +10 0 lib/Ogone/FormGenerator/SimpleFormGenerator.php
  5. +10 0 lib/Ogone/ParameterFilter/GeneralParameterFilter.php
  6. +10 0 lib/Ogone/ParameterFilter/ParameterFilter.php
  7. +10 0 lib/Ogone/ParameterFilter/ShaInParameterFilter.php
  8. +10 0 lib/Ogone/ParameterFilter/ShaOutParameterFilter.php
  9. +10 0 lib/Ogone/Passphrase.php
  10. +10 0 lib/Ogone/PaymentRequest.php
  11. +10 0 lib/Ogone/PaymentResponse.php
  12. +10 0 lib/Ogone/ShaComposer/AllParametersShaComposer.php
  13. +10 0 lib/Ogone/ShaComposer/LegacyShaComposer.php
  14. +10 0 lib/Ogone/ShaComposer/ShaComposer.php
  15. +10 0 tests/Ogone/Tests/FormGeneratorTest.php
  16. +10 0 tests/Ogone/Tests/ParameterFilter/ShaInParameterFilterTest.php
  17. +10 0 tests/Ogone/Tests/PaymentRequestTest.php
  18. +10 0 tests/Ogone/Tests/PaymentResponseTest.php
  19. +10 0 tests/Ogone/Tests/ShaComposer/AllParametersShaComposerTest.php
  20. +10 0 tests/Ogone/Tests/ShaComposer/FakeShaComposer.php
  21. +10 0 tests/Ogone/Tests/ShaComposer/LegacyShaComposerTest.php
  22. +10 0 tests/TestCase.php
  23. +10 0 tests/bootstrap.php
19 LICENSE
... ... @@ -0,0 +1,19 @@
  1 +Copyright (c) 2011 Marlon BVBA
  2 +
  3 +Permission is hereby granted, free of charge, to any person obtaining a copy
  4 +of this software and associated documentation files (the "Software"), to deal
  5 +in the Software without restriction, including without limitation the rights
  6 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7 +copies of the Software, and to permit persons to whom the Software is furnished
  8 +to do so, subject to the following conditions:
  9 +
  10 +The above copyright notice and this permission notice shall be included in all
  11 +copies or substantial portions of the Software.
  12 +
  13 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19 +THE SOFTWARE.
10 autoload.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 use Symfony\Component\ClassLoader\UniversalClassLoader;
3 13 require_once __DIR__ . '/vendor/symfony/src/Symfony/Component/ClassLoader/UniversalClassLoader.php';
4 14
10 lib/Ogone/FormGenerator/FormGenerator.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\FormGenerator;
3 13
4 14 use Ogone\PaymentRequest;
10 lib/Ogone/FormGenerator/SimpleFormGenerator.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\FormGenerator;
3 13
4 14 use Ogone\PaymentRequest;
10 lib/Ogone/ParameterFilter/GeneralParameterFilter.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\ParameterFilter;
3 13
4 14 class GeneralParameterFilter implements ParameterFilter
10 lib/Ogone/ParameterFilter/ParameterFilter.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\ParameterFilter;
3 13
4 14 interface ParameterFilter
10 lib/Ogone/ParameterFilter/ShaInParameterFilter.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\ParameterFilter;
3 13
4 14 /** @todo test this */
10 lib/Ogone/ParameterFilter/ShaOutParameterFilter.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\ParameterFilter;
3 13
4 14 class ShaOutParameterFilter implements ParameterFilter
10 lib/Ogone/Passphrase.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone;
3 13
4 14 /**
10 lib/Ogone/PaymentRequest.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone;
3 13
4 14 use Ogone\ShaComposer\ShaComposer;
10 lib/Ogone/PaymentResponse.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone;
3 13
4 14 use Ogone\ShaComposer\ShaComposer;
10 lib/Ogone/ShaComposer/AllParametersShaComposer.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\ShaComposer;
3 13
4 14 use Ogone\ParameterFilter\GeneralParameterFilter;
10 lib/Ogone/ShaComposer/LegacyShaComposer.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\ShaComposer;
3 13
4 14 use Ogone\Passphrase;
10 lib/Ogone/ShaComposer/ShaComposer.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\ShaComposer;
3 13
4 14 use Ogone\Passphrase;
10 tests/Ogone/Tests/FormGeneratorTest.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\Tests;
3 13
4 14 use Ogone\PaymentRequest;
10 tests/Ogone/Tests/ParameterFilter/ShaInParameterFilterTest.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\Tests\ShaComposer;
3 13
4 14 use Ogone\ParameterFilter\ShaInParameterFilter;
10 tests/Ogone/Tests/PaymentRequestTest.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\Tests;
3 13
4 14 use Ogone\Tests\ShaComposer\FakeShaComposer;
10 tests/Ogone/Tests/PaymentResponseTest.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\Tests;
3 13
4 14 use Ogone\Tests\ShaComposer\FakeShaComposer;
10 tests/Ogone/Tests/ShaComposer/AllParametersShaComposerTest.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\Tests\ShaComposer;
3 13
4 14 use Ogone\ParameterFilter\ShaInParameterFilter;
10 tests/Ogone/Tests/ShaComposer/FakeShaComposer.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\Tests\ShaComposer;
3 13
4 14 use Ogone\ShaComposer\ShaComposer;
10 tests/Ogone/Tests/ShaComposer/LegacyShaComposerTest.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 namespace Ogone\Tests\ShaComposer;
3 13
4 14 use Ogone\Passphrase;
10 tests/TestCase.php
... ... @@ -1,5 +1,15 @@
1 1 <?php
2 2
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
  12 +
3 13 use Ogone\Tests\ShaComposer\FakeShaComposer;
4 14 use Ogone\Passphrase;
5 15 use Ogone\ParameterFilter\ShaInParameterFilter;
10 tests/bootstrap.php
... ... @@ -1,4 +1,14 @@
1 1 <?php
  2 +
  3 +/*
  4 + * This file is part of the Marlon Ogone package.
  5 + *
  6 + * (c) Marlon BVBA <info@marlon.be>
  7 + *
  8 + * For the full copyright and license information, please view the LICENSE
  9 + * file that was distributed with this source code.
  10 + */
  11 +
2 12 error_reporting(-1);
3 13
4 14 require_once __DIR__.'/../autoload.php';

0 comments on commit 895ca48

Please sign in to comment.
Something went wrong with that request. Please try again.