Skip to content

order not being canceled #4580

Closed
Closed
@SidneyBilliet

Description

@SidneyBilliet

Steps to reproduce

  1. go to https://www.bariatricadvantage.eu
  2. log-in to the account by using email: [email protected] and pwd: testtest
  3. Add a Product to the cart.
    3.Try checking out using Paypal

Expected result

  1. You should be able to checkout

Actual result

  1. Error message appears: "PayPal gateway has rejected request. Payment has already been made for this invoiceID (Customer Tax Group not applied on order creation #10412: Duplicate invoice)".

2016-05-19_16h30_54

  1. Error log:
    {{2016-05-02 13:07:21 main.CRITICAL: exception 'Zend_Db_Statement_Exception' with message 'Report ID: webapi-572751096f303; Message: SQLSTATE23000: Integrity constraint violation: 1062 Duplicate entry 'BAWS-000000039-6' for key 'SALES_ORDER_INCREMENT_ID_STORE_ID', query was: INSERT INTO sales_order (state, status, protect_code, shipping_description, is_virtual, store_id, customer_id, base_discount_amount, base_grand_total, base_shipping_amount, base_shipping_tax_amount, base_subtotal, base_tax_amount, base_to_global_rate, base_to_order_rate, discount_amount, grand_total, shipping_amount, shipping_tax_amount, store_to_base_rate, store_to_order_rate, subtotal, tax_amount, total_qty_ordered, customer_is_guest, customer_note_notify, customer_group_id, quote_id, base_shipping_discount_amount, base_subtotal_incl_tax, base_total_due, shipping_discount_amount, subtotal_incl_tax, total_due, weight, increment_id, applied_rule_ids, base_currency_code, customer_email, customer_firstname, customer_lastname, customer_middlename, discount_description, global_currency_code, order_currency_code, remote_ip, shipping_method, store_currency_code, store_name, total_item_count, discount_tax_compensation_amount, base_discount_tax_compensation_amount, shipping_discount_tax_compensation_amount, base_shipping_discount_tax_compensation_amnt, discount_tax_compensation_invoiced, base_discount_tax_compensation_invoiced, discount_tax_compensation_refunded, base_discount_tax_compensation_refunded, shipping_incl_tax, base_shipping_incl_tax, gift_message_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' in /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/lib/internal/Magento/Framework/Webapi/ErrorProcessor.ph...
    Stack trace:
    #0 /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/lib/internal/Magento/Framework/Webapi/ErrorProcessor.ph...: Magento\Framework\Webapi\ErrorProcessor->_critical(Object(Zend_Db_Statement_Exception))
    Can you commit to repository a folder dev/tests/static ? #1 /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/app/code/Magento/Webapi/Controller/Rest.php(163): Magento\Framework\Webapi\ErrorProcessor->maskException(Object(Zend_Db_Statement_Exception))
    BUG FIX - Uncaught exception when accessing admin with none existent use... #2 /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/var/generation/Magento/Webapi/Controller/Rest/Intercept...: Magento\Webapi\Controller\Rest->dispatch(Object(Magento\Framework\App\Request\Http))
    __DIR__ Typo fixed #3 /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/lib/internal/Magento/Framework/App/Http.php(115): Magento\Webapi\Controller\Rest\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
    Enable Magento_Profiler by SetEnv #4 internal function: Magento\Framework\App\Http->launch()
    Enable automated CRUD setup for Adminhtml Grids #5 /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/lib/internal/Magento/Framework/Interception/Interceptor...: call_user_func_array(Array, Array)
    Why use private for message ? #6 /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/var/generation/Magento/Framework/App/Http/Interceptor.p...: Magento\Framework\App\Http\Interceptor->___callPlugins('launch', Array, Array)
    Ability to provide configuration for different environments in app/etc/local.xml #7 /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/lib/internal/Magento/Framework/App/Bootstrap.php(258): Magento\Framework\App\Http\Interceptor->launch()
    Clear separation for Controller and controllers required with Full Controller path #8 /var/www/www.bariatricadvantage.eu/2.0.2-355-g24e5c4a/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
    Added: dispatchEvent to deleteAction(). Only existed in massDeleteAction(). #9
    {main}

[] []}}
screen shot 2016-05-02 at 15 24 28

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions