We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b65f57 commit fb65fd7Copy full SHA for fb65fd7
src/Services/PaymentHandlers/BasePaymentHandler.php
@@ -232,7 +232,7 @@ protected static function getPaymentDescription(?Payment $payment): array
232
public function reQueryUnsuccessfulPayment(Payment $unsuccessfulPayment): ?ReQuery
233
{
234
/** @var PaymentHandlerInterface **/
235
- $handler = app()->make(PaymentHandlerInterface::class, [$unsuccessfulPayment]);
+ $handler = new (PaymentService::getHandlerFqcn($unsuccessfulPayment->payment_processor_name));
236
237
$reQueryResponse = $handler->reQuery($unsuccessfulPayment);
238
0 commit comments