tzsk / payu

Payu Laravel Payment Gateway with Payment Verification Package. Payment for Payu Biz & PayuMoney India with Laravel.
https://payu.tzskr.com
MIT License
48 stars 31 forks source link

Test payment always goes to failed #17

Closed hasanites closed 6 years ago

hasanites commented 6 years ago

I am using tzsk/payu package with laravel 5.4. after setting all things when i submitted payment details on payumoney test payment gateway, it always returns a Failed Transaction. I am not understanding what things are going wrong . please help

tzsk commented 6 years ago

@Mohd-Hasan This package is not for PayuMoney it is for PayuBiz. But yes it can be modified to use PayuMoney. But for that you have to make a few changes for yourself.

See Issue #16 for the details of how to make the changes for PayuMoney.

hasanites commented 6 years ago

for payumoney test mode i added <input type="hidden" name="service_provider" value=""> in payment_form.blade.php after foreach but transaction still failing.

tzsk commented 6 years ago

@Mohd-Hasan It is: <input type="hidden" name="service_provider" value="payu_paisa"> you didn't put any value there.

hasanites commented 6 years ago

I have tested with both but not working value="payu_paisa" and value=""

hasanites commented 6 years ago

@tzsk thanks. problem has solved. actually the real problem was expiry date of test card.