Closed znck closed 9 years ago
Can you be more specific? Pasting the code you are using might be a good start.
Checksum is correct. I don't know whats happening. Here is the snippet.
$payubiz = new PayUbiz([
'merchantId' => Config::get('services.payubiz.key'),
'secretKey' => Config::get('services.payubiz.secret'),
'testMode' => !(App::environment() === 'production'),
]);
// All of these parameters are required!
$params = [
'txnid' => $appointment->id,
'amount' => $appointment->amount,
'productinfo' => 'Blah Blaj',
'firstname' => $appointment->name,
'email' => $appointment->email,
'phone' => $appointment->phone,
'surl' => route('appointment.pay', $appointment->id),
'furl' => route('appointment.pay', $appointment->id),
];
I will look into it later today. Thanks for the feedback!
Hey! I found the error. The form has one input field missing.
<input type="hidden" name="service_provider" value="payu_paisa"/>
It worked after adding in the form text.
Thanks. I'll add this to the form.
Sorry some error occurred.
I guess you are not using the salt.