Git Product home page Git Product logo

magento2-qcp's People

Contributors

dinoklj avatar dorlibartel avatar eliaskotlyar avatar hmknapp avatar jakubpolomsky avatar jueger avatar miha1 avatar mjankiewicz avatar mw-ekotlyar avatar pretzelhands avatar rinnhofer avatar semsudin avatar serucee avatar shahzadali avatar tomazpu avatar wd-chofer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento2-qcp's Issues

Checkout not working when "Term and Condition" are set

Hello Wirecard-Team,

I figured out an error which i want to report here:

Preconditions

Install Magento 2.1

Steps to reproduce:

  1. Create a Term and Condition entry under Stores > Terms and Conditions
  2. Activate Terms and Conditions for checkout under Stores > Sales > Checkout > Enable Terms and Conditions
  3. Login into the shop using a customer account
  4. Go through checkout
  5. On Review & Payments step select any wirecard-payment method
  6. Check the checkbox on "term and conditions"
  7. Click Place Order

Expected result
Order is being placed/redirect to wirecard

Actual result
Validation message for unaccepted Term and Condition appears

Checkout not working when "Term and Condition" are set 2

Hello Wirecard-Team,

I figured out an error which already occured in #6

Preconditions

Install Magento 2.2.3 - I suppose it doesnt occur on Magento 2.1 or 2.0

Steps to reproduce:

  1. Create a Term and Condition entry under Stores > Terms and Conditions
  2. Activate Terms and Conditions for checkout under Stores > Sales > Checkout > Enable Terms and Conditions
  3. Dont use a customer account, go trough the shop as guest
  4. Go through checkout
  5. On Review & Payments step select any wirecard-payment method
  6. Check the checkbox on "term and conditions"
  7. Click Place Order

Expected result
Order is being placed/redirect to wirecard

Actual result
Validation message for unaccepted Term and Condition appears

Fraud Messages appear in Test-Mode

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 )

Steps to reproduce:


    In frontend: Create an Order using a Test-Creditcard. 
    In admin panel: Have a look at this Order

Expected result

Order is completed without any notices.

Actual result

Order is completed but reported as a fraud

fraud

Traceback

We traced this error back to the compareQuoteChecksum method. We included a few additional debug-outputs to the plugin to find out the reason:

debugoutput1

debugoutput2

Additional Debug Output :

[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Helper\Data::compareQuoteChecksum:mine: 45ad47e86d4c5378cf31702199495eb6152eb1d4d8dd9c84ec8fa89da70a0598ff58994e85ae055a20b3820f322ef63d6c7fa433fe8643be2a63ea9092f30532 {"is_exception":false} []
[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Helper\Data::compareQuoteChecksum:his: 46bd91e9dbd77a398235f3e2301201c76b2be5fbdef4b674b491c7691b4b033759d837c1c2113427902bddc04b3287d8ed611cb68f930df2a53dde22c0711913 {"is_exception":false} []
[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Model\OrderManagement::confirmOrder:Ein Betrugsversuch wurde festgestellt. Der Warenkorb wurde während des Bezahlvorganges verändert. {"is_exception":false} []

Summary:

The error is triggered due a hash mismatch. The webservice returns a hash and this hash is compared to another hash which is calculated from the quote. Both Hashes are different but should be same.

We are thinking that the wirecard-server-side hash calculation differs from the calculation in magento.

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 : [email protected])

Many thanks in Advance,

Elias

Appendix : Complete Debug Log:

[2016-11-07 13:19:27] report.DEBUG: Wirecard\CheckoutPage\Helper\Data::calculateQuoteChecksum:calculation-result: [email protected] Elias KotlyarMünchen81377DEDEBayernWelfenstrasse 22Herr Elias KotlyarMünchen81377DEDEBayernWelfenstrasse 22 {"is_exception":false} []
[2016-11-07 13:19:27] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:Array
(
    [customerId] => D200411
    [shopId] => 3D
    [language] => de
    [pluginVersion] => TWFnZW50bzI7Mi4xLjE7V2lyZWNhcmRDRUVfUVBheSAzLjQuMDtXaXJlY2FyZC9DaGVja291dFBhZ2U7MS4wLjI=
    [confirmUrl] => http://local.dalton.dev/wirecardcheckoutpage/checkout/confirm/
    [orderReference] => 0000000080
    [uniqueId] => 8v2x3n6g7C
    [amount] => 24.8
    [currency] => EUR
    [paymentType] => CCARD
    [orderDescription] => [email protected] Elias Kotlyar
    [successUrl] => http://local.dalton.dev/wirecardcheckoutpage/checkout/back/
    [pendingUrl] => http://local.dalton.dev/wirecardcheckoutpage/checkout/back/
    [cancelUrl] => http://local.dalton.dev/wirecardcheckoutpage/checkout/back/
    [failureUrl] => http://local.dalton.dev/wirecardcheckoutpage/checkout/back/
    [serviceUrl] => https://www.google.de/?gws_rd=ssl
    [consumerIpAddress] => 10.10.0.1
    [consumerUserAgent] => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
    [consumerEmail] => [email protected]
    [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] => 000000080
    [mage_quoteId] => 299
    [mage_orderCreation] => after
    [customerStatement] => Web Shop Id:0000000080
    [duplicateRequestCheck] => yes
    [iframeUsed] => 
    [quoteHash] => 46bd91e9dbd77a398235f3e2301201c76b2be5fbdef4b674b491c7691b4b033759d837c1c2113427902bddc04b3287d8ed611cb68f930df2a53dde22c0711913
)
 {"is_exception":false} []
[2016-11-07 13:20:51] report.DEBUG: Wirecard\CheckoutPage\Controller\Checkout\Back::execute:Array
(
    [amount] => 24.8
    [currency] => EUR
    [paymentType] => CCARD
    [financialInstitution] => Visa
    [language] => de
    [orderNumber] => 45906389
    [paymentState] => SUCCESS
    [uniqueId] => 8v2x3n6g7C
    [mage_orderId] => 000000080
    [mage_quoteId] => 299
    [mage_orderCreation] => after
    [iframeUsed] => 
    [quoteHash] => 46bd91e9dbd77a398235f3e2301201c76b2be5fbdef4b674b491c7691b4b033759d837c1c2113427902bddc04b3287d8ed611cb68f930df2a53dde22c0711913
    [authenticated] => Yes
    [anonymousPan] => 1003
    [expiry] => 01/2019
    [cardholder] => Elias Kotlyar
    [maskedPan] => 401200******1003
    [gatewayReferenceNumber] => C963472147852484476281
    [gatewayContractNumber] => 70003
    [responseFingerprintOrder] => amount,currency,paymentType,financialInstitution,language,orderNumber,paymentState,uniqueId,mage_orderId,mage_quoteId,mage_orderCreation,iframeUsed,quoteHash,authenticated,anonymousPan,expiry,cardholder,maskedPan,gatewayReferenceNumber,gatewayContractNumber,secret,responseFingerprintOrder
    [responseFingerprint] => 4a43553145a431feb73b15b14db979b3d1316a644de8f9aeb3da6ed73ec2dfdd4a69bbf9c4e6d52fad802d2ad2da968bca02c30d5126ef3c71d64497f7875033
)
 {"is_exception":false} []
[2016-11-07 13:20:51] report.DEBUG: Wirecard\CheckoutPage\Controller\Checkout\Back::execute:order not processed via confirm server2server request, check your packetfilter! {"is_exception":false} []
[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Helper\Data::calculateQuoteChecksum:calculation-result: [email protected] Elias KotlyarMünchen81377DEDEBayernWelfenstrasse 22Herr Elias KotlyarMünchen81377DEDEBayernWelfenstrasse 22 {"is_exception":false} []
[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Helper\Data::compareQuoteChecksum:quote checksum mismatch {"is_exception":false} []
[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Helper\Data::compareQuoteChecksum:mine: 45ad47e86d4c5378cf31702199495eb6152eb1d4d8dd9c84ec8fa89da70a0598ff58994e85ae055a20b3820f322ef63d6c7fa433fe8643be2a63ea9092f30532 {"is_exception":false} []
[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Helper\Data::compareQuoteChecksum:his: 46bd91e9dbd77a398235f3e2301201c76b2be5fbdef4b674b491c7691b4b033759d837c1c2113427902bddc04b3287d8ed611cb68f930df2a53dde22c0711913 {"is_exception":false} []
[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Model\OrderManagement::confirmOrder:Ein Betrugsversuch wurde festgestellt. Der Warenkorb wurde während des Bezahlvorganges verändert. {"is_exception":false} []
[2016-11-07 13:20:53] report.DEBUG: Wirecard\CheckoutPage\Model\OrderManagement::confirmOrder:payment-state:payment_approved allowed operations:DEPOSIT,APPROVEREVERSAL {"is_exception":false} []

EPS Payment is not working in Sandbox Mode

Hello Wirecard-Team,

I figured out an error which i want to report here.

Preconditions

Same as in #8

Steps to reproduce:

Same as in
#8

The only exception is, that you have to select EPS-Payment instead of Sofortbanking.

Expected result

Order is being placed/redirect to wirecard

Actual result

Redirect to Cart with "There was an Error with your Transaction"

Additional Informations:

same as #8.

We have seen some Errors in the /var/log/debug.log:

[2017-05-02 19:22:35] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:Array
(
[customerId] => D200411
[shopId] => 3D
[language] => de
[pluginVersion] => TWFnZW50bzI7Mi4xLjQ7V2lyZWNhcmRDRUVfUVBheSAzLjQuMDtXaXJlY2FyZC9DaGVja291dFBhZ2U7MS4wLjI=
[confirmUrl] => http://staging.dalton-cosmetics.com/wirecardcheckoutpage/checkout/confirm/
[orderReference] => 0000000394
[uniqueId] => 7o5B2W3X8I
[amount] => 36.8
[currency] => EUR
[paymentType] => EPS
[orderDescription] => [email protected] 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:53.0) Gecko/20100101 Firefox/53.0
[consumerEmail] => [email protected]
[consumerBirthDate] => 1990-04-23
[consumerBillingFirstname] => Elias
[consumerBillingLastname] => Kotlyar
[consumerBillingAddress1] => Welfenstrasse 22
[consumerBillingAddress2] =>
[consumerBillingZipCode] => 813541
[consumerBillingCity] => München
[consumerBillingCountry] => DE
[consumerBillingState] => SAS
[consumerBillingPhone] =>
[consumerBillingFax] =>
[consumerShippingFirstname] => Elias
[consumerShippingLastname] => Kotlyar
[consumerShippingAddress1] => Welfenstrasse 22
[consumerShippingAddress2] =>
[consumerShippingZipCode] => 813541
[consumerShippingCity] => München
[consumerShippingCountry] => DE
[consumerShippingState] => SAS
[consumerShippingPhone] =>
[consumerShippingFax] =>
[mage_orderId] => 000000394
[mage_quoteId] => 1113
[mage_orderCreation] => after
[customerStatement] => Web Shop Id:0000000394
[duplicateRequestCheck] => yes
[iframeUsed] =>
[quoteHash] => 432eb69782bcc6db8af24f1031f0f036039e26bdd87172b402860cc6d8cd66f5c2ffb47ff1ce474c5e8ab716a3f3157d75d04edabc676b4ac4425791c6c1ba7a
)
{"is_exception":false} []
[2017-05-02 19:22:35] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:PAYMENTTYPE is not activated. {"is_exception":false} []
[2017-05-02 19:22:35] report.DEBUG: Wirecard\CheckoutPage\Controller\Checkout\Start::execute:Während des Bezahlprozesses ist ein Fehler aufgetreten. {"is_exception":false} []
[2017-05-02 19:22:36] report.DEBUG: cache_invalidate: {"method":"GET","url":"http://staging.dalton-cosmetics.com/checkout/cart/","invalidateInfo":{"identifier":"TARGET_RULE_3_285_1_1_1"},"is_exception":false} []

Thanks for your support,

Greetings
Elias
eps

magento 2.3 compatibility TPWDCEE-3764

Prerequisites

Versions

Magento 2 version: 2.3.0
PHP version: 7.2

Issue

Problem description:
When will your extension be compatible with magento 2.3 ? Currently it is not possible to pay with wcp on a magento2.3 installation cause when the user comes back from wirecard interface an error shows with message "Invalid Form Key. Please refresh the page."
...

Steps to reproduce:

...

Order Placement

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 : [email protected])

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] => [email protected] 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] => [email protected]
    [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] => [email protected] 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] => [email protected]
    [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} []

Order confirmation emails sent twice TPWDCEE-3766

Versions

Magento 2 version: 2.5.x
PHP version: 7.1.22

Issue

Problem description:

With 5f6c386 the status of orders is set to PROCESSING which triggers order confirmation email sending by Magento Core. As the OrderManagement class sends the order confirmation email itself, it is sent twice.

Errror Description misleading

Hello Wirecard-Team,

We have got this error:
error

We have debugged the Extension and found the reason for this error. It turned out, that we havent filled out the "imprint-url" field. After correcting it,everything worked fine. But this error-description is completely misleading, and therefore it would be good if you could use a more precise error description.

Greetings
Elias

Paypal Payment is not working

Hello Wirecard-Team,

I figured out an error which i want to report here.

Preconditions

Same as in #8

Steps to reproduce:

Same as in
#8

The only exception is, that you have to select Paypal instead of Sofortbanking.
paypal

Expected result

Order is being placed/redirect to wirecard

Actual result

Redirect to Cart with "There was an Error with your Transaction"

Additional Informations:

same as #8.

We have seen some Errors in the /var/log/debug.log:

[2016-10-07 14:55:34] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:PAYMENTTYPE is not activated. {"is_exception":false} []
[2016-10-07 14:55:34] report.DEBUG: Wirecard\CheckoutPage\Controller\Checkout\Start::execute:Während des Bezahlprozesses ist ein Fehler aufgetreten. {"is_exception":false} []

Thanks for your support,

Greetings
Elias

Sofortbanking Payment is not working

Hello Wirecard-Team,

I figured out an error which i want to report here:

Preconditions

Install Magento 2.1
Install Wirecard WCP Plugin
Provide the Test-data from https://guides.wirecard.at/wcp:test_mode( 3-D Secure based )

Steps to reproduce:

Go to Checkout with any Products
Select Sofortbanking(Sofortüberweisung)

sofortpayment

Click Place Order

Expected result

Order is being placed/redirect to wirecard

Actual result

Redirect to Cart with "There was an Error with your Transaction"
carterror

We have seen some Errors in the /var/log/debug.log:

[2016-10-07 14:55:34] report.DEBUG: Wirecard\CheckoutPage\Model\AbstractPayment::initPaymentByCart:PAYMENTTYPE is not activated. {"is_exception":false} []
[2016-10-07 14:55:34] report.DEBUG: Wirecard\CheckoutPage\Controller\Checkout\Start::execute:Während des Bezahlprozesses ist ein Fehler aufgetreten. {"is_exception":false} []

We have researched, that the Message "PAYMENTTYPE is not activated." is transfered from the Webservice, but we havent investigated why. We suppose that the Sofortbanking is not opened up yet for testing. Could you provide us some informations?

Greetings
Elias

Cardholder is missing

After installing the Magento2 version of the plugin and completing the checkout process, I get the error "Cardholder is missing" in the frontend.
The checkout method is Wirecard Checkout Seamless Credit Card.
The checkout is currently set to Test and I tested with several testing creditcards (non-3d secure, 3d secure etc..)

In the debug.log I see the following message:
[2017-10-25 11:12:04] main.DEBUG: Wirecard\CheckoutSeamless\Controller\Checkout\Back::execute:Magento orderCreation is missing {"is_exception":false} []

TPWDCEE-95

  • remove deprecated payment methods
  • add masterpass as new payment method /w admin part
  • add wirecard invoice as new payment method
  • update eps and iDeal banking list
  • add deleting of not successful transactions

Magento 2.2 Compatiblity

Preconditions

Have a working Magento 2.2 Installation .

Magento Version : CE and EE
Newest Magento2-WCP-Plugin from Master Branch
Third party modules : No

Steps to reproduce

Install Plugin into Magento 2.2
Start compiling process using /bin/magento setup:di:compile

Expected result

You can compile your di

Actual result

Proxies code generation... 1/7 [====>-----------------------] 14% 2 secs 70.0 MiB
Repositories code generation... 1/7 [====>-----------------------] 14% 2 secs 70.0 MiB
Repositories code generation... 2/7 [========>-------------------] 28% 48 secs 246.0 MiB
Service data attributes generation... 2/7 [========>-------------------] 28% 48 secs 246.0 MiB
Service data attributes generation... 3/7 [============>---------------] 42% 48 secs 246.0 MiB
Application code generator... 3/7 [============>---------------] 42% 48 secs 246.0 MiB
Application code generator... 4/7 [================>-----------] 57% 1 min 266.0 MiB
Interceptors generation... 4/7 [================>-----------] 57% 1 min 266.0 MiB
Interceptors generation... 5/7 [====================>-------] 71% 2 mins 304.0 MiB
Area configuration aggregation... 5/7 [====================>-------] 71% 2 mins 304.0 MiB

[ReflectionException]
Class Magento\Framework\App\Config\ScopePool does not exist

compatibility with PHP 7

Since Magento 2 is compatible with PHP 7 we also have to test compatibility and change the composer.json to allow PHP 7.

  • add PHP 7 support to composer.json
  • run PHP 7 compatibility check script
  • test plugin with PHP 7.0

Deprecated Functionality: trim()

Prerequisites

Versions

Magento 2 version: 2.4.6-p3
PHP version: 8.2

Issue

Problem description:

Exception: Deprecated Functionality: trim(): Passing null to parameter ($string) of type string is deprecated in /www/html/vendor/qenta/magento2-qcp/Model/AbstractPayment.php on line 576

If instructions are empty the function below pass null to trim, and this is not allowed anymore.
Maybe there are some more trims where a null value can happend.

We should change this:

public function getInstructions()
{
    return trim($this->getConfigData('instructions'));
}

to:

public function getInstructions()
{
    return trim($this->getConfigData('instructions') ?? '');
}

Steps to reproduce:

Activate module and payment method, leave instruction field blank, go to cart. Check debug or system log, the error message should appeare.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.