Adyen / adyen-magento2

Adyen Payment plugin for Magento2
MIT License
155 stars 210 forks source link

Impossible to create an Order by Admin using Adyen payment #2221

Closed testerAhw closed 11 months ago

testerAhw commented 1 year ago

The problem is actual for Card Tokenization = Magento Vault && Adyen Tokenization

Preconditions:

  1. A customer has saved credit card

To Reproduce

  1. Go to Admin > Sales > Orders
  2. Click on 'Create New Order'
  3. Select the customer from the preconditions
  4. Add a product and fill in addresses
  5. Select Adyen payment method
  6. Try to place order

Expected behavior An order is created successfully

Actual behavior See the screenshots. There is no the saved credit card, that's why it's impossible to place an order

Screenshots image image

Magento version 2.4.5 - 2.4.6

Plugin version 8.19.0 - 8.21.0

candemiralp commented 11 months ago

Hello @testerAhw,

Thank you for creating this issue. However, this is the expected behaviour of the plugin. The token you see in the shopper profile page is a token generated with CardOnFile recurring processing model. This type of tokens can be used for shopper initiated transactions. Therefore, you can see those tokens in the admin order page.

However, merchant initiated transactions should use Subscription or UnscheduledCardOnFile recurring processing models. You can find the details in Recurring payments docs page.

Please change the Token Type configuration field under Card Tokenization section of configuration with the suitable option for your case.

Best Regards, Can