I don't understand why additional input like first name, last name, phone are not submitted to paystack only the default inputs form the sample form like email, amount, metadata are submitted when making transaction, Please Help I was stuck with this for a while now, @unicodeveloper @ibrahimlawal @MohammedIsma pls help.
here is what the form looks like
<input type="hidden" name="email" value="{{auth()->user()->email}}"> {{-- required --}}
<input type="hidden" name="first_name" value='auth()->user()->name'>
<input type="hidden" name="last_name" value="More">
<input type="hidden" name="amount" value="1000000">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="phone" value="07060741999">
<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 --}}
<input type="hidden" name="reference" value="{{ Paystack::genTranxRef() }}"> {{-- required --}}
I don't understand why additional input like first name, last name, phone are not submitted to paystack only the default inputs form the sample form like email, amount, metadata are submitted when making transaction, Please Help I was stuck with this for a while now, @unicodeveloper @ibrahimlawal @MohammedIsma pls help.
here is what the form looks like