Skip to content

Commit 1641549

Browse files
Merge pull request #2 from appinlet/release/1.0.1
= 1.0.1 - 2024-07-29 =
2 parents 613fc74 + e1a6011 commit 1641549

21 files changed

Lines changed: 96 additions & 230 deletions

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
# DPO_GiveWP
2-
## DPO Pay plugin v1.0.0 for GiveWP v3.10.0, WordPress v6.5.3
32

4-
This is the DPO Pay plugin for GiveWP. Please feel free to contact the [DPO Pay support team](https://dpogroup.com/contact-us/) should you require any assistance.
3+
## DPO Pay plugin v1.0.1 for GiveWP v3.12.1, WordPress v6.5.4
4+
5+
This is the DPO Pay plugin for GiveWP. Please feel free to contact
6+
the [DPO Pay support team](https://dpogroup.com/contact-us/) should you require any assistance.
57

68
## Installation
7-
Please navigate to the [releases page](https://github.com/DPO-Group/DPO_GiveWP/releases), download the latest release (v1.0.0) and unzip. You will then be able to follow the integration guide which is included in the zip.
9+
10+
Please navigate to the [releases page](https://github.com/DPO-Group/DPO_GiveWP/releases), download the latest release (
11+
v1.0.1) and unzip. You will then be able to follow the integration guide which is included in the zip.
812

913
## Collaboration
1014

1115
Please submit pull requests with any tweaks, features or fixes you would like to share.
1216

1317
## About DPO
1418

15-
[DPO's](https://dpogroup.com/) highly secure payment platform makes payments simple by allowing businesses to accept credit cards, mobile payments and cross-border payments.
19+
[DPO's](https://dpogroup.com/) highly secure payment platform makes payments simple by allowing businesses to accept
20+
credit cards, mobile payments and cross-border payments.
1621

17-
Our mission is to bring African businesses the most advanced online and offline payment processing technologies, while supporting growth and financial inclusion. The DPO Pay payment processing solution allows merchants to accept payments online & offline, settle payments, receive cash advances and enjoy seamless payment processing.
22+
Our mission is to bring African businesses the most advanced online and offline payment processing technologies, while
23+
supporting growth and financial inclusion. The DPO Pay payment processing solution allows merchants to accept payments
24+
online & offline, settle payments, receive cash advances and enjoy seamless payment processing.

changelog.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
=====================================
2+
Version : Date : Description
3+
=====================================
4+
5+
= 1.0.1 - 2024-07-29 =
6+
* Include transaction source in DPO Pay pay request.
7+
* Update to DPO Pay Common Class for Modules v1.0.1.
8+
9+
= 1.0.0 - 2024-05-14 =
10+
* Initial release.

givewp-dpo/changelog.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

givewp-dpo/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"dpo/dpo-pay-common": "^1.0"
3+
"dpo/dpo-pay-common": "v1.0.1"
44
},
55
"autoload": {
66
"psr-4": {

givewp-dpo/composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

givewp-dpo/gateway-dpo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: DPO Pay for GiveWP
44
* Plugin URI: https://github.com/DPO-Group/DPO_GiveWP
55
* Description: Integrates GiveWP with DPO Pay, an African payment gateway.
6-
* Version: 1.0.0
6+
* Version: 1.0.1
77
* Requires at least: 5.6
88
* Requires PHP: 8.0
99
* Author: DPO Group

givewp-dpo/src/DpoGive.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public function createPayment(Donation $donation, $gatewayData)
189189
'customerEmail' => $donation->email,
190190
'customerZip' => $donation->billingAddress->zip,
191191
'customerAddress' => $donation->billingAddress->address1 . ' ' . $donation->billingAddress->address2,
192+
'transactionSource' => 'givewp',
192193
];
193194

194195
if ($ptlLimit) {

givewp-dpo/vendor/autoload.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if (!headers_sent()) {
77
header('HTTP/1.1 500 Internal Server Error');
88
}
9-
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running ' . PHP_VERSION . ', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.' . PHP_EOL;
9+
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
1010
if (!ini_get('display_errors')) {
1111
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
1212
fwrite(STDERR, $err);
@@ -22,4 +22,4 @@
2222

2323
require_once __DIR__ . '/composer/autoload_real.php';
2424

25-
return ComposerAutoloaderInitdc8bbda13b3fd54c24b7c3750aa8c3b9::getLoader();
25+
return ComposerAutoloaderInit5f3c9633b5b6b6d1556e05448e6daf09::getLoader();

givewp-dpo/vendor/composer/autoload_real.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInitdc8bbda13b3fd54c24b7c3750aa8c3b9
5+
class ComposerAutoloaderInit5f3c9633b5b6b6d1556e05448e6daf09
66
{
77
private static $loader;
88

@@ -24,12 +24,12 @@ public static function getLoader()
2424

2525
require __DIR__ . '/platform_check.php';
2626

27-
spl_autoload_register(array('ComposerAutoloaderInitdc8bbda13b3fd54c24b7c3750aa8c3b9', 'loadClassLoader'), true, true);
27+
spl_autoload_register(array('ComposerAutoloaderInit5f3c9633b5b6b6d1556e05448e6daf09', 'loadClassLoader'), true, true);
2828
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29-
spl_autoload_unregister(array('ComposerAutoloaderInitdc8bbda13b3fd54c24b7c3750aa8c3b9', 'loadClassLoader'));
29+
spl_autoload_unregister(array('ComposerAutoloaderInit5f3c9633b5b6b6d1556e05448e6daf09', 'loadClassLoader'));
3030

3131
require __DIR__ . '/autoload_static.php';
32-
call_user_func(\Composer\Autoload\ComposerStaticInitdc8bbda13b3fd54c24b7c3750aa8c3b9::getInitializer($loader));
32+
call_user_func(\Composer\Autoload\ComposerStaticInit5f3c9633b5b6b6d1556e05448e6daf09::getInitializer($loader));
3333

3434
$loader->register(true);
3535

givewp-dpo/vendor/composer/autoload_static.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInitdc8bbda13b3fd54c24b7c3750aa8c3b9
7+
class ComposerStaticInit5f3c9633b5b6b6d1556e05448e6daf09
88
{
99
public static $prefixLengthsPsr4 = array (
1010
'D' =>
@@ -32,9 +32,9 @@ class ComposerStaticInitdc8bbda13b3fd54c24b7c3750aa8c3b9
3232
public static function getInitializer(ClassLoader $loader)
3333
{
3434
return \Closure::bind(function () use ($loader) {
35-
$loader->prefixLengthsPsr4 = ComposerStaticInitdc8bbda13b3fd54c24b7c3750aa8c3b9::$prefixLengthsPsr4;
36-
$loader->prefixDirsPsr4 = ComposerStaticInitdc8bbda13b3fd54c24b7c3750aa8c3b9::$prefixDirsPsr4;
37-
$loader->classMap = ComposerStaticInitdc8bbda13b3fd54c24b7c3750aa8c3b9::$classMap;
35+
$loader->prefixLengthsPsr4 = ComposerStaticInit5f3c9633b5b6b6d1556e05448e6daf09::$prefixLengthsPsr4;
36+
$loader->prefixDirsPsr4 = ComposerStaticInit5f3c9633b5b6b6d1556e05448e6daf09::$prefixDirsPsr4;
37+
$loader->classMap = ComposerStaticInit5f3c9633b5b6b6d1556e05448e6daf09::$classMap;
3838

3939
}, null, ClassLoader::class);
4040
}

0 commit comments

Comments
 (0)