• Howdy! Running on the latest version of WP and WCFM. While payments are getting processed correctly, refunds are not. I’ve set breakpoints all over this plugin and it’s as if nothing gets called. I see logic to handle refunds but the standard WOOCOMMERCE Paypal gateway logic is getting called instead.

    Is there some documentation anywhere I can refer to so I can make sure this is setup right? Anyone else having any issues?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Well, this plugin does not have any code related to refund.

    Refund is from WooCommerce core. This plugin just set vendor’s API credentials through this hook – https://ibb.co/25NLKhB

    Hope you have set this fields as vendor from setting! Without these fields refund does not work.

    Thread Starter enriqueleon80

    (@enriqueleon80)

    Howdy!

    Yes, agreed! Problem is that I don’t see the hooks getting triggered to set the API credentials from the vendor when a refund is triggered from the WCFM FrontEnd. As a result, the refund fails.

    I see the following code:
    // Set Vendor PayPal API Credential for PayPal Refund
    add_filter( ‘woocommerce_paypal_refund_request’, array( $this, ‘wcfm_direct_paypal_refund_vendor_api_credentials_set’ ), 50, 4 );

    There are no breakpoints fired in the class-wc-frontend-manager-direct-paypal.php file. So you see, no way for this plugin to work. Am I missing something?

    Plugin Author WC Lovers

    (@wclovers)

    There are no breakpoints fired in the class-wc-frontend-manager-direct-paypal.php file.

    – What do you mean by “breakuppoint”?

    Here is that function – https://ibb.co/H4TNPVz

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

The topic ‘Refund not working’ is closed to new replies.