-
Notifications
You must be signed in to change notification settings - Fork 106
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
【WIP】3DS2.0対応 #51
Open
jassan
wants to merge
5
commits into
t-k:master
Choose a base branch
from
jassan:feature/3DS2_0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+90
−1
Open
【WIP】3DS2.0対応 #51
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,12 @@ module Const | |
:address_5 => "Address5", | ||
:address_6 => "Address6", | ||
:amount => "Amount", | ||
:app_mode => "AppMode", | ||
:bank_code => "Bank_Code", | ||
:bank_id => "Bank_ID", | ||
:branch_code => "Branch_Code", | ||
:branch_code_jp => "Branch_Code_Jpbank", | ||
:callback_type => "CallbackType", | ||
:cancel_amount => "CancelAmount", | ||
:cancel_tax => "CancelTax", | ||
:card_name => "CardName", | ||
|
@@ -112,7 +114,7 @@ module Const | |
:register_disp_7 => "RegisterDisp7", | ||
:register_disp_8 => "RegisterDisp8", | ||
:reserve_no => "ReserveNo", | ||
:ret_url => "RetURL", | ||
:ret_url => "RetUrl", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 要求されるパラメータが |
||
:security_code => "SecurityCode", | ||
:seq_mode => "SeqMode", | ||
:service_name => "ServiceName", | ||
|
@@ -128,7 +130,55 @@ module Const | |
:suica_add_info_4 => "SuicaAddInfo4", | ||
:tax => "Tax", | ||
:td_flag => "TdFlag", | ||
:tds2_type => "Tds2Type", | ||
:td_required => "TdRequired", | ||
:td_tenant_name => "TdTenantName", | ||
:tds2_ch_acc_change => "Tds2ChAccChange", | ||
:tds2_ch_acc_date => "Tds2ChAccDate", | ||
:tds2_ch_acc_pw_change => "Tds2ChAccPwChange", | ||
:tds2_nb_purchase_account => "Tds2NbPurchaseAccount", | ||
:tds2_param => "Tds2Param", | ||
:tds2_payment_acc_age => "Tds2PaymentAccAge", | ||
:tds2_provision_attempts_day => "Tds2ProvisionAttemptsDay", | ||
:tds2_ship_address_usage => "Tds2ShipAddressUsage", | ||
:tds2_ship_name_ind => "Tds2ShipNameInd", | ||
:tds2_suspicious_acc_activity => "Tds2SuspiciousAccActivity", | ||
:tds2_txn_activity_day => "Tds2TxnActivityDay", | ||
:tds2_txn_activity_year => "Tds2TxnActivityYear", | ||
:tds2_3ds_req_auth_data => "Tds2ThreeDSReqAuthData", | ||
:tds2_3ds_req_auth_method => "Tds2ThreeDSReqAuthMethod", | ||
:tds2_3ds_req_auth_timestamp => "Tds2ThreeDSReqAuthTimestamp", | ||
:tds2_addr_match => "Tds2AddrMatch", | ||
:tds2_bill_addr_city => "Tds2BillAddrCity", | ||
:tds2_bill_addr_country => "Tds2BillAddrCountry", | ||
:tds2_bill_addr_line1 => "Tds2BillAddrLine1", | ||
:tds2_bill_addr_line2 => "Tds2BillAddrLine2", | ||
:tds2_bill_addr_line3 => "Tds2BillAddrLine3", | ||
:tds2_bill_addr_post_code => "Tds2BillAddrPostCode", | ||
:tds2_bill_addr_state => "Tds2BillAddrState", | ||
:tds2_email => "Tds2Email", | ||
:tds2_home_phone_cc => "Tds2HomePhoneCC", | ||
:tds2_home_phone_subscriber => "Tds2HomePhoneSubscriber", | ||
:tds2_mobile_phone_cc => "Tds2MobilePhoneCC", | ||
:tds2_mobile_phone_subscriber => "Tds2MobilePhoneSubscriber", | ||
:tds2_work_phone_cc => "Tds2WorkPhoneCC", | ||
:tds2_work_phone_subscriber => "Tds2WorkPhoneSubscriber", | ||
:tds2_ship_addr_city => "Tds2ShipAddrCity", | ||
:tds2_ship_addr_country => "Tds2ShipAddrCountry", | ||
:tds2_ship_addr_line1 => "Tds2ShipAddrLine1", | ||
:tds2_ship_addr_line2 => "Tds2ShipAddrLine2", | ||
:tds2_ship_addr_line3 => "Tds2ShipAddrLine3", | ||
:tds2_ship_addr_post_code => "Tds2ShipAddrPostCode", | ||
:tds2_ship_addr_state => "Tds2ShipAddrState", | ||
:tds2_delivery_email_address => "Tds2DeliveryEmailAddress", | ||
:tds2_delivery_time_frame => "Tds2DeliveryTimeframe", | ||
:tds2_gift_card_amount => "Tds2GiftCardAmount", | ||
:tds2_gift_card_count => "Tds2GiftCardCount", | ||
:tds2_gift_card_curr => "Tds2GiftCardCurr", | ||
:tds2_pre_order_date => "Tds2PreOrderDate", | ||
:tds2_pre_order_purchase_ind => "Tds2PreOrderPurchaseInd", | ||
:tds2_reorder_items_ind => "Tds2ReorderItemsInd", | ||
:tds2_ship_ind => "Tds2ShipInd", | ||
:tel_no => "TelNo", | ||
:token => "Token", | ||
:token_seq => "TokenSeq", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@jiikko
3DS2.0の対応をさせていただいております。
specはToDoになりますが、実装方針が問題ないかを確認したいです。
レスポンスの中に
&
を含む値があり、そのまま使用すると&t
が別のkeyと認識されてしまう問題がありましたので、上記のように手動でパースする実装を入れています。上記の方法以外だと、idPass ではなく json でリクエストしなければならなくなりそうなのでもう少し大きな改修が必要になりそうです。
他のparse方法でも無理でした。
ご確認よろしくお願いいたします。
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.
@jassan
返信が遅くなって申し訳ないです。
私は3DS2.0を使ったことがないので微妙なところですが、
テストを気持ち厚く書いて、動いているのであれば手動パースで問題ないと思います。
ドキュメントは公開されていないっぽいので頑張って手に入れてみます。