• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Openpay LIBRARY

#4
Hi, while I can't guarantee this will solve your problem, in both cases above (with my limited knowledge of the subject) I can see no mention of configuring the autoload. So CI doesn't probably know where to look.
Someone please correct me if I'm wrong here but the Openpay library is not namespaced so you will have to namespace it yourself in order to use it in CI. Also, it seems there are files int here with multiple classes defined. Not sure if that's gona play nice with CI.

So, once you namespace it, in app/Config/Autoload.php you need to modify the __construct function. Where the $psr4 array is defined, add something like this to the array definition:
'Openpay' => APPPATH . 'ThirdParty/Openpay'
Reply


Messages In This Thread
Openpay LIBRARY - by ONGENERAL_TOWER - 03-10-2020, 11:46 AM
RE: Openpay LIBRARY - by includebeer - 03-12-2020, 09:49 AM
RE: Openpay LIBRARY - by cgowez - 08-25-2020, 12:25 PM
RE: Openpay LIBRARY - by Jan Zelenka - 08-26-2020, 04:44 AM
RE: Openpay LIBRARY - by cgowez - 08-26-2020, 07:55 AM
RE: Openpay LIBRARY - by Chroma - 08-27-2020, 04:43 AM
RE: Openpay LIBRARY - by cgowez - 08-30-2020, 02:34 PM
RE: Openpay LIBRARY - by tgix - 09-01-2020, 10:28 PM
RE: Openpay LIBRARY - by cgowez - 09-02-2020, 10:42 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.