Skip to content

Commit f4bf0d0

Browse files
docs(readme): Update ReadMe
1 parent f922f15 commit f4bf0d0

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build
2+
vendor
3+
.DS_Store
4+
composer.lock

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Also, register the Facade like so:
2929
```php
3030
'aliases' => [
3131
...
32-
'Paystack' => Unicodeveloper\Paystack\Facades\PaystackFacade::class,
32+
'Paystack' => Unicodeveloper\Paystack\Facades\Paystack::class,
3333
...
3434
]
3535
```
@@ -166,7 +166,7 @@ Let me explain the two main fluent methods a bit here.
166166
* This fluent method does all the dirty work of sending a POST request with the form data
167167
* to Paystack Api, then it gets the authorization Url and redirects the user to Paystack
168168
* Payment Page. I abstracted all of it, so you don't have to worry about that.
169-
* Just eat your cookies :cookie: while coding!
169+
* Just eat your cookies while coding!
170170
*/
171171
Paystack::getAuthorizationUrl()->redirectNow();
172172

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
},
1818
"require-dev": {
1919
"phpunit/phpunit" : "4.*",
20-
"scrutinizer/ocular": "~1.1"
20+
"scrutinizer/ocular": "~1.1",
21+
"satooshi/php-coveralls": "^0.7.0"
2122
},
2223
"autoload": {
2324
"psr-4": {
File renamed without changes.

src/Paystack.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,13 @@ public function getAccessCode()
201201
{
202202
return $this->response->json()["data"]["access_code"];
203203
}
204+
205+
/**
206+
* Generate a Unique Transaction Reference
207+
* @return string
208+
*/
209+
public function genTranxRef()
210+
{
211+
212+
}
204213
}

0 commit comments

Comments
 (0)