Ebs payment gateway integration in CI - unable to get the response details |
[eluser]dev123[/eluser]
Hi , Im trying to integrate the ebs payment gateway code in the CI, im using the php-ebs-integration-kit-25 below is the link for the php code https://support.ebs.in/app/index.php?/de...ion-kit-25 im not able to get the response after the successful submitting A PHP Error was encountered Severity: Warning Message: Division by zero Filename: libraries/Rc43.php Line Number: 115 i have created the Rc43 .php inside the library folder below is code which im using, Code: class Crypt_RC4 { in controller require APPPATH . '/libraries/Rc43.php'; Code: function response() {
[eluser]TheFuzzy0ne[/eluser]
Welcome to the CodeIgniter forums! What's at line number 115 of ./application/libraries/Rc43.php? Also, please wrap your code in [code]code tags[/code]. It makes it easier to read.
[eluser]dev123[/eluser]
[quote author="TheFuzzy0ne" date="1365677915"]Welcome to the CodeIgniter forums! What's at line number 115 of ./application/libraries/Rc43.php? Also, please wrap your code in [code]code tags[/code]. It makes it easier to read. [/quote] Thanks for Reply line number 115 of ./application/libraries/Rc43.php $this->j = ($this->j + $this->s[$this->i] + ord($key[$this->i % $len])) % 256;
[eluser]TheFuzzy0ne[/eluser]
When that error is being thrown, $len == 0. Fix that, and you'll fix your error.
[eluser]dev123[/eluser]
[quote author="TheFuzzy0ne" date="1365678805"]When that error is being thrown, $len == 0. Fix that, and you'll fix your error. [/quote] Thanks . Solved Forgot pass the value in the construct |
Welcome Guest, Not a member yet? Register Sign In |