Skip to content

Commit eef78e3

Browse files
Merge pull request #51 from derskeal/master
Removed line that fetches secret key in transaction form
2 parents 7551d1a + e06ab69 commit eef78e3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ A sample form will look like so:
342342
<input type="hidden" name="currency" value="NGN">
343343
<input type="hidden" name="metadata" value="{{ json_encode($array = ['key_name' => 'value',]) }}" > {{-- For other necessary things you want to add to your payload. it is optional though --}}
344344
<input type="hidden" name="reference" value="{{ Paystack::genTranxRef() }}"> {{-- required --}}
345-
<input type="hidden" name="key" value="{{ config('paystack.secretKey') }}"> {{-- required --}}
346345
{{ csrf_field() }} {{-- works only when using laravel 5.1, 5.2 --}}
347346

348347
<input type="hidden" name="_token" value="{{ csrf_token() }}"> {{-- employ this in place of csrf_field only in laravel 5.0 --}}

0 commit comments

Comments
 (0)