Questions tagged [cartalyst]

10 questions
1
vote
1 answer

Invalid IFSC number. The number should be 11 digits in the format ABCD0123456 on stripe

I am using Cartalyst\Stripe\Stripe I have an issue with creating a bank account token for the Indian bank account here is my code ` $token = $stripe->tokens()->create([ 'bank_account' => [ 'object'=>'bank_account', 'country' => 'IN', …
1
vote
1 answer

how to apply coupon in stripe for particular product (plan)? POST details: $request->plan price id , $coupon => coupon id $card['id'] => card token

I am added a coupon for abc product, while create subscription i can apply that coupon for all products. I want it can apply to only abc product. i m using https://cartalyst.com/manual/stripe/2.0#subscriptions documentation. …
1
vote
1 answer

Laravel Cartalyst/Stripe Method Not Found

I am trying to use Cartalyst/Stripe (https://cartalyst.com/manual/stripe/2.0) in my Laravel application but I the method's aren't being found (for a lack of a better word). Here is my controller: namespace App\Http\Controllers; use…
Keith Petrillo
  • 151
  • 3
  • 17
0
votes
2 answers

How can I catch exception and redirect to my on message in Cartalyst/Stripe Laravel? I want to catch errors in catch block

How can I catch exception and redirect to my on message in Cartalyst/Stripe Laravel. I have Tried to add catch block in below mentioned code I want to catch errors in catch block
0
votes
1 answer

How to initialize a global variable inside one function and access in another function inside Laravel controller

I know a global variable should be initialized by contractor. what if need to init a global variable inside one function and access it in another function. this is my first function public $customerId; public function store(CheckoutRequest…
Zia
  • 506
  • 3
  • 20
0
votes
2 answers

Laravel NotFoundHTTPException on local setup

I have inherited a site built with Laravel and Cartalyst from another developer that is working correctly on the production server however on my local installation I get a NotFoundHTTPException on the homepage and no other pages work. Local setup…
Chris
  • 1
  • 3
0
votes
1 answer

cartalyst/stripe-laravel Laravel 6.0: The Stripe API key is not defined

I get the above error when trying to checkout. In my services.php,I have my keys and values: 'stripe' => [ 'model' => App\Product::class, 'public_key' => env('STRIPE_KEY'), 'secret_key' => env('STRIPE_SECRET'), ] The…
user12037570
0
votes
1 answer

How to display a customer name in stripe account?

I would like to display a customer name. So I can understand who made a payment in stripe dashboard. I am using laravel. I tried with billing_details but I am getting error that it is unknown parameter. I don't want to create customer object but…
Saurabh Gupte
  • 238
  • 1
  • 3
  • 17
0
votes
1 answer

Strange Laravel/Stripe/Cartalyst bug where a charge randomly runs twice using the same Stripe token

I've created an Android mobile app which has integrated Stripe to accept card payments. In my Android app, I send to my Laravel API, a bunch of parameters, one of which is a Stripe token. 9 times out of 10, my server handles this as expected. It…
JamMan9
  • 706
  • 2
  • 9
  • 22
0
votes
1 answer

cartalyst/converter on laravel 5.6

I'm trying to setup cartalyst/converter on laravel 5.6 Their link is here: https://cartalyst.com/manual/converter/2.0 I'm following official instruction and getting Call to undefined method Illuminate\Foundation\Application::share() I feel like…
Yevgeniy Afanasyev
  • 37,872
  • 26
  • 173
  • 191