• Resolved cd136

    (@cd136)


    Since 1.6.5, if you use the old WooCommerce PayPal Checkout Gateway plugin alongside it, when selecting the PayPal option for the old plugin you now see 2 buttons on the checkout page (Place Order, and underneath it the PayPal button)
    This behaviour is resolved either by rolling back or disabling this new PayPal plugin.

    Repro Steps
    Install both this and WooCommerce PayPal Checkout Gateway plugins
    In theme editor functions, unset the new plugin (I’ve had to do this as I have another ongoing issue and using the old one until it is resolved, but need to handle refunds made for purchases through the new PayPal plugin)
    Add something to cart, go to checkout.
    Image: https://ibb.co/FgjGGfw

    //Old Paypal gateway becoming out of support March 1 2022 - Want to leave active for refunds but prevent any new people placing purchases through it.. 
    add_filter( 'woocommerce_available_payment_gateways', 'bbloomer_unset_gateway_by_category' );
    function bbloomer_unset_gateway_by_category( $available_gateways ) {
        if ( ! is_checkout() ) return $available_gateways;
        //unset( $available_gateways['ppec_paypal'] ); //Old PayPal Gateway
        unset( $available_gateways['ppcp-gateway'] );   //New PayPal Gateway
        return $available_gateways;
    }

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @cd136,

    There has always been some conflicting behavior when both PayPal Payments and PayPal Checkout were active at the same time, because both are doing similar things.
    It is recommended to only have one plugin active at a time.
    In the past, the behavior was working at the expense of PayPal Payments and in favor on PayPal Checkout.
    This was changed in version 1.6.3: https://github.com/woocommerce/woocommerce-paypal-payments/issues/362
    The version 1.6.3 resolved an issue that could result in PayPal Payments displaying multiple “Place order” buttons. This fix resulted in the PayPal Checkout plugin displaying an additional button when both are active, but that’s how it is now and it likely won’t change.

    In any case, the latest update 1.6.5 should have no effect on this. But a downgrade to version 1.6.2 can cause it to work differently. We would not recommend downgrading multiple versions though as there have been various stability improvements since.

    Kind regards,
    Niklas

    Thread Starter cd136

    (@cd136)

    Ok I thought it was 1.6.5 but you are probably right that it is 1.6.3 that is problematic.. We’ve had issues since 1.6.2 (PPC-452 – please give a response on this, have emailed but nothing)

    Can the new plugin make refunds for orders made through the old one? and vice versa?
    If not, then it becomes mandatory for both plugins to be enabled concurrently for at least 180 days overlap in order to be compliant with PayPals T&C’s regarding refunding orders.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @cd136,

    We have gotten back to you on the internal ticket. Apologies for the delay!

    Regarding the refunds: PayPal Payments cannot handle refunds for PayPal Checkout orders. But refunds could always be processed manually via the PayPal dashboards though as the transaction ID is linked with both plugins. It would be less convenient though. We are looking into whether or not it would be viable to add a refund logic for orders from the old plugin, but I can’t say too much about it for the moment as it’s being discussed with PayPal as we speak.

    Kind regards,
    Niklas

    Thread Starter cd136

    (@cd136)

    Thank you!

    Ok.. I’ll mark this as closed as it seems that operating both simultaneously isn’t the right approach, and it may be worth indicating this as there are sections of your documentation that state that it is possible.
    And whilst this isn’t really a plugin issue per se, the issue with the PayPal Dahsboard is one of user permissions, we’re happy to allow staff access to the website to issue refunds, significantly less so to give them PayPal credentials as there seems to be no way to limit them to just issuing refunds.

    I wish you luck developing this plugin going forward.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘1.6.5 Breaks compatibility with WooCommerce PayPal Checkout Gateway’ is closed to new replies.