I started today Stripe in Laravel 6. I used below code and ran it two times.
$stripeCustomer = $this->User->createOrGetStripeCustomer();
As per the instructions here same user can't be created two times but after running the code 2 times, it created the duplicate customer.
Please check the screenshot below.
Can I delete the customer from stripe? I saw the Laravel library. But seems like there is no delete stripe customer function in cashier
Am I missing anything? Why did it create the duplicate customer?