"GET /shop/payment HTTP/1.0" 200 - 44 0.022 0.088
2025-04-26 02:10:04,041 1 INFO odoo werkzeug: 172.18.0.1 - - [26/Apr/2025 02:10:04] "GET /im_livechat/assets_embed.css HTTP/1.0" 304 - 3 0.002 0.009
2025-04-26 02:10:04,052 1 INFO odoo werkzeug: 172.18.0.1 - - [26/Apr/2025 02:10:04] "POST /im_livechat/init HTTP/1.0" 200 - 17 0.011 0.013
2025-04-26 02:10:25,377 1 INFO odoo odoo.addons.payment_paypal.models.payment_transaction: Sending '/checkout/orders' request for transaction with reference S00045-2:
{'intent': 'CAPTURE',
'payment_source': {'paypal': {'address': {'address_line_1': '14#2702 '
'Apartment 2702, '
'Building 14, '
'Meide City East, '
'Xunzi Street',
'admin_area_1': '河北省',
'admin_area_2': 'handan',
'country_code': 'CN',
'postal_code': '056107'},
'email_address': 'samxx8@163.com',
'experience_context': {'shipping_preference': 'NO_SHIPPING'},
'name': {'given_name': '',
'surname': 'sam163'}}},
'purchase_units': [{'amount': {'currency_code': 'USD', 'value': 1.15},
'description': 'Handan Qingque E-commerce Technology Co., '
'Ltd.: S00045-2',
'payee': {'display_data': {'brand_name': 'Handan Qingque '
'E-commerce '
'Technology Co., '
'Ltd.',
'business_email': 'green-magpie@outlook.com'},
'email_address': 'green-magpie@outlook.com'},
'reference_id': 'S00045-2'}]}
2025-04-26 02:10:26,246 1 INFO odoo werkzeug: 172.18.0.1 - - [26/Apr/2025 02:10:26] "GET /zh_CN/forum/yuan-yi-ji-chu-2?sorting=last_activity_date+desc HTTP/1.0" 200 - 37 0.023 0.087
2025-04-26 02:10:26,562 1 ERROR odoo odoo.addons.payment_paypal.models.payment_provider: Invalid API request at https://api-m.paypal.com/v2/checkout/orders with data:
{'intent': 'CAPTURE',
'payment_source': {'paypal': {'address': {'address_line_1': '14#2702 '
'Apartment 2702, '
'Building 14, '
'Meide City East, '
'Xunzi Street',
'admin_area_1': '河北省',
'admin_area_2': 'handan',
'country_code': 'CN',
'postal_code': '056107'},
'email_address': 'samxx8@163.com',
'experience_context': {'shipping_preference': 'NO_SHIPPING'},
'name': {'given_name': '',
'surname': 'sam163'}}},
'purchase_units': [{'amount': {'currency_code': 'USD', 'value': 1.15},
'description': 'Handan Qingque E-commerce Technology Co., '
'Ltd.: S00045-2',
'payee': {'display_data': {'brand_name': 'Handan Qingque '
'E-commerce '
'Technology Co., '
'Ltd.',
'business_email': 'green-magpie@outlook.com'},
'email_address': 'green-magpie@outlook.com'},
'reference_id': 'S00045-2'}]}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/payment_paypal/models/payment_provider.py", line 102, in _paypal_make_request
response.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api-m.paypal.com/v2/checkout/orders
2025-04-26 02:10:26,565 1 WARNING odoo odoo.http: PayPal: The communication with the API failed. Details:
2025-04-26 02:10:26,568 1 INFO odoo werkzeug: 172.18.0.1 - - [26/Apr/2025 02:10:26] "POST /shop/payment/transaction/45 HTTP/1.0" 200 - 33 0.015 1.210
2025-04-26 02:10:39,435 1 INFO odoo werkzeug: 172.18.0.1 - - [26/Apr/2025 02:10:39] "GET /websocket?version=18.0-3 HTTP/1.0" 400 - 2 0.001 0.002
2025-04-26 02:11:04,201 1 INFO odoo werkzeug: 172.18.0.1 - - [26/Apr/2025 02:11:04] "GET /websocket?version=18.0-3 HTTP/1.0" 400 - 2 0.001 0.002
I encountered the same problem? It's unsolvable now...