Business-API-Ecosystem icon indicating copy to clipboard operation
Business-API-Ecosystem copied to clipboard

Internal Server Error: /charging/api/orderManagement/orders

Open marcap07 opened this issue 1 year ago • 2 comments

Hi all, I am working with the last BAE version We got error trying to check out the product to complete the purchase. We got error "The server has failed processing your order". Here the log of the charging backend

INFO [2024-01-19 10:07:22,627]: (charging_engine) Resolving charging of type initial for order Order object (65aa9e3a45f4f0f6c02a3e08) INFO [2024-01-19 10:07:22,627]: (charging_engine) Resolving initial charges for order 526 DEBUG [2024-01-19 10:07:22,627]: (charging_engine) Processing contract 0 DEBUG [2024-01-19 10:07:22,627]: (price_resolver) Calculating price with {'single_payment': [{'value': '200.00', 'unit': 'one time', 'tax_rate': '20.00', 'duty_free': '166.67'}], 'alteration': {'type': 'discount', 'value': 5.0, 'period': 'one time', 'condition': {'operation': 'ge', 'value': '200'}}} DEBUG [2024-01-19 10:07:22,627]: (price_resolver) Processing alteration: {alteration} DEBUG [2024-01-19 10:07:22,628]: (price_resolver) Processed alteration OK DEBUG [2024-01-19 10:07:22,628]: (price_resolver) Calculated price with {'single_payment': [{'value': '200.00', 'unit': 'one time', 'tax_rate': '20.00', 'duty_free': '166.67'}], 'alteration': {'type': 'discount', 'value': 5.0, 'period': 'one time', 'condition': {'operation': 'ge', 'value': '200'}}}: Price: 190.00 | Duty_free: 158.34 DEBUG [2024-01-19 10:07:22,632]: (charging_engine) Transaction for item 0 appended INFO [2024-01-19 10:07:22,632]: (charging_engine) Starting charging process DEBUG [2024-01-19 10:07:22,632]: (rollback) Rolling back model creation: Order object (65aa9e3a45f4f0f6c02a3e08) DEBUG [2024-01-19 10:07:22,634]: (http) Building response for POST /charging/api/orderManagement/orders ERROR [2024-01-19 10:07:22,670]: (log) Internal Server Error: /charging/api/orderManagement/orders Internal Server Error: /charging/api/orderManagement/orders

Do you have experienced a similar issue before? Thanks Best Regard Marialuisa

marcap07 avatar Jan 25 '24 14:01 marcap07

Having a look at the logs it look like a failure in the connection with the payment.

Did you configure paypal for such a support?

fdelavega avatar Jan 25 '24 15:01 fdelavega

Hi Francisco, thanks for you quick response. We will check paypal configuration parameters. Thank you Marialuisa

marcap07 avatar Jan 26 '24 13:01 marcap07