View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007744 | module PayPal Checkout | module PayPal checkout - sub | public | 2024-11-12 17:00 | 2024-12-04 18:10 |
Reporter | kai75 | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 2.5.1 / 3.5.1 | ||||
Summary | 0007744: When using vouchers shop jumps back to payment selection (index.php?cl=payment&payerror=2) | ||||
Description | When using a voucher its not possible to pay with Paypal The response in the Payment Class is an empty array (https://github.com/OXID-eSales/paypal-module/blob/v2.5.1/src/Service/Payment.php#L143) I guess there is some miscalculation with Item Price, Discount and Total Price The request object is object(OxidSolutionCatalysts\PayPalApi\Model\Orders\OrderRequest)0003199 (6) { ["intent"]=> string(7) "CAPTURE" ["processing_instruction"]=> string(14) "NO_INSTRUCTION" ["payer"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Payer)0003216 (7) { ["name"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Name3)0003213 (2) { ["given_name"]=> string(3) "Hans" ["surname"]=> string(9) "Mustermann" } ["phone"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\PhoneWithType)0003274 (2) { ["phone_type"]=> string(4) "HOME" ["phone_number"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Phone2)0003275 (1) { ["national_number"]=> string(12) "491771234566" } } ["birth_date"]=> string(10) "1980-01-01" ["tax_info"]=> NULL ["address"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\AddressPortable3)0003241 (6) { ["address_line_1"]=> string(12) "Musterstr. 1" ["address_line_2"]=> string(1) " " ["admin_area_2"]=> string(11) "Frankfurt" ["admin_area_1"]=> NULL ["postal_code"]=> string(5) "60311" ["country_code"]=> string(2) "DE" } ["email_address"]=> string(16) "[email protected]" ["payer_id"]=> NULL } ["purchase_units"]=> array(1) { [0]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\PurchaseUnitRequest)0003200 (11) { ["reference_id"]=> string(14) "OXID_REFERENCE" ["amount"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\AmountWithBreakdown)#3205 (3) { ["breakdown"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\AmountBreakdown)0003206 (7) { ["item_total"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Money)0003208 (2) { ["currency_code"]=> string(3) "EUR" ["value"]=> string(5) "94.95" } ["shipping"]=> NULL ["handling"]=> NULL ["tax_total"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Money)0003209 (2) { ["currency_code"]=> string(3) "EUR" ["value"]=> string(4) "0.00" } ["insurance"]=> NULL ["shipping_discount"]=> NULL ["discount"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Money)0003207 (2) { ["currency_code"]=> string(3) "EUR" ["value"]=> string(5) "15.00" } } ["currency_code"]=> string(3) "EUR" ["value"]=> string(5) "94.95" } ["payee"]=> NULL ["payment_instruction"]=> NULL ["description"]=> string(24) "Zahlung bei xyz Online" ["custom_id"]=> NULL ["invoice_id"]=> NULL ["soft_descriptor"]=> NULL ["items"]=> array(1) { [0]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Item)0003218 (8) { ["name"]=> string(13) "Produkt 1" ["unit_amount"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Money)0003217 (2) { ["currency_code"]=> string(3) "EUR" ["value"]=> string(6) "109.95" } ["tax"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Money)0003201 (2) { ["currency_code"]=> string(3) "EUR" ["value"]=> string(4) "0.00" } ["quantity"]=> string(1) "1" ["tax_rate"]=> string(1) "0" ["description"]=> NULL ["sku"]=> NULL ["category"]=> string(14) "PHYSICAL_GOODS" } } ["shipping"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\ShippingDetail)0003214 (6) { ["name"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\Name4)0003204 (1) { ["full_name"]=> string(13) "Hans Mustermann" } ["email_address"]=> NULL ["phone_number"]=> NULL ["type"]=> NULL ["options"]=> NULL ["address"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\AddressPortable3)0003222 (6) { ["address_line_1"]=> string(12) "Musterstr. 1" ["address_line_2"]=> string(1) " " ["admin_area_2"]=> string(11) "Frankfurt" ["admin_area_1"]=> NULL ["postal_code"]=> string(5) "60311" ["country_code"]=> string(2) "DE" } } ["supplementary_data"]=> NULL } } ["payment_source"]=> NULL ["application_context"]=> object(OxidSolutionCatalysts\PayPalApi\Model\Orders\OrderApplicationContext)0003232 (13) { ["brand_name"]=> string(12) "Shop Online" ["locale"]=> NULL ["landing_page"]=> string(5) "LOGIN" ["shipping_preference"]=> string(13) "GET_FROM_FILE" ["user_action"]=> string(7) "PAY_NOW" ["payment_method"]=> NULL ["return_url"]=> string(71) "https://www.xyz.de/index.php?cl=order&fnc=finalizepaypalsession" ["cancel_url"]=> string(69) "https://www.xyz.de/index.php?cl=order&fnc=cancelpaypalsession" ["payment_token"]=> NULL ["client_configuration"]=> NULL ["vault"]=> bool(false) ["preferred_payment_source"]=> NULL ["stored_payment_source"]=> NULL } } | ||||
Steps To Reproduce | - Add Voucher to basket - select Paypal as Payment - click SUBMIT_ORDER Button in last step - Shop Jumps back with /index.php?cl=payment&payerror=2 In Productive Env we are using 2.3.3 without problems when using Vouchers. | ||||
Additional Information | Modul Version 2.5.1, Enterprise Oxid 6.5.4 b2c mode (no net mode) | ||||
Tags | No tags attached. | ||||
related to | 0007745 | assigned | [email protected] | Paypal checkout jumps back to step 2 with an error when an discount in relation to item value is used |
|
- es - paypal.log: [2024-11-13 12:03:48] PayPal Payment Logger.DEBUG: PayPal SEND path /orders [] [] [2024-11-13 12:03:48] PayPal Payment Logger.DEBUG: PayPal SEND request {"intent":"CAPTURE","processing_instruction":"NO_INSTRUCTION","payer":{"email_address":"[email protected]","name":{"given_name":"Theresa","surname":"Bild"},"address":{"address_line_1":"Bertoldstrasse 48","address_line_2":" ","admin_area_2":"Freiburg","postal_code":"79098","country_code":"DE"}},"purchase_units":[{"reference_id":"OXID_REFERENCE","amount":{"currency_code":"EUR","value":"194.40","breakdown":{"item_total":{"currency_code":"EUR","value":"174.50"},"shipping":{"currency_code":"EUR","value":"19.90"},"tax_total":{"currency_code":"EUR","value":"0.00"},"discount":{"currency_code":"EUR","value":"174.50"}}},"description":"Zahlung bei Oxid eShop 6","items":[{"name":"Kite CORE GT","unit_amount":{"currency_code":"EUR","value":"349.00"},"tax":{"currency_code":"EUR","value":"0.00"},"quantity":"1","tax_rate":"0","category":"PHYSICAL_GOODS"}],"shipping":{"name":{"full_name":"Theresa Bild"},"address":{"address_line_1":"Bertoldstrasse 48","address_line_2":" ","admin_area_2":"Freiburg","postal_code":"79098","country_code":"DE"}}}],"application_context":{"brand_name":"Oxid eShop 6","landing_page":"LOGIN","shipping_preference":"GET_FROM_FILE","user_action":"PAY_NOW","return_url":"https:\/\/t1.oxid.academy\/index.php?cl=order&fnc=finalizepaypalsession","cancel_url":"https:\/\/t1.oxid.academy\/index.php?cl=order&fnc=cancelpaypalsession","vault":false}} [] [] [2024-11-13 12:03:48] PayPal Payment Logger.DEBUG: PayPal SEND headers a:6:{s:4:"Host";a:1:{i:0;s:22:"api.sandbox.paypal.com";}s:12:"Content-Type";a:1:{i:0;s:16:"application/json";}s:29:"PayPal-Partner-Attribution-Id";a:1:{i:0;s:18:"Oxid_Cart_Payments";}s:25:"PayPal-Client-Metadata-Id";a:1:{i:0;s:0:"";}s:6:"Prefer";a:1:{i:0;s:14:"return=minimal";}s:17:"PayPal-Request-Id";a:1:{i:0;s:32:"5c559a1275057e44d0ca640a3c522229";}} [] [] [2024-11-13 12:03:48] PayPal Payment Logger.ERROR: Client error: `POST https://api.sandbox.paypal.com/v2/checkout/orders` resulted in a `422 Unprocessable Entity` response: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='OXID_REFERENCE'/amount/breakdown/ite (truncated...) ["[object] (GuzzleHttp\\Exception\\ClientException(code: 422): Client error: `POST https://api.sandbox.paypal.com/v2/checkout/orders` resulted in a `422 Unprocessable Entity` response:\n{\"name\":\"UNPROCESSABLE_ENTITY\",\"details\":[{\"field\":\"/purchase_units/@reference_id=='OXID_REFERENCE'/amount/breakdown/ite (truncated...)\n at /var/www/oxideshop/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113)\n[stacktrace]\n#0 /var/www/oxideshop/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\\Exception\\RequestException::create(Object(GuzzleHttp\\Psr7\\Request), Object(GuzzleHttp\\Psr7\\Response), NULL, Array, NULL)\n#1 /var/www/oxideshop/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Response))\n#2 /var/www/oxideshop/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\\Promise\\Promise::callHandler(1, Object(GuzzleHttp\\Psr7\\Response), NULL)\n#3 /var/www/oxideshop/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\\Promise\\Promise::GuzzleHttp\\Promise\\{closure}()\n#4 /var/www/oxideshop/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\\Promise\\TaskQueue->run(true)\n#5 /var/www/oxideshop/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\\Promise\\Promise->invokeWaitFn()\n#6 /var/www/oxideshop/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\\Promise\\Promise->waitIfPending()\n#7 /var/www/oxideshop/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\\Promise\\Promise->invokeWaitList()\n#8 /var/www/oxideshop/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\\Promise\\Promise->waitIfPending()\n#9 /var/www/oxideshop/vendor/guzzlehttp/guzzle/src/Client.php(124): GuzzleHttp\\Promise\\Promise->wait()\n#10 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-client/src/Client.php(261): GuzzleHttp\\Client->send(Object(GuzzleHttp\\Psr7\\Request))\n#11 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-client/src/Client.php(143): OxidSolutionCatalysts\\PayPalApi\\Client->sendWithAuth(Object(GuzzleHttp\\Psr7\\Request))\n#12 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-client/src/Service/BaseService.php(59): OxidSolutionCatalysts\\PayPalApi\\Client->send(Object(GuzzleHttp\\Psr7\\Request))\n#13 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-client/generated/Service/Orders.php(51): OxidSolutionCatalysts\\PayPalApi\\Service\\BaseService->send('POST', '/orders', Array, Array, '{\"intent\":\"CAPT...')\n#14 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Service/Payment.php(147): OxidSolutionCatalysts\\PayPalApi\\Service\\Orders->createOrder(Object(OxidSolutionCatalysts\\PayPalApi\\Model\\Orders\\OrderRequest), 'Oxid_Cart_Payme...', '', 'return=minimal')\n#15 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Service/Payment.php(591): OxidSolutionCatalysts\\PayPal\\Service\\Payment->doCreatePayPalOrder(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), 'CAPTURE', 'PAY_NOW', NULL, NULL, '', 'Oxid_Cart_Payme...', 'https://t1.oxid...', 'https://t1.oxid...', false)\n#16 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Model/Order.php(295): OxidSolutionCatalysts\\PayPal\\Service\\Payment->doExecuteStandardPayment(Object(OxidSolutionCatalysts\\PayPal\\Model\\Order), Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), 'CAPTURE')\n#17 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Model/Order.php(532): OxidSolutionCatalysts\\PayPal\\Model\\Order->_executePayment(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidEsales\\Eshop\\Application\\Model\\UserPayment))\n#18 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Model/Order.php(638): OxidEsales\\EshopCommunity\\Application\\Model\\Order->finalizeOrder(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidSolutionCatalysts\\PayPal\\Model\\User), false)\n#19 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/OrderController.php(219): OxidSolutionCatalysts\\PayPal\\Model\\Order->finalizeOrder(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidSolutionCatalysts\\PayPal\\Model\\User))\n#20 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidEsales\\EshopCommunity\\Application\\Controller\\OrderController->execute()\n#21 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ee/Core/Controller/BaseController.php(64): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('execute')\n#22 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopEnterprise\\Core\\Controller\\BaseController->executeFunction('execute')\n#23 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(OxidSolutionCatalysts\\PayPal\\Controller\\OrderController), 'execute')\n#24 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', 'execute', NULL, NULL)\n#25 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#26 /var/www/oxideshop/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#27 {main}\n"] [] [2024-11-13 12:03:48] PayPal Payment Logger.ERROR: API Error. ["[object] (OxidSolutionCatalysts\\PayPalApi\\Exception\\ApiException(code: 422): POST https://api.sandbox.paypal.com/v2/checkout/orders returned: 422 Unprocessable Entity\nReturned Message: The requested action could not be performed, semantically incorrect, or failed business validation.\nError Details: \n[{\"field\":\"\\/purchase_units\\/@reference_id=='OXID_REFERENCE'\\/amount\\/breakdown\\/item_total\\/value\",\"value\":\"174.50\",\"issue\":\"ITEM_TOTAL_MISMATCH\",\"description\":\"Should equal sum of (unit_amount * quantity) across all items for a given purchase_unit\"}]\n\nResponse: \n{\"name\":\"UNPROCESSABLE_ENTITY\",\"debug_id\":\"aba95d495c508\",\"links\":[{\"href\":\"https:\\/\\/developer.paypal.com\\/api\\/rest\\/reference\\/orders\\/v2\\/errors\\/#ITEM_TOTAL_MISMATCH\",\"rel\":\"information_link\",\"method\":\"GET\"}]}\n\nThe following curl request could be used to simulate a similar request:\n \ncurl -v -X POST \"https://api.sandbox.paypal.com/v2/checkout/orders\" -H \"User-Agent: GuzzleHttp/7\" -H \"Host: api.sandbox.paypal.com\" -H \"Content-Type: application/json\" -H \"PayPal-Partner-Attribution-Id: Oxid_Cart_Payments\" -H \"PayPal-Client-Metadata-Id: \" -H \"Prefer: return=minimal\" -H \"PayPal-Request-Id: 5c559a1275057e44d0ca640a3c522229\" -H \"Authorization: Bearer A21AAI7afH_usgR70uwgzP6uzfTgE3Z7aNAFQKnP-V1PHpZIlApKZygTCWeCPxgZ789u7pPD-Kbg2AdItrfPEwPXQSBazGj_w\" -d {\"intent\":\"CAPTURE\",\"processing_instruction\":\"NO_INSTRUCTION\",\"payer\":{\"email_address\":\"[email protected]\",\"name\":{\"given_name\":\"Theresa\",\"surname\":\"Bild\"},\"address\":{\"address_line_1\":\"Bertoldstrasse 48\",\"address_line_2\":\" \",\"admin_area_2\":\"Freiburg\",\"postal_code\":\"79098\",\"country_code\":\"DE\"}},\"purchase_units\":[{\"reference_id\":\"OXID_REFERENCE\",\"amount\":{\"currency_code\":\"EUR\",\"value\":\"194.40\",\"breakdown\":{\"item_total\":{\"currency_code\":\"EUR\",\"value\":\"174.50\"},\"shipping\":{\"currency_code\":\"EUR\",\"value\":\"19.90\"},\"tax_total\":{\"currency_code\":\"EUR\",\"value\":\"0.00\"},\"discount\":{\"currency_code\":\"EUR\",\"value\":\"174.50\"}}},\"description\":\"Zahlung bei Oxid eShop 6\",\"items\":[{\"name\":\"Kite CORE GT\",\"unit_amount\":{\"currency_code\":\"EUR\",\"value\":\"349.00\"},\"tax\":{\"currency_code\":\"EUR\",\"value\":\"0.00\"},\"quantity\":\"1\",\"tax_rate\":\"0\",\"category\":\"PHYSICAL_GOODS\"}],\"shipping\":{\"name\":{\"full_name\":\"Theresa Bild\"},\"address\":{\"address_line_1\":\"Bertoldstrasse 48\",\"address_line_2\":\" \",\"admin_area_2\":\"Freiburg\",\"postal_code\":\"79098\",\"country_code\":\"DE\"}}}],\"application_context\":{\"brand_name\":\"Oxid eShop 6\",\"landing_page\":\"LOGIN\",\"shipping_preference\":\"GET_FROM_FILE\",\"user_action\":\"PAY_NOW\",\"return_url\":\"https:\\/\\/t1.oxid.academy\\/index.php?cl=order&fnc=finalizepaypalsession\",\"cancel_url\":\"https:\\/\\/t1.oxid.academy\\/index.php?cl=order&fnc=cancelpaypalsession\",\"vault\":false}} at /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-client/src/Service/BaseService.php:62)\n[stacktrace]\n#0 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-client/generated/Service/Orders.php(51): OxidSolutionCatalysts\\PayPalApi\\Service\\BaseService->send('POST', '/orders', Array, Array, '{\"intent\":\"CAPT...')\n#1 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Service/Payment.php(147): OxidSolutionCatalysts\\PayPalApi\\Service\\Orders->createOrder(Object(OxidSolutionCatalysts\\PayPalApi\\Model\\Orders\\OrderRequest), 'Oxid_Cart_Payme...', '', 'return=minimal')\n#2 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Service/Payment.php(591): OxidSolutionCatalysts\\PayPal\\Service\\Payment->doCreatePayPalOrder(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), 'CAPTURE', 'PAY_NOW', NULL, NULL, '', 'Oxid_Cart_Payme...', 'https://t1.oxid...', 'https://t1.oxid...', false)\n#3 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Model/Order.php(295): OxidSolutionCatalysts\\PayPal\\Service\\Payment->doExecuteStandardPayment(Object(OxidSolutionCatalysts\\PayPal\\Model\\Order), Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), 'CAPTURE')\n#4 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Model/Order.php(532): OxidSolutionCatalysts\\PayPal\\Model\\Order->_executePayment(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidEsales\\Eshop\\Application\\Model\\UserPayment))\n#5 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Model/Order.php(638): OxidEsales\\EshopCommunity\\Application\\Model\\Order->finalizeOrder(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidSolutionCatalysts\\PayPal\\Model\\User), false)\n#6 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/OrderController.php(219): OxidSolutionCatalysts\\PayPal\\Model\\Order->finalizeOrder(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidSolutionCatalysts\\PayPal\\Model\\User))\n#7 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidEsales\\EshopCommunity\\Application\\Controller\\OrderController->execute()\n#8 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ee/Core/Controller/BaseController.php(64): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('execute')\n#9 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopEnterprise\\Core\\Controller\\BaseController->executeFunction('execute')\n#10 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(OxidSolutionCatalysts\\PayPal\\Controller\\OrderController), 'execute')\n#11 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', 'execute', NULL, NULL)\n#12 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#13 /var/www/oxideshop/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#14 {main}\n"] [] [2024-11-13 12:03:48] PayPal Payment Logger.ERROR: Could not create PayPal order. ["[object] (OxidSolutionCatalysts\\PayPal\\Exception\\PayPalException(code: 0): Could not create PayPal order. at /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Exception/PayPalException.php:16)\n[stacktrace]\n#0 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Service/Payment.php(598): OxidSolutionCatalysts\\PayPal\\Exception\\PayPalException::createPayPalOrderFail()\n#1 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Model/Order.php(295): OxidSolutionCatalysts\\PayPal\\Service\\Payment->doExecuteStandardPayment(Object(OxidSolutionCatalysts\\PayPal\\Model\\Order), Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), 'CAPTURE')\n#2 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Model/Order.php(532): OxidSolutionCatalysts\\PayPal\\Model\\Order->_executePayment(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidEsales\\Eshop\\Application\\Model\\UserPayment))\n#3 /var/www/oxideshop/vendor/oxid-solution-catalysts/paypal-module/src/Model/Order.php(638): OxidEsales\\EshopCommunity\\Application\\Model\\Order->finalizeOrder(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidSolutionCatalysts\\PayPal\\Model\\User), false)\n#4 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/OrderController.php(219): OxidSolutionCatalysts\\PayPal\\Model\\Order->finalizeOrder(Object(OxidSolutionCatalysts\\PayPal\\Model\\Basket), Object(OxidSolutionCatalysts\\PayPal\\Model\\User))\n#5 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidEsales\\EshopCommunity\\Application\\Controller\\OrderController->execute()\n#6 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ee/Core/Controller/BaseController.php(64): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('execute')\n#7 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopEnterprise\\Core\\Controller\\BaseController->executeFunction('execute')\n#8 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(OxidSolutionCatalysts\\PayPal\\Controller\\OrderController), 'execute')\n#9 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', 'execute', NULL, NULL)\n#10 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#11 /var/www/oxideshop/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#12 {main}\n"] [] [2024-11-13 12:03:49] PayPal Payment Logger.DEBUG: PayPal SEND path /v1/identity/generate-token [] [] [2024-11-13 12:03:49] PayPal Payment Logger.DEBUG: PayPal SEND request [] [] [2024-11-13 12:03:49] PayPal Payment Logger.DEBUG: PayPal SEND headers a:4:{s:4:"Host";a:1:{i:0;s:22:"api.sandbox.paypal.com";}s:12:"Content-Type";a:1:{i:0;s:16:"application/json";}s:13:"Authorization";a:1:{i:0;s:104:"Bearer A21AAI7afH_usgR70uwgzP6uzfTgE3Z7aNAFQKnP-V1PHpZIlApKZygTCWeCPxgZ789u7pPD-Kbg2AdItrfPEwPXQSBazGj_w";}s:17:"PayPal-Request-Id";a:1:{i:0;s:32:"1de87957a6bf11102bc21a3708517727";}} [] [] |
|
|