人気のPHP WEBアプリケーションフレームワークLaravelのTips。 (Laravelアプリの初期化)composer create-project laravel/laravel my-app

Stripeでプランを作成する

https://stackoverflow.com/questions/30817249/create-plan-on-stripe-through-laravel

https://stripe.com/docs/api/plans/create

use \Stripe\Plan;

Plan::create(array(
  "amount" => 2000,
  "interval" => "month",
  "name" => "Amazing Gold Plan",
  "currency" => "usd",
  "id" => "gold")
);
No.1481
04/11 22:22

edit