GithubHelp home page GithubHelp logo

payments's Introduction

ELITES実務案件 決済システム開発

1.担当した機能
   企業の担当者が支払内容と顧客情報に応じた個別の決済ページを発行し、 顧客がその決済ページにアクセスして決済を行う。
   決済はクレジットカードで決済する。
   決済後、個別の決済ページにはアクセスできないようにする。
   画面はレスポンシブデザインに対応。

2.担当した画面・仕様
・個別決済ページ発行画面
   /payments/admin/generateでアクセス

◯画面にはBASIC認証を設定(設定はID:admin, パスワード:password)
◯フォームに7項目を入力し、Submit後、バリデーションエラー発生時はそのエラーを表示する。
◯問題ない場合は、フォームに入力したメールアドレスに個別決済ページのURLと個別決済ページにアクセスするためのIDとパスワードを送り、個別決済ページ発行完了画面に遷移する。また、ルーティング設定ファイルに、発行した個別決済ページにアクセスできるように設定を追記する。

・個別決済ページ発行完了画面
   /payments/admin/generatedでアクセス

◯フォームに入力した内容を再表示する。
◯1度のみの課金か、定期課金かで表示を切り替える。

・個別決済ページ
   /payments/key/個別決済ページ毎の乱数 でアクセス

◯画面にはBASIC認証を設定(設定はID:ID, パスワード:password)
◯クレジットカード情報を入力し、チェックボックスの同意するをチェックする。Submit後、バリデーションエラー発生時はそのエラーを表示する。バリデーションエラーはないが、何かしらのエラーが発生した際は、申込失敗画面へ遷移する。
◯問題ない場合は、WEBPAYのAPIを利用してクレジットカード情報を含む課金情報をWEBPAYサーバーに登録する。また、顧客情報をWEBPAYサーバー及び自社のサーバーに登録する。また、ルーティング設定ファイルを、個別決済ページへアクセスできないように設定する。
◯全て問題なく終了したら、申込完了画面へ遷移する。
◯個別決済ページ発行後、24時間経過した場合は、個別決済ページにアクセスした際にエラーを表示し、該当ページにアクセスできないようにする。また、URLの個別決済ページ毎の乱数が誤っている場合にはエラーを表示する。

payments's People

Contributors

tomo00223 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.