Skip to content

Commit

Permalink
Remove from v3 merge (duplicate method)
Browse files Browse the repository at this point in the history
See fix for 3.x #303

now removed in 4.x
  • Loading branch information
lukeholder committed May 28, 2024
1 parent 923ddbf commit 1567d90
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/gateways/PaymentIntents.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,16 +224,6 @@ public function capture(Transaction $transaction, string $reference): RequestRes
}
}

/**
* Since Commerce 4 can be installed and still have Stripe 3.x installed as well,
* we need to provide a way to get the old payment form model call to keep working,
* even though the current payment form is the future old payment form.
*/
public function getOldPaymentFormModel(): BasePaymentForm
{
return $this->getPaymentFormModel();
}

/**
* @inheritdoc
*/
Expand Down

0 comments on commit 1567d90

Please sign in to comment.