qenta-cee / magento2-qcp

QENTA Checkout Page extension for Magento 2
GNU General Public License v2.0
12 stars 10 forks source link

Order Placement #19

Closed EliasKotlyar closed 6 years ago

EliasKotlyar commented 7 years ago

Hello Wirecard-Team,

We figured out an error which we want to report here:

Preconditions

   Install Magento 2.1
   Install Wirecard WCP Plugin
   Use the Test-data from https://guides.wirecard.at/wcp:test_mode( 3-D Secure based ) for configuring
   Configure "Wirecard Creditcard" payment method in Magento Backend as follows:
       -> Display Mode needs to be set to "Redirection"(Weiterleitung)

Steps to reproduce:


    In frontend: 
    1. Proceed to Checkout, use wirecard creditcard as payment method
    2. Click on "place order" and proceed to wirecard
    3. Click the "return" Button on your Browser
    4. Try again to place an Order

Expected result

You can perform a Payment and you are redirected to wirecard.

Actual result

You cannot perform a Payment. You are redirected back to cart page.

Traceback

We suppose that this debug-entry is the trigger of the issue:

[2016-11-23 10:21:17] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:FINGERPRINT cannot be used twice. Probably the transaction has already been processed. {"is_exception":false} []

We are thinking that this occurs due the same Data in the Request.

Summary:

Could you provide us some help with this Error? We are stuck at the development right now.

Feel free to contact us anytime for more information and debug Logs.(Email : elias.kotlyar@mediawave.de)

Many thanks in Advance,

Elias

Appendix : Complete Debug Log:

[2016-11-23 10:20:35] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:Array
(
    [customerId] => D200411
    [shopId] => 3D
    [language] => de
    [pluginVersion] => TWFnZW50bzI7Mi4xLjE7V2lyZWNhcmRDRUVfUVBheSAzLjQuMDtXaXJlY2FyZC9DaGVja291dFBhZ2U7MS4wLjI=
    [confirmUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/confirm/
    [orderReference] => 0000000128
    [uniqueId] => 2r6S3Q4x0k
    [amount] => 24.8
    [currency] => EUR
    [paymentType] => CCARD
    [orderDescription] => elias.kotlyar@mediawave.de Elias Kotlyar
    [successUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/back/
    [pendingUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/back/
    [cancelUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/back/
    [failureUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/back/
    [serviceUrl] => https://www.google.de/?gws_rd=ssl
    [consumerIpAddress] => 62.245.145.114
    [consumerUserAgent] => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
    [consumerEmail] => elias.kotlyar@mediawave.de
    [consumerBillingFirstname] => Elias
    [consumerBillingLastname] => Kotlyar
    [consumerBillingAddress1] => Welfenstrasse 22
    [consumerBillingAddress2] => 
    [consumerBillingZipCode] => 81377
    [consumerBillingCity] => München
    [consumerBillingCountry] => DE
    [consumerBillingState] => BAY
    [consumerBillingPhone] => 
    [consumerBillingFax] => 
    [consumerShippingFirstname] => Elias
    [consumerShippingLastname] => Kotlyar
    [consumerShippingAddress1] => Welfenstrasse 22
    [consumerShippingAddress2] => 
    [consumerShippingZipCode] => 81377
    [consumerShippingCity] => München
    [consumerShippingCountry] => DE
    [consumerShippingState] => BAY
    [consumerShippingPhone] => 
    [consumerShippingFax] => 
    [mage_orderId] => 000000128
    [mage_quoteId] => 429
    [mage_orderCreation] => after
    [customerStatement] => Web Shop Id:0000000128
    [duplicateRequestCheck] => yes
    [iframeUsed] => 
    [quoteHash] => 46bd91e9dbd77a398235f3e2301201c76b2be5fbdef4b674b491c7691b4b033759d837c1c2113427902bddc04b3287d8ed611cb68f930df2a53dde22c0711913
)
 {"is_exception":false} []
[2016-11-23 10:21:17] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:Array
(
    [customerId] => D200411
    [shopId] => 3D
    [language] => de
    [pluginVersion] => TWFnZW50bzI7Mi4xLjE7V2lyZWNhcmRDRUVfUVBheSAzLjQuMDtXaXJlY2FyZC9DaGVja291dFBhZ2U7MS4wLjI=
    [confirmUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/confirm/
    [orderReference] => 0000000128
    [uniqueId] => 2r6S3Q4x0k
    [amount] => 24.8
    [currency] => EUR
    [paymentType] => CCARD
    [orderDescription] => elias.kotlyar@mediawave.de Elias Kotlyar
    [successUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/back/
    [pendingUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/back/
    [cancelUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/back/
    [failureUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/back/
    [serviceUrl] => https://www.google.de/?gws_rd=ssl
    [consumerIpAddress] => 62.245.145.114
    [consumerUserAgent] => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
    [consumerEmail] => elias.kotlyar@mediawave.de
    [consumerBillingFirstname] => Elias
    [consumerBillingLastname] => Kotlyar
    [consumerBillingAddress1] => Welfenstrasse 22
    [consumerBillingAddress2] => 
    [consumerBillingZipCode] => 81377
    [consumerBillingCity] => München
    [consumerBillingCountry] => DE
    [consumerBillingState] => BAY
    [consumerBillingPhone] => 
    [consumerBillingFax] => 
    [consumerShippingFirstname] => Elias
    [consumerShippingLastname] => Kotlyar
    [consumerShippingAddress1] => Welfenstrasse 22
    [consumerShippingAddress2] => 
    [consumerShippingZipCode] => 81377
    [consumerShippingCity] => München
    [consumerShippingCountry] => DE
    [consumerShippingState] => BAY
    [consumerShippingPhone] => 
    [consumerShippingFax] => 
    [mage_orderId] => 000000128
    [mage_quoteId] => 429
    [mage_orderCreation] => after
    [customerStatement] => Web Shop Id:0000000128
    [duplicateRequestCheck] => yes
    [iframeUsed] => 
    [quoteHash] => 46bd91e9dbd77a398235f3e2301201c76b2be5fbdef4b674b491c7691b4b033759d837c1c2113427902bddc04b3287d8ed611cb68f930df2a53dde22c0711913
)
 {"is_exception":false} []
[2016-11-23 10:21:17] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:FINGERPRINT cannot be used twice. Probably the transaction has already been processed. {"is_exception":false} []
[2016-11-23 10:21:17] report.DEBUG: Wirecard\CheckoutPage\Controller\Checkout\Start::execute:Während des Bezahlprozesses ist ein Fehler aufgetreten. {"is_exception":false} []
[2016-11-23 10:21:18] report.DEBUG: cache_invalidate:  {"method":"GET","url":"http://staging.dalton-cosmetics.com/checkout/cart/","invalidateInfo":{"identifier":"TARGET_RULE_3_116_1_0_1"},"is_exception":false} []
jakubpolomsky commented 7 years ago

Hello, thank you for your time again. I will need some time to review it and discuss it with the product management to see how to prioritize this issue. I will get back to you when I have the decission.

Kind regards

rinnhofer commented 6 years ago

Hello, sorry for the delayed response to your issue. We discussed your issue and there will be no changes according to this behavior. If you are unhappy with this workflow you can deactivate "Check for duplicate requests" in your backend configuration.

Cheers