Bagisto Forum

    Bagisto

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

    Target class Stripe/Payment/Stripe does not exist

    General Discussion
    2
    2
    188
    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.
    • S
      Spexhu last edited by

      Hey,

      I'm trying to make new payment method for Stripe..

      I've created the package with

      php artisan package:make-payment-method Stripe
      

      It says the class doesn't exist.

      This is my config:

      <?php
      
      return [
          'stripe'  => [
              'code'        => 'stripe',
              'title'       => 'Stripe',
              'description' => 'Stripe',
              'class'       => 'Stripe\Payment\Stripe'
              'active'      => true,
              'sort'        => 1,
          ],
      ];
      

      Also tried this:

      <?php
      
      return [
          'stripe'  => [
              'code'        => 'stripe',
              'title'       => 'Stripe',
              'description' => 'Stripe',
              'class'       => \Stripe\Payment\Stripe::class,
              'active'      => true,
              'sort'        => 1,
          ],
      ];
      

      Any advice, please?

      1 Reply Last reply Reply Quote 0
      • D
        deepak227 last edited by

        Have you create Stripe Class?

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