Jump to content

zigu007

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by zigu007

  1. "After years of hard work with Stripe connector for PrestaShop, 202 ecommerce stop the development of Stripe module on January 9th 2023." https://github.com/202-ecommerce/stripe_official
  2. In my case, it was a problem with SSL certificate verification. Tools::file_get_contents() method is wrong constructed. For the time of importing, I changed the code like this: # /classes/Tools.php public static function copy($source, $destination, $stream_context = null) { if (null === $stream_context && !preg_match('/^https?:\/\//', $source)) { return @copy($source, $destination); } // OLD: return @file_put_contents($destination, Tools::file_get_contents($source, false, $stream_context)); // NEW: return @file_put_contents($destination, file_get_contents($source, false, stream_context_create(array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, ), )))); } Hope this helps someone 🙂
×
×
  • Create New...