mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Remove redundant authorize call in subscription renewal handler
This commit is contained in:
parent
a8dfe57165
commit
c4db1ac53a
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ class RenewalHandler {
|
|||
$this->add_paypal_meta( $wc_order, $order, $this->environment );
|
||||
|
||||
if ( $order->intent() === 'AUTHORIZE' ) {
|
||||
$order = $this->order_endpoint->authorize( $order );
|
||||
// No authorize call needed - vault tokens auto-authorize during order creation.
|
||||
$wc_order->update_meta_data( AuthorizedPaymentsProcessor::CAPTURED_META_KEY, 'false' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue