-
Notifications
You must be signed in to change notification settings - Fork 11
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後払い version 1 を使うようにする #108
Conversation
エラー発生時に error_detail などのキーが含まれなくなっていたため
end | ||
|
||
decoded_string | ||
CGI.unescape(string).encode(Encoding::UTF_8, Encoding::CP932) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ちゃんと戻っている 👀
cadf7d2#diff-2d95049f89d68d5ec1ac63e2ea43621f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🌮
@@ -1,6 +1,11 @@ | |||
module ActiveMerchant #:nodoc: | |||
module Billing #:nodoc: | |||
class EpsilonGmoAfterGateway < EpsilonBaseGateway | |||
|
|||
RESPONSE_KEYS = DEFAULT_RESPONSE_KEYS + [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
エラー発生時に error_detail などのキーが含まれなくなっていたため
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
よさげです 🕊
@@ -30,7 +35,7 @@ def purchase(amount, detail = {}) | |||
params[:memo2] = detail[:memo2] if detail.has_key?(:memo2) | |||
params[:user_tel] = detail[:user_tel] if detail.has_key?(:user_tel) | |||
|
|||
commit('receive_order3.cgi', params, [:redirect]) | |||
commit('receive_order3.cgi', params, RESPONSE_KEYS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
良さそうな雰囲気を感じます
レビューありがとうございます。 バージョンアップ用のPRを #107 を参考にして別途出しますー |
やったこと
参考:
イプシロン決済システム仕様書 Ver.1.0.41 p44, 45