suguna
suguna

Reputation: 811

Integrating payment gateway "Instamojo" in Laravel 5.1

I'm using a package 'IndiPay' (https://github.com/softon/indipay) in Laravel 5.1. I have configured api_key and auth_token in my .env file. And in the parameters list, included the required POST parameters (purpose and amount). Additionally, added tid with reference to the GitHub. Even though, I couldn't make the payment successful. It throwed an error like problem in Hash parameter. I attach my screenshot here.

enter image description here

Any suggestions please?

Thanks in advance..

Upvotes: 1

Views: 951

Answers (1)

Gayathri
Gayathri

Reputation: 126

Check whether you have included all the below parameters that I have listed. It could be that you would have missed out some required POST parameters.

 'txnid' => 'XXXX',
 'redirect_url' => 'XXXX',
 'purpose' => 'Testing',
 'amount' => 2500,
 'buyer_name' => 'XXX',
 'allow_repeated_payments' => <true/false>

Upvotes: 3

Related Questions