craigchristenson / opencart-2checkout-api

2Checkout Payment API OpenCart Payment Module
MIT License
8 stars 19 forks source link

little bug on 2.3.02 - can't install this payment module from admin (fixed code) #10

Open sunrise-xx opened 7 years ago

sunrise-xx commented 7 years ago

can't install this payment module from admin:

This is bug , need fix , it miss .tpl

admin/controller/payment/twocheckout_api.php

Line # $this->response->setOutput($this->load->view('payment/twocheckout_api', $data));

change to $this->response->setOutput($this->load->view('payment/twocheckout_api.tpl', $data));

sunrise-xx commented 7 years ago

More bug need fix:

catalog/controller/payment/twocheckout_api.php Line # 44 need change to return $this->load->view('default/template/payment/twocheckout_api.tpl', $data);

craigchristenson commented 7 years ago

We recently updated the module for 2.3 and this issue should be fixed. Please let us know if you are still seeing an error in the 2.3 branch.

fashionkartz commented 7 years ago

when i install this plugin i get the errrorr Fatal error: Class 'Controllerextensionpaymenttwocheckoutapi' not found in public_html/system/storage/modification/system/engine/action.php on line 43

craigchristenson commented 7 years ago

Hi fashionkartz, are seeing this in opencart 2.3x? If so are you using the v2.3 branch?

fashionkartz commented 7 years ago

yes i am using opencart 2.3.x and also using v2.3 branch .but getting error

craigchristenson commented 7 years ago

Thanks for letting me know, looks like some changes were missing. We have updated the v2.3 branch and verified the changes against OC 2.3.0.1.

calebh05 commented 7 years ago

@fashionkartz Have you had a chance to implement these changes by chance?

may1991 commented 7 years ago

Hi, i am getting error: "Requested json parse failed" when customer on my site enters incorrect card information and tries to enter card information again.