• Resolved Thakor Darshil

    (@thakordarshil)


    We have integrated PayPal with our WordPress WooCommerce site using the “WooCommerce PayPal Payments” plugin. However, we are encountering an issue where refunds processed through PayPal are updating the refund status and amount in WooCommerce orders. I want to stop this Updating the order in woo commerce.

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

    (@inpsydekrystian)

    Hello @thakordarshil

    It’s standard for the plugin to synchronize refund details with WooCommerce to maintain accurate and consistent records across both your PayPal account and WooCommerce orders.

    However, I understand that there might be unique scenarios where you prefer these updates not to occur automatically. Could you please provide more details about your specific use case? Understanding the reasons why you wish to disable this automatic update will help us explore workarounds that may be appropriate.

    Looking forward to hearing from you.

    Kind Regards,

    Krystian

    Thread Starter Thakor Darshil

    (@thakordarshil)

    Hello @inpsydekrystian

    It seems that PayPal sent the necessary information to WooCommerce, which then made the appropriate corrections and generated a new order file.

    So I want to overcome this

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @thakordarshil

    It seems that PayPal sent the necessary information to WooCommerce,

    When the refund is triggered at PayPal, a webhook is sent to the shop.

    which then made the appropriate corrections

    The webhook contains the information used by the plugin to update the order with the refund details.

    and generated a new order file.

    Typically, when a refund is processed, it should not create a new order in WooCommerce.

    Could you please confirm if a new order is indeed being created, or if the existing order is simply being updated with the refund details? This clarification will help us provide more accurate assistance.

    Thank you for your cooperation.

    Kind Regards,
    Krystian

    Thread Starter Thakor Darshil

    (@thakordarshil)

    @inpsydekrystian
    I mean A new file was created/generated in our ERP system, not Woo Commerce
    because when order is refund from the PayPal it send transaction id to Woocommerce. and it’s causing issue in our ERP system

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @thakordarshil

    When the refund is processed, the transaction ID in the order is updated. This is a normal process and if the ERP system creates a new order/file when it happens, it is more a problem with the ERP system than with the plugin.

    A short-term workaround would be to unsubscribe from the?PAYMENT.CAPTURE.REFUNDED?webhook event from the REST App in the PayPal developer dashboard, but then WooCommerce orders would not be updated anymore after refunds at PayPal and the plugin would eventually resubscribe to it, e.g. during plugin updates.

    However, there isn’t an immediate solution, and these issues should likely be reported to the ERP solution developers.

    Kind regards,
    Krystian

    Thread Starter Thakor Darshil

    (@thakordarshil)

    @inpsydekrystian
    Thanks For the support Highly Appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.