laravel stripe createSetupIntent for non authenticated code example

Example 1: PaymentIntent::create laravel

curl https://api.stripe.com/v1/payment_intents \
  -u sk_test_51GxCnrKyzIF1Gs6aZqcLwahVyPC1PnDfVosYDgoojH0qSf3iZiubSKpECuKnEdEqYsXKkUkiROVNyVrgGYN54gkL00zugXxNsN: \
  -d amount=1099 \
  -d currency=usd
curl https://api.stripe.com/v1/payment_intents \
  -u sk_test_51GxCnrKyzIF1Gs6aZqcLwahVyPC1PnDfVosYDgoojH0qSf3iZiubSKpECuKnEdEqYsXKkUkiROVNyVrgGYN54gkL00zugXxNsN: \
  -d amount=1099 \
  -d currency=usd

Example 2: remove planning laravel on composer

composer remove vendor/

Tags:

Php Example