Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GMO後払い決済に対応する #106

Merged
merged 13 commits into from
Mar 13, 2020
Merged

GMO後払い決済に対応する #106

merged 13 commits into from
Mar 13, 2020

Conversation

itakurara
Copy link
Contributor

イプシロン決済システム仕様書 Ver.1.0.41 p44, 45

@itakurara itakurara self-assigned this Mar 11, 2020
ruby-head(ruby 2.8.0dev)でFile does not exist:rexml/documentというエラーになる。
2.8.0devでREXMLが添付ライブラリから外されたという情報があり、その影響とみられる。
ruby-headのバージョンは安定板ではないし、テストをするのをやめる。
@itakurara itakurara requested review from ryuchan00 and dojineko and removed request for ryuchan00 and dojineko March 12, 2020 07:45
item_code: detail[:item_code],
item_name: detail[:item_name],
order_number: detail[:order_number],
st_code: '00000-0000-00000-00000-00100-00000-00000',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

決済区分は以下が正しいかと思いました

Suggested change
st_code: '00000-0000-00000-00000-00100-00000-00000',
st_code: '00000-0000-00000-00010-00000-00000-00000',

書式:NNNNN-NNNN-NNNNN-NNNNN-NNNNN-NNNNN-NNNNN
(以下表の対比12345-6789-ABCDE-FGHIJ-KLMNO-PQRST-UVWXY)

「GMO後払い決済」は対応表(p.46)を見る限り I だったので

Copy link
Contributor

@ku00 ku00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一点コメントしました

item_code: detail[:item_code],
item_name: detail[:item_name],
order_number: detail[:order_number],
st_code: '00000-0000-00000-00000-00100-00000-00000',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

銀行振込(バーチャル口座) の設定になっているようです 🙏 

仕様書 p.46 より

uri: https://beta.epsilon.jp/cgi-bin/order/receive_order3.cgi
body:
encoding: UTF-8
string: contract_code=[CONTRACT_CODE]&user_id=&user_name=YAMADA+Taro&user_mail_add=yamada-taro%40example.com&item_code=ITEM001&item_name=Greate+Product&order_number=O17949889&st_code=00000-0000-00000-00000-00100-00000-00000&mission_code=1&item_price=10000&process_code=1&xml=1&delivery_code=99&consignee_postal=1500002&consignee_name=%E3%82%A4%E3%83%97%E3%82%B7%E3%83%AD%E3%83%B3%E3%82%BF%E3%83%AD%E3%82%A6&consignee_address=%E6%9D%B1%E4%BA%AC%E9%83%BD%E6%B8%8B%E8%B0%B7%E5%8C%BA%EF%BC%91%E2%88%92%EF%BC%91%E2%88%92%EF%BC%91&consignee_tel=0312345678&orderer_postal=1500002&orderer_name=YAMADA+Taro&orderer_address=%E6%9D%B1%E4%BA%AC%E9%83%BD%E6%B8%8B%E8%B0%B7%E5%8C%BA1-1-1&orderer_tel=0312345678&version=2&memo1=memo1&memo2=memo2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VCRのカセットの決済区分も 銀行振込(バーチャル口座) になっているので、こちらもご確認ください 🙏

@itakurara itakurara requested review from yono and ku00 March 13, 2020 02:53
@itakurara
Copy link
Contributor Author

レビューありがとうございます!修正したので再度お願いします 🙏

ご指摘いただいた箇所以外で、英語の表記名について見直して、そちらも修正しております。

@@ -302,6 +302,45 @@ else
end
```

### GMO Payment After Delivery
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@ku00 ku00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🍊

Copy link
Contributor

@yono yono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM〜

@itakurara
Copy link
Contributor Author

レビューありがとうございました!

マージreadyなのでマージしてしまおうかと思ったのですが、
その後この更新の入ったgemのリリース作業などが発生するかと思いまして、
どういうステップで進めていったら良いのか(マージ後どなたかに連絡が必要?などなど)教えていただきたいです🙏

@ku00
Copy link
Contributor

ku00 commented Mar 13, 2020

@itakurara
下記のようにバージョンアップPRを作って @kurotaky さんにレビュー&リリース作業をお願いすればよいと思います〜
#100

@itakurara
Copy link
Contributor Author

@ku00

ありがとうございます〜!ではではこちらはマージしてしまいます 🚀

@itakurara itakurara merged commit 7eb2213 into master Mar 13, 2020
@itakurara itakurara deleted the gmo-later-payment branch March 13, 2020 06:30
@itakurara itakurara mentioned this pull request Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants