Skip to content

Commit e06ab69

Browse files
authored
Removed line that fetches secret key
The payment still works without the line.
1 parent 1150bf5 commit e06ab69

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
@@ -278,7 +278,6 @@ A sample form will look like so:
278278
<input type="hidden" name="quantity" value="3">
279279
<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 --}}
280280
<input type="hidden" name="reference" value="{{ Paystack::genTranxRef() }}"> {{-- required --}}
281-
<input type="hidden" name="key" value="{{ config('paystack.secretKey') }}"> {{-- required --}}
282281
{{ csrf_field() }} {{-- works only when using laravel 5.1, 5.2 --}}
283282

284283
<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)