You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -361,6 +378,9 @@ A sample form will look like so:
361
378
<inputtype="hidden"name="currency"value="NGN">
362
379
<inputtype="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 --}}
<inputtype="hidden"name="split_code"value="SPL_EgunGUnBeCareful"> {{-- to support transaction split. more details https://paystack.com/docs/payments/multi-split-payments/#using-transaction-splits-with-payments --}}
383
+
<inputtype="hidden"name="split"value="{{ json_encode($split) }}"> {{-- to support dynamic transaction split. More details https://paystack.com/docs/payments/multi-split-payments/#dynamic-splits --}}
364
384
{{ csrf_field() }} {{-- works only when using laravel 5.1, 5.2 --}}
365
385
366
386
<inputtype="hidden"name="_token"value="{{ csrf_token() }}"> {{-- employ this in place of csrf_field only in laravel 5.0 --}}
0 commit comments