checkout / checkout-magento2-plugin

Checkout.com Magento 2 official extension
MIT License
32 stars 33 forks source link

Card Payment - Cardholder Name received as "undefined undefined" #494

Open JamesFX2 opened 2 years ago

JamesFX2 commented 2 years ago

From what I can tell in checkoutcom_card_payment.js, cardholder name is set by addFramesEvents which is called after render when the payment method is selected.

The card payment method is the default one so it's called when the form is loaded and kind of blank.

I think the CARD_VALIDATION_CHANGED event handler needs to be revised but I don't have time to dig into the documentation. but from what I've read so far, you're not setting the billing address with the cardholder which can cause issues too.

Dnd-Gimix commented 2 years ago

Hello @JamesFX2 ,

We have provided a preventive bug fix for this issue in the latest 3.1.1 version of the extension. Can you please have a look at it and inform us of the resolution of your issue?

Many thanks. Regards,

edroberts commented 2 years ago

This is partially fixed with 3.1.1 with new release, but no cardholder name is being passed for Apple Pay or Google Pay still https://github.com/checkout/checkout-magento2-plugin/issues/512