mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Display PayPal fees in wc order
This commit is contained in:
parent
53de52e2d3
commit
819149057e
6 changed files with 145 additions and 2 deletions
|
@ -105,7 +105,7 @@ class PaymentCaptureCompleted implements RequestHandler {
|
|||
/**
|
||||
* Allow access to the webhook logic before updating the WC order.
|
||||
*/
|
||||
do_action( 'ppcp_payment_capture_completed_webhook_handler', $wc_order, $order_id );
|
||||
do_action( 'woocommerce_paypal_payments_payment_capture_completed_webhook_handler', $wc_order, $order_id );
|
||||
|
||||
if ( $wc_order->get_status() !== 'on-hold' ) {
|
||||
return $this->success_response();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue