• Resolved elconto

    (@elconto)


    Hello every one

    is there a way to stop woocommerce from sending details of order to payment gateway?

    regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Krystian

    (@inpsydekrystian)

    Hello @elconto

    By default, PayPal Payments sends the items breakdown to PayPal so the purchased items can be seen in the PayPal order. Enbabling this filter will turn off the functionality and leave the PayPal order with no items.

    add_filter( 'ppcp_ditch_items_breakdown', '__return_true' );
    

    You can find more information on this topic on our GitHub wiki. Let us know if this filter solves your issue.

    Kind regards,
    Krystian

    Thread Starter elconto

    (@elconto)

    hi

    first of all thanks for your reply

    i would like to disable all the sent information to the paypal the order number the breakdown and everything

    is there a way to do so

    regards

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello?@elconto

    You can use the ppcp_create_order_request_body_data filter to modify the order creation request body data before it’s sent to PayPal.

    This filter allows for precise adjustments to the data being sent to PayPal by modifying the plugin’s behavior. For guidance on how to implement this, please refer to our documentation and examples:

    These resources should provide you with the necessary information. If you require further assistance or have additional questions, please do not hesitate to contact us.

    Kind Regards,

    Krystian

    Thread Starter elconto

    (@elconto)

    hello

    where should i add this filter?

    and how to avoid loosing changes if i update the WC plugin

    regards

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello?@elconto

    I would recommend Code Snippets. When using filters with this plugin, rest assured that updates to the plugin will not require you to make any modifications.

    If you have any more questions or need further assistance, feel free to contact us.

    Kind Regards,

    Krystian

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello @elconto

    Since we have not received any further communication from you, we are assuming that your issue has been resolved.

    Therefore, we mark this thread as resolved. If you still have any questions or if a new problem arises, don’t hesitate to open a new thread or reply to this one. We are here to help at any time.

    Kind regards,
    Krystian

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Woocommerce à paypal’ is closed to new replies.