paytrail / paytrail-for-adobe-commerce

Paytrail payment service for Adobe Commerce (formerly known as Magento 2)
https://www.paytrail.com
MIT License
2 stars 7 forks source link

Return Error on Save CARD from checkout #56

Closed mahesh-singh-pinja closed 1 year ago

mahesh-singh-pinja commented 1 year ago

Describe the bug

When click on save card from checkout it redirect to enter card details, when enter details and submit i got this error

1 exception(s): Exception #0 (Paytrail\PaymentService\Exceptions\CheckoutException): Client error:POST https://services.paytrail.com/tokenization/e7886a28-87b3-483e-8851-0ff10dad8c3eresulted in a422 Unprocessable Entityresponse: {"status":"error","message":"Unexpected response code: 200.100"} To Reproduce

  1. Add product to cart
  2. Go to checkout fill all details and select payment method.
  3. You can see the button to Save Card for logged in user.
  4. Expected behavior

Screenshots

Additional context

bartoszkaluzny-solteq commented 1 year ago

@mahesh-singh-pinja I couldn't reproduce the issue. Can you provide more steps to reproduce, and which module version you are using?

kotivuori commented 1 year ago

@mahesh-singh-pinja Did you use tokenization test cards found in our documentation? With this request we have received error from the acquirer. https://docs.paytrail.com/#/payment-method-providers?id=test-cards-for-tokenization

loueranta-paytrail commented 1 year ago

I assume this was resolved, so I'll close this issue. Please create a new one if you are still experiencing problems.