When should I add Connect_init.php to scripts when developing in Customer Portal?
Oracle B2C Service, All versions
The documentation for Connect for PHP (CPHP) API authentication is in the 'API access control and authentication' section of the CPHP Developer Guide. This documentation states that "in order to use Connect for PHP with the Customer Portal (CP) access point, you have to initialize the API using the initConnectAPI() function". This statement is true but it is important for developers to understand that CP calls the initConnectAPI() behind the scenes, and CP customizations need not (and should not) include the function.
For further information please see Answer ID 5169: Technical Documentation and Sample Code