PCAPredict/magento2

Not working with multiple payment methods

lumijino opened this issue · 6 comments

The extension is not working if we have more than one payment methods. The billing address validation will be working only on the first payment method and others not.

Hi lumijino apologies for the delayed response. Thank you for the report, we will investigate and schedule in a fix.

Is there any update on this? Testing this on a default luma M2 checkout the billing address does not trigger an address search

Hi @tom-iweb

would it be possible to go through this with you via a screen share? We are having problems re-creating this internally.

Cheers,

Henrik

Hi @henrikvalve

We are also experiencing this issue. Happy to screenshare and demo, it is 100% repeatable.

Scenario:

Place something in basket

Proceed to checkout

Enter a new email address (non-returning customer)

Enter delivery address and proceed

Enter card details and proceed

Enter a different billing address

Postcode anywhere doesn’t work.

Thanks

Ian

Hi, I have also replicated this issue on Magento 2.2.3 following @cowley 's steps.

With a vanilla Magento 2.2.3 install (Check Money as only payment method) the billing address form works as expected with PCA functinality when un-ticking "My billing and shipping address are the same" on the payment step.

image

When I then enable an additional payment method (Cash On Delivery), only the Check Money billing address form gets PCA functionality. Selecting Cash On Delivery and un-ticking "My billing and shipping address are the same" gives me a billing address form but with no PCA functionality.

image

I believe this is down to the mappings setup in the PCA account rather than the Magento module.

Having setup a Magento2 service in the PCA dashboard I have these two tag based services:

image

These two services have identical mappings setup as follows:

image

I'm pretty sure that to have additional billing address forms on the page use PCA functionality, you'd need to add another service here with the same mappings again. It's not clear how the two existing services are differentiating between the shipping and first billing form though. I am unable to add a third service row to test if this would solve the issue, allowing for one extra payment method billing form.

@henrikvalve any ideas ?

Quick update on this, having added another mapping (clone of first 2) to allow for an additional billing form for each additional payment method I now get PCA functionality on all the billing address forms on the payment checkout step.

image
* I had to ask a support agent to add this for me (there is no UI for it). However you may be able to use the "on screen" method if your site is public (mine is in dev on localhost).

This results in PCA now working on the second payment method:

image