Skip to content

Unable to paste card number into iframe when it contains non numerical characters #294

@chrismshea

Description

@chrismshea

Issue

In checkout when trying to copy/paste my credit card number into the card number field nothing appears to happen. I have to enter it manually.

Steps to reproduce

  • Make sure you are using Magento 2 with Subscribe Pro Magento 2 Module version 1.7 or higher. SP iFrame
  • Make sure you are creating a cart for a subscription item or the Subscribe Pro payment method is setup for one time transactions.
  • Proceed to checkout, and when you get to the payment details copy and attempt to paste this card into the number field. 4242-4242-4242-4242
  • Nothing appears to happen

I believe this is a regression because this worked in the Subscribe Pro Magento 2 module < 1.7

Card numbers copied that do not contain the - character can be pasted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions