mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Merge pull request #3543 from woocommerce/PCP-1575-fix-already-authorized
Remove redundant authorize call in subscription renewal handler (1575)
This commit is contained in:
commit
4f64b4fa0b
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