Hello Opencart users and fixers,
I am using:
Opencart version 4.1.0.3 PHP version: 8.3.23 PayPal version 3.2.2
Operating my shopping cart and paypal in sandbox mode.
It looks like everything works fine when I purchase something from my website.
I add a product to the cart, go to checkout, fill in the form, click the button.
Opencart takes me to the success page, telling me I will get an email with my order details.
Sure enough, Opencart sends me, the customer, an email, sent to my personal email, with my purchase details.
Opencart then sends me, the business, an email, sent to my business account, informing me of the purchase.
All good. but....
I do not get an email to my business from paypal telling me I have a purchase,
which I think it is supposed to do.
My PayPal account shows success on the purchase and no errors.
I have tried several times with the same result.
I do get an error message in my Opencart Admin:
2025-08-02 17:14:35 - Error: Error: Could not call registry key model_extension_payapl_payment_paypal!
File: /home/gunowner/public_html/system/engine/controller.php
Line: 43
Backtrace: 0
File: /home/gunowner/public_html/extension/paypal/catalog/controller/payment/paypal.php
Line: 5497
Class: Opencart\System\Engine\Controller
Function: __get
Backtrace: 1
File: /home/gunowner/public_html/extension/paypal/catalog/controller/payment/paypal.php
Line: 31
Class: Opencart\Catalog\Controller\Extension\PayPal\Payment\PayPal
Function: webhook
Backtrace: 2
File: /home/gunowner/public_html/system/engine/action.php
Line: 96
Class: Opencart\Catalog\Controller\Extension\PayPal\Payment\PayPal
Function: index
Backtrace: 3
File: /home/gunowner/public_html/system/framework.php
Line: 259
Class: Opencart\System\Engine\Action
Function: execute
Backtrace: 4
File: /home/gunowner/public_html/index.php
Line: 24
Function: require_once
2025-08-02 17:24:56 - Error: Error: Could not call registry key model_extension_payapl_payment_paypal!
File: /home/gunowner/public_html/system/engine/controller.php
Line: 43
Backtrace: 0
File: /home/gunowner/public_html/extension/paypal/catalog/controller/payment/paypal.php
Line: 5497
Class: Opencart\System\Engine\Controller
Function: __get
Backtrace: 1
File: /home/gunowner/public_html/extension/paypal/catalog/controller/payment/paypal.php
Line: 31
Class: Opencart\Catalog\Controller\Extension\PayPal\Payment\PayPal
Function: webhook
Backtrace: 2
File: /home/gunowner/public_html/system/engine/action.php
Line: 96
Class: Opencart\Catalog\Controller\Extension\PayPal\Payment\PayPal
Function: index
Backtrace: 3
File: /home/gunowner/public_html/system/framework.php
Line: 259
Class: Opencart\System\Engine\Action
Function: execute
Backtrace: 4
File: /home/gunowner/public_html/index.php
Line: 24
Function: require_once
So, can anyone give me an idea on what needs to be fixed?
Thank you all !
Dan
The PayPal sandbox does not send out emails.
The error is cause by a spelling mistake. Payapl should be paypal.
Error: Error: Could not call registry key model_extension_payapl_payment_paypal!
The error is cause by a spelling mistake. Payapl should be paypal.
Error: Error: Could not call registry key model_extension_payapl_payment_paypal!
Thanks ADD Creative ! You spotted the problem.ADD Creative wrote: ↑Sun Aug 03, 2025 4:06 pmThe PayPal sandbox does not send out emails.
The error is cause by a spelling mistake. Payapl should be paypal.
Error: Error: Could not call registry key model_extension_payapl_payment_paypal!
I need to get my eyes checked.
The error is here in the paypal extension:
Backtrace: 0
File: /home/gunowner/public_html/extension/paypal/catalog/controller/payment/paypal.php
Line: 5497
Class: Opencart\System\Engine\Controller
Function: __get
I thought the sandbox mode would be a test for the real thing and paypal would send a confirmation email.
Well now we know.
Thanks again !
Dan
Who is online
Users browsing this forum: gunownergear and 9 guests