mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix linter errors
This commit is contained in:
parent
577e5c54d2
commit
a38ebfae04
2 changed files with 9 additions and 0 deletions
|
@ -63,6 +63,9 @@ trait PaymentsStatusHandlingTrait {
|
|||
switch ( $status->name() ) {
|
||||
case CaptureStatus::COMPLETED:
|
||||
$wc_order->payment_complete();
|
||||
/**
|
||||
* Fired when PayPal order is captured.
|
||||
*/
|
||||
do_action( 'woocommerce_paypal_payments_order_captured', $wc_order, $capture );
|
||||
break;
|
||||
// It is checked in the capture endpoint already, but there are other ways to capture,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue