-
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
Feature/pp 44628 #47
Feature/pp 44628 #47
Conversation
- Test fixes - Local mock setup for payment get,create and cancel - Fix for payment controller using wrong endpoint
Conflicts: src/Controllers/Payment.php src/Controllers/Refund.php
- Added missing constuctor to pending payment payload
Black Duck Security ReportMerging #47 into master will not change security risk. |
* @param CreatePendingPaymentPayload $payload SDK payload object | ||
* @return mixed | ||
*/ | ||
public function createPendingPayment($payload) |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
* @return mixed | ||
*/ | ||
public function getPaymentDetails($merchantPaymentId) | ||
public function getPaymentDetails($merchantPaymentId, $paymentType = 'web_cashier') |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
* @return mixed | ||
*/ | ||
public function cancelPayment($merchantPaymentId) | ||
public function cancelPayment($merchantPaymentId, $paymentType = 'web_cashier') |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
Code Climate has analyzed commit feaf1eb and detected 8 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 100.0% (5% is the threshold). This pull request will bring the total coverage in the repository to 94.9% (0.4% change). View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Let's fix the quality issues in next PR @paypay-ayas |
All Submissions:
New Feature Submissions:
Changes to Core Features: