Account Ingration

Pawansharma
New Community Member

Below is script code given by developer. Please guide me what editing required in this. Script not working due below code and hosting provider says below error occurs PHP Fatal error: Call to a member function row() on boolean in /home/concepts/public_html/christianmatrimonial.in/application/libraries/Paypal.php on line 111

 

red marked line is line111

      $type = $CI->db->get_where('business_settings',array('type'=>'PERSONAL'))->row()->value;
      if($type == 'sandbox') {
         $this->paypal_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
      } else if($type == 'original') {
         $this->paypal_url = 'https://www.paypal.com/cgi-bin/webscr';

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.