Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active November 6, 2017 07:09
Show Gist options
  • Save kjunichi/4080cd05b0238dabffee34e8cc34cffd to your computer and use it in GitHub Desktop.
Save kjunichi/4080cd05b0238dabffee34e8cc34cffd to your computer and use it in GitHub Desktop.
2017/11/6

Payment Request API

  • 販売者のサイトが新しい PaymentRequest を作成し、購入に必要なすべての情報(請求額、支払に使われる通貨、サイトで受け入れられる支払方法)をブラウザに渡したときに開始

  • ユーザーが取引を承認すると、必要なすべての支払詳細情報がサイトに直接送信

  • ウェブサイトにおいては必要な JavaScript API 呼び出しが 1 つのみ

  • 渡される情報は生のクレジットカード番号や住所を含む JSON 形式のデータ

Node.js http proxy

プロキシで自己証明書のアクセスを許可するには

const tunnelAg = tunnel.httpsOverHttp({
    proxy: {
        host: '192.168.0.1',
        port: 8080
    },
    rejectUnauthorized: false
});

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment