Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Adyen Hybris plugin] [Bancontact card payment] Order Status discrepancies for Bancontact 3DS card payment #482

Open
vinaykumarpendyamext opened this issue Nov 21, 2024 · 1 comment

Comments

@vinaykumarpendyamext
Copy link

Describe the bug

In Delijn for the merchant Account AD_ECOM_WEB, we have configured Bancontact payment method.
we have done a POC to integrate Adyen plugin with SAP Commerce, during analysis we have observed that there is a discrepancy in the Order status when order is placed using bancontact 3DS card in following two ways.

  1. Bancontact 3DS payment with standard redirection flow using API/payment/details call.
  2. Bancontact 3DS payment with interrupted redirection without payment/details call using Asynchronous Adyen authorization webhook event.
    ( Bancontact is considered low risk transaction by PSP that means having just authorization on redirected 3DS bank page if enough to make successful transaction, and subsequent payment details call to Adyen is strictly not required)

Commerce implementation: Delijn
SAP Commerce version: 2211
Test Merchant Account: AD_ECOM_WEB
Adyen Hybris plugin version: 13.0.0
Adyen API version: 71
Payment method: card
environment: test

To Reproduce

Case 1

  1. Go to drop in
  2. select payment method Bancontact
  3. enter Bancontact 3DS card details
  4. click on Pay
  5. redirection to bank page
  6. enter bank password
  7. redirection to SAP commerce
  8. Payment details call
  9. Order confirmation page
  10. Go to backoffice open order
  11. Order status is null

Case 2

  1. Go to drop in
  2. select payment method Bancontact
  3. enter Bancontact 3DS card details
  4. click on Pay
  5. redirection to bank page
  6. enter bank password
  7. close the browser while redirecting back to SAP commerce (ensure payment details call is not made)
  8. Go to backoffice open order
  9. Order status is pending payment

Expected behavior
In both the above cases order status should be same.

Desktop (please complete the following information):

  • OS: Windows 11
  • Chrome
  • Version: 131.0.6778.85

Additional context
End points
place order: com.adyen.commerce.controllers.PlaceOrderController.onPlaceOrder(String, HttpServletRequest)
redirection: com.adyen.commerce.controllers.RedirectController.authorizeRedirectPaymentGet(HttpServletRequest)
notification/webhook: AdyenNotificationControllerV2.onReceive(String, HttpServletRequest)

Code reference: com.adyen.v6.facades.impl.DefaultAdyenCheckoutFacade.updateOrderPaymentStatusAndInfo(OrderModel, PaymentDetailsResponse)
Line no: 394 - 399

@vinaykumarpendyamext vinaykumarpendyamext changed the title [Adyen Hybris plugin] [Card Payment] Order Status discrepancies for Bancontact 3DS card payment [Adyen Hybris plugin] [Bancontact card payment] Order Status discrepancies for Bancontact 3DS card payment Nov 21, 2024
@vinaykumarpendyamext
Copy link
Author

Can you pls look into this issue as it is of high priority from client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant