Changing expiry field text in paypal

This topic contains 3 replies, has 2 voices, and was last updated by  Patrik 6 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #1276

    Evan Hasson
    Buyer
    Post count: 47

    Please see the attached image.

    Is it possible to change the requirement of 4 digits to 2 digits for the credit card expiration year?
    We would like to have it a 2 digit field like like the expiration month. i.e. 08/19 instead of 08/2019.

    We are using paypal payments pro.

    Thanks!

    #1280

    Patrik
    Moderator
    Post count: 1971

    Hi Evan,

    For PayPal Pro API request, it is mandatory to pass 6 single-byte alphanumeric characters, including leading zero, in the format MMYYYY for the expiry date. So we can’t change it for now. It PayPal will allow 4 characters in future then we can definitely implement it in our plugin.

    Let me know if you have any questions.

    Regards,
    Patrik

    #1285

    Evan Hasson
    Buyer
    Post count: 47

    Patrik,

    That makes sense. What about changing the expiry date text fields to drop down menus instead? Is that something I can do on my end? The problem is that it’s kind of confusing when typing in the expiration month as 2 digits and then the year as 4 digits.
    Thanks.

    #1289

    Patrik
    Moderator
    Post count: 1971

    It is currently not possible without modifying the core files of the plugin. If you modify it yourself then make sure when updating the plugin you have to redo the changes as all the changes will be lost. Also, the name value must be same if you make changes else it will break the plugin’s flow.

    Let me know if you need any help.

    Regards,
    Patrik

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket