Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Payment route not define

    General Discussion
    2
    2
    240
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PeaceMaker last edited by

      Hi,

      How come the route i created in my new payment method is not defined?
      I already clear the route still it doesn't display in my list or even i tried placing an order using the payment method i created.

      Heres my example code

      Payment Method is installed in

      packages\Webkul\DemoPayment

      routes.php is under packages\Webkul\DemoPayment\Http
      <?php
      Route::group(['middleware' => ['web']], function () {
      Route::prefix('store')->group(function () {
      Route::prefix('demopayment')->group(function () {
      Route::get('/redirect', 'Webkul\Payment\Http\Controllers\DemopaymentController@redirect')->name('creditcard.payment.redirect');
      });
      });
      });

      Anyone have any idea?

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Have you registered your route file in the service provider?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post