Skip to content

Commit 2d3b55d

Browse files
Merge pull request #61 from Flutterwave/dev
update: changelog and Readme
2 parents b879ac1 + ff28704 commit 2d3b55d

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
## 1.0.6 | 2023-24-07
2+
Performance Optimization and Feature Update.
3+
- [FIXED] RequeryPayment method on checkout
4+
- [ADDED] Support for TANZANIA MOBILE MONEY
5+
- [ADDED] Support for FAWRY PAY
6+
- [ADDED] Support for GOOGLEPAY
7+
- [ADDED] Support for E-NAIRA Payment.
8+
- [UPDATED] Simplified the Custom Configuration Contract to allow for easy configuration with the package.
9+
- [SECURITY & PERF] Checkout Process and Callback in processPayment.php
10+
11+
## 1.0.5 | 2023-24-01
12+
This change allows the package to automatically detect .env file and use the variables declared in them.
13+
14+
### composer updates and bugfixes
15+
- [UPDATE] Log files generated in project directory.
16+
- [REFACTOR] remove unused files from distribution.
17+
118
## 1.0.4 | 2022-11-06
219

320
This release adds support for 7.4 and above. a new workflow for old and new tests.

README.md

+30-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ use Flutterwave\Util\Currency;
191191

192192
$data = [
193193
"amount" => 2000,
194-
"currency" => Currency::NGN,
194+
"currency" => Currency::NGN, // or EUR or GBP for EU Collection.
195195
"tx_ref" => uniqid().time(),
196196
"additionalData" => [
197197
"account_details" => [
@@ -341,6 +341,33 @@ $data['customer'] = $customerObj;
341341
$payload = $ussdpayment->payload->create($data);
342342
$result = $ussdpayment->initiate($payload);
343343
```
344+
<br>
345+
346+
### FawryPay
347+
348+
Receive Fawry payments from customers in Egypt. Read the [overview](https://developer.flutterwave.com/docs/direct-charge/fawry) for this payment method before proceeding.
349+
350+
```php
351+
use Flutterwave\Util\Currency;
352+
353+
$data = [
354+
"amount" => 2000,
355+
"currency" => Currency::EGP,
356+
"tx_ref" => uniqid().time(),
357+
"redirectUrl" => "https://example.com"
358+
];
359+
360+
$payment = \Flutterwave\Flutterwave::create("fawry");
361+
$customerObj = $payment->customer->create([
362+
"full_name" => "Olaobaju Jesulayomi Abraham",
363+
"email" => "[email protected]",
364+
"phone" => "+2349060085861"
365+
]);
366+
367+
$data['customer'] = $customerObj;
368+
$payload = $payment->payload->create($data);
369+
$result = $payment->initiate($payload);
370+
```
344371

345372
<br>
346373

@@ -374,6 +401,8 @@ $result = $mpesapayment->initiate($payload);
374401
How to make a transfer payment
375402

376403
```php
404+
use Flutterwave\Util\Currency;
405+
377406
$data = [
378407
"amount" => 2000,
379408
"currency" => Currency::NGN,

0 commit comments

Comments
 (0)