-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: add endpoints about ThreeDSecureRequest object. #63
Conversation
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.
いくつか
@@ -264,7 +268,7 @@ namespace Payjp { | |||
total_platform_fee?: number, | |||
tenant?: string | null, | |||
product?: any, | |||
three_d_secure_status: string | null, | |||
three_d_secure_status: ThreeDSecureStatus, |
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.
three_d_secure_statusプロパティは現状chargeとcardにあります。cardも合わせてもらえますか?
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.
fbee108
card 付けるの忘れてました。ありがとうございます。
修正しました✍
@@ -11,6 +11,7 @@ import Transfers from './transfer'; | |||
import Statements from './statement'; | |||
import Terms from "./term"; | |||
import Balances from "./balance"; | |||
import ThreeDSecureRequests from "./threeDSecureRequest"; |
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.
クラス名に合わせてファイルもthreeDSecureRequests(末尾のsつける)がいいんじゃないですかね。
本来は他のリソースもそうすべきに見える
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ではこのままにしておきたいです。
別 PR で対処させてください。
test/threeDSecureRequest.spec.js
Outdated
const query = { | ||
resource_id: 'car_xxxxxxxxxxxxxxxxxxxxxxxxx' | ||
}; | ||
return payjp.three_d_secure_requests.create(query).then(([_method, _endpoint]) => { |
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.
queryのassertionも足したいですね
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.
75a6974
追加しました✍
Overview
add endpoints about ThreeDSecureRequest object.