diff --git a/config/shop_ajax_routing.php b/config/shop_ajax_routing.php index f9f38f6..8f13053 100644 --- a/config/shop_ajax_routing.php +++ b/config/shop_ajax_routing.php @@ -5,7 +5,7 @@ use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; return static function (RoutingConfigurator $routes): void { - $routes->add('webgriffe_sylius_pagolight_plugin_payment_status', '/payment/{paymentId}/status') + $routes->add('webgriffe_sylius_pagolight_plugin_payment_status', '/payment/{paymentId}/pagolight-status') ->controller(['webgriffe_sylius_pagolight.controller.payment', 'statusAction']) ->methods(['GET']) ->requirements(['paymentId' => '\d+']) diff --git a/public/poll_payment.js b/public/poll_payment.js index bcce0bf..26e8252 100644 --- a/public/poll_payment.js +++ b/public/poll_payment.js @@ -17,4 +17,3 @@ checkForCapturedPayment() })(); -