@@ -264,7 +264,7 @@ Paystack::getAllTransactions();
264
264
paystack()->getAllTransactions();
265
265
266
266
/**
267
- * This method generates a unique super secure cryptograhical hash token to use as transaction reference
267
+ * This method generates a unique super secure cryptographic hash token to use as transaction reference
268
268
* @returns string
269
269
*/
270
270
Paystack::genTranxRef();
@@ -327,8 +327,8 @@ A sample form will look like so:
327
327
328
328
``` html
329
329
<form method =" POST" action =" {{ route('pay') }}" accept-charset =" UTF-8" class =" form-horizontal" role =" form" >
330
- <div class =" row" style =" margin-bottom :40px ;" >
331
- <div class =" col-md-8 col-md-offset-2" >
330
+ <div class =" row" style =" margin-bottom :40px ;" >
331
+ <div class =" col-md-8 col-md-offset-2" >
332
332
<p >
333
333
<div >
334
334
Lagos Eyo Print Tee Shirt
@@ -344,16 +344,15 @@ A sample form will look like so:
344
344
<input type =" hidden" name =" reference" value =" {{ Paystack::genTranxRef() }}" > {{-- required --}}
345
345
{{ csrf_field() }} {{-- works only when using laravel 5.1, 5.2 --}}
346
346
347
- <input type =" hidden" name =" _token" value =" {{ csrf_token() }}" > {{-- employ this in place of csrf_field only in laravel 5.0 --}}
348
-
347
+ <input type =" hidden" name =" _token" value =" {{ csrf_token() }}" > {{-- employ this in place of csrf_field only in laravel 5.0 --}}
349
348
350
349
<p >
351
- <button class =" btn btn-success btn-lg btn-block" type =" submit" value =" Pay Now!" >
352
- <i class =" fa fa-plus-circle fa-lg" ></i > Pay Now!
353
- </button >
350
+ <button class =" btn btn-success btn-lg btn-block" type =" submit" value =" Pay Now!" >
351
+ <i class =" fa fa-plus-circle fa-lg" ></i > Pay Now!
352
+ </button >
354
353
</p >
355
- </div >
356
354
</div >
355
+ </div >
357
356
</form >
358
357
```
359
358
@@ -367,7 +366,7 @@ We must validate if the redirect to our site is a valid request (we don't want i
367
366
368
367
In the controller that handles the request coming from the payment provider, we have
369
368
370
- ` Paystack::getPaymentData() ` - This function calls the verification methods and ensure it is a valid transction else it throws an exception.
369
+ ` Paystack::getPaymentData() ` - This function calls the verification methods and ensure it is a valid transaction else it throws an exception.
371
370
372
371
You can test with these details
373
372
0 commit comments