Viewing 1 replies (of 1 total)
  • Thread Starter vorticy

    (@vorticy)

    Figured it out. In file /wp-content/plugins/woo-paypal-payflow/includes/class-premium-pal-pro-payflow-gateway.php

    Find: ‘BUTTONSOURCE’ => ‘mbjtechnolabs_SP’

    replace with:
    ‘BUTTONSOURCE’ => ‘mbjtechnolabs_SP’,
    ‘COMMENT1’ => $order->get_order_number(),
    ‘COMMENT2’ => ‘website name here’

    Also, be sure to read the previous person’s comments regarding the expiration year. This plug-in fails for Visa if you don’t modify per the following:

    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

Viewing 1 replies (of 1 total)
  • The topic ‘broken’ is closed to new replies.