We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f70cad7 commit 74b1b01Copy full SHA for 74b1b01
README.md
@@ -220,7 +220,10 @@ A sample form will look like so:
220
<input type="hidden" name="quantity" value="3">
221
<input type="hidden" name="reference" value="{{ Paystack::genTranxRef() }}"> {{-- required --}}
222
<input type="hidden" name="key" value="{{ config('paystack.secretKey') }}"> {{-- required --}}
223
- {{ csrf_field() }}
+ {{ csrf_field() }} {{-- works only when using laravel 5.1, 5.2 --}}
224
+
225
+ <input type="hidden" name="_token" value="{{ csrf_token() }}"> {{-- employ this in place of csrf_field only in laravel 5.0 --}}
226
227
228
<p>
229
<button class="btn btn-success btn-lg btn-block" type="submit" value="Pay Now!">
0 commit comments