razorpay / razorpay-prestashop

Prestashop plugin for Razorpay
12 stars 11 forks source link

Error - PrestsShop-1.7.x Latest Version #58

Open engg-echotech opened 4 years ago

engg-echotech commented 4 years ago

Error - PrestsShop-1.7.x Latest Version The module showing error on PrestaShop Version: 1.7.6

error

ramth05 commented 3 years ago

@engg-echotech , are you facing any issue in normal mode ? or only in debug mode?

barkeyoin commented 3 years ago

@ramth05 On Debug mode but if we use normal mode their is error on admin pannel Error 500 internal serve

ramth05 commented 3 years ago

@barkeyoin , can you please share the screen for same.

barkeyoin commented 3 years ago

@ramth05 Fullscreen capture 152021 105700 PM

barkeyoin commented 3 years ago

@ramth05 as same as @engg-echotech face

barkeyoin commented 3 years ago

@engg-echotech did you solve this error ??

veeran-ambalam commented 3 years ago

Any help on this issue?

ramth05 commented 3 years ago

Any help on this issue?

@veeran-ambalam , are you getting this issue in debug mode ?

veeran-ambalam commented 3 years ago

@ramth05 Yes, the same issue on ProductLazyArray.php, I added the below line to avoid the issue, but I don't whether it's the right solution or not.

if (!array_key_exists("attachments",$this->product))
    {
        return $this->product['attachments'] = "";
    }
ramth05 commented 3 years ago

w

@veeran-ambalam, in which file you added this fix.

veeran-ambalam commented 3 years ago

@ramth05 File =>public_html/src/Adapter/Presenter/Product/ProductLazyArray.php on Function => public function getAttachments()

But even after that I often get SSL related errors on Debug mode is on

  1. cURL error 35: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error
  2. cuRL error 28: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
  3. If I get the debug mode Off, it works fine till entering payment details. then on the confirmation page, Http 500 error and Page is not working, it redirects to https://kobst.com/module/razorpay/validation?razorpay_payment_id=pay_****