shetabit/multipay

View on GitHub
src/Drivers/Payping/Payping.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method purchase has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function purchase()
    {
        $name = $this->extractDetails('name');
        $mobile = $this->extractDetails('mobile');
        $email = $this->extractDetails('email');
Severity: Minor
Found in src/Drivers/Payping/Payping.php - About 1 hr to fix

    Method verify has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function verify() : ReceiptInterface
        {
            $refId = Request::input('refid');
            $data = [
                'amount' => $this->invoice->getAmount() / ($this->settings->currency == 'T' ? 1 : 10), // convert to toman
    Severity: Minor
    Found in src/Drivers/Payping/Payping.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status