SlideShare a Scribd company logo
1 of 18
Google Apps Marketplace
    Billing API 概要
         2011年4月13日
     (株)co-meeting 木村篤彦
登場人物
●   Listing Manifest
    ●   Editionを定義
    ●   Marchant(商人、要はVendor側)を設定
●   Application Manifest
    ●   新たにEditionタグが登場。どのEditionでどの機能が有効に
        なるかを設定。
●   Billing API
    ●   金額情報をMarketplaceに送るときに使う。
●   Google Checkout
    ●   ユーザ(Buyer)がお金を払うときに使う。
    ●   VendorがMarketplaceからお金を受け取るときにも使う。
設定
Listing Manifest
        エディションの設定
        PaymentModel: 有償か無償か
        PurchaseUrl: そのエディション
        が選択された場合にどのURLに
        飛ばすか




         VendorのGoogle Checkout
         のアカウントを設定
         ここに収益が入る。
Listing Manifest
Application Manifest
          エディションによって
          navigation linkやGmail
          Contextual Gadgetの有
          効無効を切り替えるこ
          とができる。
課金の流れ
課金のパターン
A) 無料のみ

B) 課金にGoogle Checkoutを使う
1) Marketplaceのページにエディション一覧を表示
2) 自分でエディション一覧のページを作る

C) 課金にGoogle Checkoutを使わず、自力で課金
  する
B-1) Marketplaceのページにエディション一覧を表示
B-1) Marketplaceのページにエディション一覧を表示

                   ①                     ●
                                           エディション一覧を表示
 Marketplace                 ユーザ         ●
                                           エディションを選択
                   ②                     ●
                                           選択したエディションの
                                         PurchaseUrlに飛ばす
                                         ●
                                           取得したPurchaseToken
   ④        ③                            を使ってカスタマー情報を
                                         取得




Your Application       Google Checkout
B-1) Marketplaceのページにエディション一覧を表示

                         ⑦-2                     ●
                                                   エディションによって金額
 Marketplace                         ユーザ         を決定し、金額情報を送
                         ⑧-1                     る。
                                                 ●
                                                   リダイレクト先URLが
                                                 返ってくる
⑤       ⑥          ⑦-1     ⑧-2            ⑧-3
                                                 ●
                                                   Marketplaceのページに
                                                 リダイレクト
                                                 ●
                                                   Google Checkoutに飛ば
                                                 す


Your Application               Google Checkout
B-2) 自分でエディション一覧のページを作る
B-2) 自分でエディション一覧のページを作る

                   ①                     ●
                                           エディション一覧を表示
 Marketplace                 ユーザ         ●
                                           エディションを選択
                   ②                     ●
                                           選択したエディションの
                                         PurchaseUrlに飛ばす
                                         ●
                                           取得したPurchaseToken
   ④        ③                            を使ってカスタマー情報を
                                         取得




Your Application       Google Checkout

                                ここまでは同じ
B-2) 自分でエディション一覧のページを作る
       次に独自の買い物画面を表示




            その後も同じ
C) 自力で課金する
●   Exempting payment(支払いの除外)
    ●   Listing Manifestで有償と指定されたエディションで
        もGoogle Checkoutのところをスキップするための
        仕組み
    ●
        これでやるんじゃないかなーと思う。
●   その場合もGoogleに20%のマージンを払わな
    きゃいけないはずだが、それについては全く記
    載されていない。
Exempting paymentについて補足
●   Exempting paymentを使っておそらく代理店販
    売でリアルに代金を回収するケースに対応でき
    る。
●
    パスコードを発行し、パスコードが入力された
    ら、Exempting paymentをONにすればよさそ
    う。
実装

ソース渡すのでそれを見てください。
問題点
●   Google Checkoutのテストアカウントが作れな
    い。SERVER_ERRORと言われる。
●   金額情報をBilling APIでMarketplaceにポストす
    るところでどうしても400エラー。
●   まだDeveloper Previewなので、まともに動か
    ないのではなかろうか。

More Related Content

Recently uploaded

Recently uploaded (12)

LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Google Apps Marketplace Billing API概要

  • 1. Google Apps Marketplace Billing API 概要 2011年4月13日 (株)co-meeting 木村篤彦
  • 2. 登場人物 ● Listing Manifest ● Editionを定義 ● Marchant(商人、要はVendor側)を設定 ● Application Manifest ● 新たにEditionタグが登場。どのEditionでどの機能が有効に なるかを設定。 ● Billing API ● 金額情報をMarketplaceに送るときに使う。 ● Google Checkout ● ユーザ(Buyer)がお金を払うときに使う。 ● VendorがMarketplaceからお金を受け取るときにも使う。
  • 4. Listing Manifest エディションの設定 PaymentModel: 有償か無償か PurchaseUrl: そのエディション が選択された場合にどのURLに 飛ばすか VendorのGoogle Checkout のアカウントを設定 ここに収益が入る。
  • 6. Application Manifest エディションによって navigation linkやGmail Contextual Gadgetの有 効無効を切り替えるこ とができる。
  • 8. 課金のパターン A) 無料のみ B) 課金にGoogle Checkoutを使う 1) Marketplaceのページにエディション一覧を表示 2) 自分でエディション一覧のページを作る C) 課金にGoogle Checkoutを使わず、自力で課金 する
  • 10. B-1) Marketplaceのページにエディション一覧を表示 ① ● エディション一覧を表示 Marketplace ユーザ ● エディションを選択 ② ● 選択したエディションの PurchaseUrlに飛ばす ● 取得したPurchaseToken ④ ③ を使ってカスタマー情報を 取得 Your Application Google Checkout
  • 11. B-1) Marketplaceのページにエディション一覧を表示 ⑦-2 ● エディションによって金額 Marketplace ユーザ を決定し、金額情報を送 ⑧-1 る。 ● リダイレクト先URLが 返ってくる ⑤ ⑥ ⑦-1 ⑧-2 ⑧-3 ● Marketplaceのページに リダイレクト ● Google Checkoutに飛ば す Your Application Google Checkout
  • 13. B-2) 自分でエディション一覧のページを作る ① ● エディション一覧を表示 Marketplace ユーザ ● エディションを選択 ② ● 選択したエディションの PurchaseUrlに飛ばす ● 取得したPurchaseToken ④ ③ を使ってカスタマー情報を 取得 Your Application Google Checkout ここまでは同じ
  • 14. B-2) 自分でエディション一覧のページを作る 次に独自の買い物画面を表示 その後も同じ
  • 15. C) 自力で課金する ● Exempting payment(支払いの除外) ● Listing Manifestで有償と指定されたエディションで もGoogle Checkoutのところをスキップするための 仕組み ● これでやるんじゃないかなーと思う。 ● その場合もGoogleに20%のマージンを払わな きゃいけないはずだが、それについては全く記 載されていない。
  • 16. Exempting paymentについて補足 ● Exempting paymentを使っておそらく代理店販 売でリアルに代金を回収するケースに対応でき る。 ● パスコードを発行し、パスコードが入力された ら、Exempting paymentをONにすればよさそ う。
  • 18. 問題点 ● Google Checkoutのテストアカウントが作れな い。SERVER_ERRORと言われる。 ● 金額情報をBilling APIでMarketplaceにポストす るところでどうしても400エラー。 ● まだDeveloper Previewなので、まともに動か ないのではなかろうか。