• Resolved tbo460

    (@thibotus01)


    Hi

    How can I capture payment when I set the order to COMPLETED automatically? Without having to capture it manually with the dedicated button in the order page.

    I think I have talked about this in the past but I don’t see any improvement nor an option. Any snippet available?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @thibotus01

    Yes, I see your older request linked to the feature request we have opened for this. I reviewed the request, the related GitHub item, and talked with the developers about the current status of this request.
    Currently, the feature code is being reviewed and if all is good, it should be added to the next release. If you want an update, you can review the GitHub issue. The code was created 2 days ago and our developer will try to review it this week. It could be that this is added to the next release, but we will not know until after the code review activity.

    There is no package or snippet that I can share with you at this time. We should have more soon.

    I hope this answers your question.

    Kind regards,
    Joost

    Thread Starter tbo460

    (@thibotus01)

    Ok great thank you!

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @thibotus01

    The latest pre-release version 2.0.3-rc2 includes a feature that lets you capture authorized payments by changing the order status to Processing or Completed.

    There is also a filter that lets you add more order statuses to trigger the capture, if that’s something you’re looking for:

    add_filter( 'woocommerce_paypal_payments_auto_capture_statuses', function( $statuses, $wc_order ) {
        return array( 'processing', 'completed' );
    }, 10, 2 );

    I hope this helps!

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    We have not heard back from you in a while, so I’m marking this thread as resolved.
    Hopefully, the above information helped you out. The update with this feature should be officially released later this week.
    If you have any further questions, please feel free to reopen this topic or create a new one.

    Thanks!

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,
    ?
    ?this functionality (capture payment when changing status to completed) has been added to our plugin with our last release (v 2.0.3) that was made available yesterday.
    ?Please review the plugin and the related settings that were added for this purpose and see if this work the way you want it to.
    ?
    ?Please open a new thread if you run into any issue, so we can take another look.
    ?
    ?Kind regards,?
    Joost

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Capture payment on completed orders’ is closed to new replies.