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] [Card Payment] Stored Card recurring payment security code is mandatory #481

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

Comments

@vinaykumarpendyamext
Copy link

vinaykumarpendyamext commented Nov 21, 2024

Describe the bug

In Delijn for the merchant Account AD_ECOM_WEB, we have configured tokenization which do not require security code for recurring payments.
we have done a POC to integrate Adyen plugin with SAP Commerce, during analysis we have observed that we are successfully able to get stored card details in drop in but when we try to make payment using stored card it throws error saying security code is required which should not be the case.

  • 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

  1. Go to drop in
  2. Stored Card details visible
  3. User clicks on Pay
  4. Error thrown -> checkout.error.paymentmethod.cse.missing

Expected behavior
Payment successfully go through without asking security code.

Desktop (please complete the following information):

  • OS: Windows 11
  • Chrome
  • Version: 131.0.6778.85

Additional context
We found that for stored payment methods the plugin requires a CVC code to be presented, security code is not mandatory for tokenize payments but the plug-in does not support this . It only supports the mandatory CVC flow. as per implementation in plugin if request contains field "storedPaymentMethodId" then it also expects "encryptedSecurityCode"
API : /checkout/v71/payments

End point: com.adyen.commerce.controllers.PlaceOrderController.onPlaceOrder(String, HttpServletRequest)
Code reference: com.adyen.commerce.validators.PaymentRequestValidator.validate(Object, Errors)
Line no: 50-55
Error: checkout.error.paymentmethod.cse.missing
this blocks payment where tokenized payment can be done without cvc

@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