kounosukexxx
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Product_1_決済 - [Product_2_在庫連携](https://hackmd.io/@kounosukexxx/SJ_oeE0Si) - [Product_3_発送連携]() - ownit - https://www.ownit.co/checkout/showcase/w4Ncvr6c?variant=oiv_94df27ef-7390-4cc3-ac68-c461e634f599 ## 決済 ### apple pay - [setting](https://developer.apple.com/documentation/passkit/apple_pay/setting_up_apple_pay) - [apple_pay_on_the_web](https://developer.apple.com/documentation/apple_pay_on_the_web/applepaybutton) - 対応ブラウザについて - slackなどのnaticeアプリから開くと、デフォルトブラウザをchromeにしていたとしてもsafariが開くため、アプリのモーダルでサイトを立ち上げる場合は使用できる - 基本的にchromeでは使用できない - https://iphone-mania.jp/news-472925/ - ios16 beta4ではchromeとかも動作している? - https://gori.me/apple/apple-pay/143052 - 決済フローはfrontendで完結 ### google pay - chromeで開くとすでにログインされているため、即座に決済することができる - https://developers.google.com/pay/api/web/overview?hl=ja - 決済フローはfrontendで完結 ### paypay - https://developer.paypay.ne.jp/ - 決済フローにbackendも必要そう ### Line Pay - https://pay.line.me/jp/developers/apis/onlineApis?locale=ja_JP - 使用できるサイト少ない気はするけど、ec以外では結構使われている?? ### 楽天pay - https://checkout.rakuten.co.jp/biz/service/v2.html ### amazon pay - https://developer.amazon.com/ja/docs/amazon-pay-api-v2/introduction.html#api%E3%81%AE%E5%9F%BA%E6%9C%AC ### クレカ、コンビニ決剤、代引き、後払い - [paidy](https://faq.paidy.com/paidy%E3%82%92%E5%88%A9%E7%94%A8%E3%81%99%E3%82%8B%E9%9A%9B%E3%81%AB-%E6%89%8B%E6%95%B0%E6%96%99%E3%81%AF%E3%81%8B%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B) - [atone](https://atone.be/lp/ec/shop_04/?utm_source=google&utm_medium=cpc&utm_campaign=mofu&utm_term=kessai) - [stripe](https://stripe.com/jp?utm_campaign=JP_ja_Search_Brand_Stripe_EXA-17435679253&utm_medium=cpc&utm_source=google&ad_content=602557866148&utm_term=stripe%20%E6%89%8B%E6%95%B0%E6%96%99&utm_matchtype=e&utm_adposition=&utm_device=c&gclid=Cj0KCQiApb2bBhDYARIsAChHC9smC9pm3s20w17BCmZwVhD8pM8xWajW7Hz-MhAMRqwZjP7ZJ7Vo62MaAm52EALw_wcB) ### キャリア決済 - https://ja.komoju.com/payment-methods/japan/carrier/ - まとめて提供してくれるサービス。手数料6.6% - キャリア決済は結構複雑だから、代行orあとでやるとかでよさそう? ### 決済情報のキャッシュ - safari, chromeなどのブラウザが、決済手段固有のhostに紐づくアカウント情報をキャッシュする。 - (ex) safariでgoogle payを使おうとすると、一度グーグルでログインすればログイン情報がその端末にキャッシュされ続ける。 - pay.google.comが勝手にやってくれる。 ### 不正決済 ## ユーザー織別 ### 必要なのか(多分必要ない) - 決済を高速にしたいという要件上、なるべくやらない方がよさそう。 - ユーザーを特定しなくても決済をスムーズに行えるように設計したい - 実際識別しなくても、apple payやpaypayなどはスムーズに決済できる - ユーザーを特定することを強制すると、手間がかかる分CVRは下がると思う - 代替手段 - ユーザーが任意でユーザー織別を行うことができるようにする - 決済後or前に、sighup or signin するなど。 - 強制にしないと結局loginをしてくれなさそう? - firebase authenticationよさそう - google, appleアカウントで認証 - dbでemail, addressは持たない - 決済する際に必要なemail-addressを識別子とする - paypayなどは必要なさそう?だから無理そう ### 織別によるメリット - ユーザーごとの購入履歴を記録できる - マーケティングの役に立つ - 将来リコメンドなどに利用できる - 決済情報、配送先住所などのキャッシュをしやすいかも ### 織別子 - メアド&passwordのほぼ一択 - 端末識別子 - android/iosの識別子: https://qiita.com/yutao727/items/0d503c45bcbe18b27ec3 - 微妙 - 参考: https://ja.stackoverflow.com/questions/69334/%E3%82%AF%E3%83%A9%E3%82%A4%E3%82%A2%E3%83%B3%E3%83%88%E7%AB%AF%E6%9C%AB%E3%81%AE%E5%9B%BA%E6%9C%89%E6%83%85%E5%A0%B1uuid%E3%82%92%E3%83%95%E3%83%AD%E3%83%B3%E3%83%88%E3%82%A8%E3%83%B3%E3%83%89angular%E3%81%8B%E3%82%89%E5%8F%96%E5%BE%97%E3%81%97%E3%81%9F%E3%81%84 - メアド&password - 電話番号&SMS ## CVRの計測方法 ## ブラウザの情報をとる - safari, chromeなどのブラウザの種類と、決済手段と、cvrの関係は分析する価値がありそうだから、dbに入れておいてよさそう。 ## frontendで行うこと - ## backendで行うこと ## random - 継続課金とかいうシステムもある - 複雑

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully