Skip to content

Commit

Permalink
Update reQuery method to use the correct payment handler
Browse files Browse the repository at this point in the history
  • Loading branch information
damms005 committed Oct 25, 2024
1 parent 6b65f57 commit fb65fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/PaymentHandlers/BasePaymentHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ protected static function getPaymentDescription(?Payment $payment): array
public function reQueryUnsuccessfulPayment(Payment $unsuccessfulPayment): ?ReQuery
{
/** @var PaymentHandlerInterface **/
$handler = app()->make(PaymentHandlerInterface::class, [$unsuccessfulPayment]);
$handler = new (PaymentService::getHandlerFqcn($unsuccessfulPayment->payment_processor_name));

$reQueryResponse = $handler->reQuery($unsuccessfulPayment);

Expand Down

0 comments on commit fb65fd7

Please sign in to comment.