I am new to codeigniter and I'm trying to integrate PayPal payment system for a project I have been working on. But the problem is when I'm trying to make an ajax call to make PayPal check out I am getting internal server error 500.
And when I open the controller I see error like this even though that file is still there in the folder.
A PHP Error was encountered
Severity: Warning
Message: require_once(/home/*******/public_html/application/libraries/paypal-php-sdk/paypal/rest-api-sdk-php/sample/bootstrap.php): failed to open stream: No such file or directory
Filename: controllers/Paypal.php
Line Number: 3
But this script is working perfectly fine in my local host where i don't have any htaccess. So, I am not sure what is going or or what to look for.