-
Notifications
You must be signed in to change notification settings - Fork 655
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
注文時に支払い方法が非表示に変更された場合エラーが発生するよう修正 #5558
Conversation
|
||
if ($itemHolder instanceof Order) { | ||
// 支払い方法が非表示の場合はエラー | ||
if (false === $itemHolder->getPayment()->isVisible()) { |
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.
@kurozumi
一部の決済プラグインや特定の条件によってはgetPayment()がnullを返すことがありますので、getPaymentのnullチェックをお願いできればありがたいです。
@chihiro-adachi |
Codecov Report
@@ Coverage Diff @@
## 4.2 #5558 +/- ##
============================================
+ Coverage 78.82% 78.84% +0.02%
- Complexity 6253 6258 +5
============================================
Files 469 469
Lines 20992 20999 +7
============================================
+ Hits 16547 16557 +10
+ Misses 4445 4442 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@kurozumi |
概要(Overview・Refs Issue)
以下のissueの対応です。
#5549
方針(Policy)
実装に関する補足(Appendix)
テスト(Test)
相談(Discussion)
マイナーバージョン互換性保持のための制限事項チェックリスト
レビュワー確認項目