mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Merge branch 'trunk'
# Conflicts: # modules/ppcp-admin-notices/src/AdminNotices.php # modules/ppcp-local-alternative-payment-methods/src/LocalAlternativePaymentMethodsModule.php # modules/ppcp-paylater-configurator/src/PayLaterConfiguratorModule.php # modules/ppcp-wc-gateway/src/WCGatewayModule.php
This commit is contained in:
commit
7509f914ab
67 changed files with 3811 additions and 126 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