Order in captured state cannot be voided. You can void orders that are in either the pending, authorized, or partially captured state
[2018-03-21 13:31:19] - ERROR - 0 ::
{"name":"ORDER_CANNOT_BE_VOIDED","message":"Order in captured state cannot be voided. You can void orders that are in either the pending, authorized, or partially captured state.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"dafcd97018d22"}
#0 /var/www/namefruits/packages/braintree/braintreehttp/lib/BraintreeHttp/HttpClient.php(92): BraintreeHttp\HttpClient->parseResponse(Object(BraintreeHttp\Curl))
#1 /var/www/namefruits/packages/quiqqer/payment-paypal/src/QUI/ERP/Payments/PayPal/Payment.php(647): BraintreeHttp\HttpClient->execute(Object(PayPal\v1\Payments\OrderVoidRequest))
#2 /var/www/namefruits/packages/quiqqer/payment-paypal/src/QUI/ERP/Payments/PayPal/Payment.php(535): QUI\ERP\Payments\PayPal\Payment->payPalApiRequest('paypal-api-void...', Array, Object(QUI\ERP\Order\OrderInProcess))
#3 /var/www/namefruits/packages/quiqqer/payment-paypal/src/QUI/ERP/Payments/PayPal/Payment.php(191): QUI\ERP\Payments\PayPal\Payment->voidPayPalOrder(Object(QUI\ERP\Order\OrderInProcess))
#4 /var/www/namefruits/packages/quiqqer/payment-paypal/ajax/createOrder.php(25): QUI\ERP\Payments\PayPal\Payment->createPayPalOrder(Object(QUI\ERP\Order\OrderInProcess))
#5 [internal function]: {closure}(1)
#6 /var/www/namefruits/packages/quiqqer/quiqqer/lib/QUI/Ajax.php(342): call_user_func_array(Object(Closure), Array)
#7 /var/www/namefruits/packages/quiqqer/quiqqer/lib/QUI/Ajax.php(205): QUI\Ajax->callRequestFunction('package_quiqqer...')
#8 /var/www/namefruits/packages/quiqqer/quiqqer/lib/ajax.php(94): QUI\Ajax->call()
#9 /var/www/namefruits/packages/quiqqer/quiqqer/ajax.php(16): require('/var/www/namefr...')
#10 /var/www/namefruits/ajax.php(26): require('/var/www/namefr...')
#11 {main}
{
"request": "https:\/\/namefruits.hen.pcsg\/ajax.php",
"errorFilename": false,
"userId": 59687670,
"username": "peat"
}
[2018-03-21 13:31:19] - ERROR - 0 ::
Array
(
)
Beim Bezahlungsvorgang mit PayPal ist ein Fehler aufgetreten. Die Zahlung konnte nicht durchgeführt werden. Ihr PayPal-Konto wurde nicht belastet. Bitte wiederholen Sie den Vorgang oder wenden Sie sich an einen Administrator.
#0 /var/www/namefruits/packages/quiqqer/payment-paypal/src/QUI/ERP/Payments/PayPal/Payment.php(650): QUI\ERP\Payments\PayPal\Payment->throwPayPalException()
#1 /var/www/namefruits/packages/quiqqer/payment-paypal/src/QUI/ERP/Payments/PayPal/Payment.php(535): QUI\ERP\Payments\PayPal\Payment->payPalApiRequest('paypal-api-void...', Array, Object(QUI\ERP\Order\OrderInProcess))
#2 /var/www/namefruits/packages/quiqqer/payment-paypal/src/QUI/ERP/Payments/PayPal/Payment.php(191): QUI\ERP\Payments\PayPal\Payment->voidPayPalOrder(Object(QUI\ERP\Order\OrderInProcess))
#3 /var/www/namefruits/packages/quiqqer/payment-paypal/ajax/createOrder.php(25): QUI\ERP\Payments\PayPal\Payment->createPayPalOrder(Object(QUI\ERP\Order\OrderInProcess))
#4 [internal function]: {closure}(1)
#5 /var/www/namefruits/packages/quiqqer/quiqqer/lib/QUI/Ajax.php(342): call_user_func_array(Object(Closure), Array)
#6 /var/www/namefruits/packages/quiqqer/quiqqer/lib/QUI/Ajax.php(205): QUI\Ajax->callRequestFunction('package_quiqqer...')
#7 /var/www/namefruits/packages/quiqqer/quiqqer/lib/ajax.php(94): QUI\Ajax->call()
#8 /var/www/namefruits/packages/quiqqer/quiqqer/ajax.php(16): require('/var/www/namefr...')
#9 /var/www/namefruits/ajax.php(26): require('/var/www/namefr...')
#10 {main}
{
"request": "https:\/\/namefruits.hen.pcsg\/ajax.php",
"errorFilename": false,
"userId": 59687670,
"username": "peat"
}