• We are using this plugin for Payflow Pro purchases. Paypal is expecting expiration date to be MM/YY but thie plugin is sending MM/YYYY by formatting the exp date after submission.

    This solution worked for me. Edit this file:
    class-premium-pal-pro-payflow-common-function.php

    Comment out lines 154-160 like this:

    
       // if (strlen($card_exp_year) == 2) {
      //      $card_exp_year += 2000;
      //  }
    
      //  if (strlen($card_start_year) == 2) {
      //      $card_start_year += 2000;
      //  }

    This submits the expiration date as entered by the user to MM/YY as expected by Paypal Payflow Pro

  • The topic ‘Expiration Date – Send 2 digits to Paypal’ is closed to new replies.