<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kanahebiZ</author_name>
  <author_url>https://blog.hatena.ne.jp/kanahebiZ/</author_url>
  <blog_title>もふもふ技術部</blog_title>
  <blog_url>https://www.mof-mof.co.jp/tech-blog/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Stripe</anon>
    <anon>決済</anon>
  </categories>
  <description>近年、サブスクのサービスが増えましたね。 今回はユーザーの上位プランをサブスクで決済できるようにしたいと思います。 プレミアム会員を月額100円で実装してみます！ 下準備 Gemをインストールします。 Gemfile gem &quot;stripe&quot; Stripeのアカウントを作成します。 stripe.com 開発環境で動作確認するだけであれば、アカウントを作成するだけですぐに使えます！ 環境変数を追加します。 https://dashboard.stripe.com/test/apikeys からAPIキーを持ってきます。 credentials に保存しましょう。 $ rails credent…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mof-mof.co.jp%2Ftech-blog%2F2024%2F09%2F10%2F094529&quot; title=&quot;【Rails】Stripeでサブスク決済 - もふもふ技術部&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mofmof-inc/20240910/20240910094532.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-10 09:45:29</published>
  <title>【Rails】Stripeでサブスク決済</title>
  <type>rich</type>
  <url>https://www.mof-mof.co.jp/tech-blog/2024/09/10/094529</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
