adyen-android: Drop-in Android card` s details(encrypted data) not shown for stored payment methods

Hello, I faced this issue while trying to send paymentMethods data to our server. First time when enter cards input everything is ok, but then paymentMethod contains only: type, storePaymentMethod and shopperReference.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

So I spoke to a developer who works with the C# library and it basically just mirrors the expected API response.

You are correct to use DefaultPaymentMethodDetails, and it has the required fields that you receive from Android. I’m not sure about the syntax but my understanding is that for the recurring payment you should do something like this:

var details = new Model.Checkout.DefaultPaymentMethodDetails{
Type = "scheme",
RecurringDetailReference = "84157190..."
EncryptedSecurityCode = "adyenjs_0_1_18$MT6ppy0FAMVMLH..."
};

Does that make sense?