Interesting failure on a 1.5.8a site. We are not seeing this on any 2.#.# site.
hornedlizardcreationsDOTcom
PHP 7.4
MySQL 5.5.5-10.5.27-MariaDB
Edit Orders 4.7.0
Bootstrap 3.6.0
OPC 2.5.0
PayPal Restful 1.0.5
Square Webpay 1.0.4
Code:
[07-Jan-2025 23:26:15 America/Denver] Request URI: /index.php?main_page=checkout_one_confirmation, IP address: **************, Language id 1
#1 trigger_error() called at [/includes/modules/payment/paypalr.php:556]
#2 paypalr->setConfigurationDisabled() called at [/includes/modules/payment/paypalr.php:1188]
#3 paypalr->getOrderTotalsInfo() called at [/includes/modules/payment/paypalr.php:1093]
#4 paypalr->createPayPalOrder() called at [/includes/modules/payment/paypalr.php:954]
#5 paypalr->pre_confirmation_check() called at [/includes/classes/payment.php:248]
#6 payment->pre_confirmation_check() called at [/includes/modules/pages/checkout_one_confirmation/header_php.php:161]
#7 require(/includes/modules/pages/checkout_one_confirmation/header_php.php) called at [/index.php:35]
--> PHP Warning: Setting configuration disabled: The required notifications in the order_total.php class were not applied; the payment module cannot place orders. in /includes/modules/payment/paypalr.php on line 556.
Restful is easily reset by turning it back on. However, at the first attempted use, an error is thrown and the mod is turned off.
Turning on the debug for Restful shows the following before the above log file.
Code:
************************************************
2025-01-07 23:25:36: () validateCredentials: Checking ().The curlPost (v1/oauth2/token) request was successful (200).
{
"token_type": "Bearer",
"expires_in": 31312
}
************************************************
************************************************
2025-01-07 23:25:37: () validateCredentials: Checking ().The curlPost (v1/oauth2/token) request was successful (200).
{
"token_type": "Bearer",
"expires_in": 31312
}
************************************************
-------------------------------------------------------------------------------------
Turning on the debug for Restful shows the following after the above log file.
Code:
************************************************
2025-01-07 23:25:56: (checkout_one) validateCredentials: Checking (1).
TokenCache::get, using saved access-token; expires in 31293 seconds.
************************************************
************************************************
2025-01-07 23:26:05: (checkout_one) validateCredentials: Checking (1).
TokenCache::get, using saved access-token; expires in 31284 seconds.
************************************************
************************************************
2025-01-07 23:26:15: (checkout_one_confirmation) validateCredentials: Checking (1).
TokenCache::get, using saved access-token; expires in 31274 seconds.
************************************************
************************************************
2025-01-07 23:26:15: (checkout_one_confirmation) pre_confirmation_check starts ...
We are unable to process your PayPal Checkout payment at this time. Please contact us for assistance.
Bookmarks