• Resolved mcdeth

    (@mcdeth)


    Hi,

    Please add a dedicated action hook inside display_paypal_button_top_checkout_page() in class-ppcp-paypal-checkout-for-woocommerce-button-manager.php (line 770), ideally inside the .ppcp-button-container.wpg_ppcp_full_width / .express_payment_method_ppcp wrapper.

    This would make it possible for themes or other payment plugins to inject additional express payment buttons in a clean PHP way, without brittle JS DOM moves. Right now there is no internal hook in that wrapper, so integrating another express option like Klarna requires frontend manipulation instead of a stable server-side extension point.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jignesh

    (@jigneshmpatel)

    Hello,

    We have included the requested hook in this version (9.0.57.3) : Download Link

    The new action hook wpg_ppcp_checkout_top_express_buttons has been added inside the .express_payment_method_ppcp wrapper so themes or other plugins can inject additional express payment buttons without relying on frontend DOM manipulation.

    Please try this and let us know how it works for you.

    Best Regards

    Thread Starter mcdeth

    (@mcdeth)

    awesome, thank you

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.