-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
218 additions
and
2,048 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ language: php | |
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
|
||
env: | ||
matrix: | ||
|
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
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
53 changes: 53 additions & 0 deletions
53
src/Http/Controllers/LaravelMobilpay/LaravelMobilpayController.php
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers\LaravelMobilpay; | ||
|
||
|
||
use Illuminate\Http\Request; | ||
use Netopia\Payment\Request\Card; | ||
use Netopia\Payment\Request\PaymentAbstract; | ||
use Stl30\LaravelMobilpay\Mobilpay\Payment\Request\Mobilpay_Payment_Request_Abstract; | ||
use Stl30\LaravelMobilpay\Mobilpay\Payment\Request\Mobilpay_Payment_Request_Card; | ||
|
||
class LaravelMobilpayController extends \Stl30\LaravelMobilpay\Http\Controllers\LaravelMobilpayController | ||
{ | ||
public function card() | ||
{ | ||
return parent::card(); | ||
} | ||
|
||
public function addTransaction(Card $mobilpayRequestObject, $customDataParameter = '') | ||
{ | ||
return parent::addTransaction($mobilpayRequestObject, $customDataParameter); | ||
} | ||
|
||
public function updateTransaction(PaymentAbstract $mobilpayReturnObject, $orderStatus = 'possible error') | ||
{ | ||
return parent::updateTransaction($mobilpayReturnObject, $orderStatus); | ||
} | ||
|
||
function addAutomatedTransactionError($errorCode, $errorType, $errorMessage, $mobilpayReturnObject) | ||
{ | ||
return parent::addAutomatedTransactionError($errorCode, $errorType, $errorMessage, $mobilpayReturnObject); | ||
} | ||
|
||
public static function validatePaymentDetails(array $parameters = []) | ||
{ | ||
return parent::validatePaymentDetails($parameters); | ||
} | ||
|
||
public function cardRedirect(array $paymentParameters = array()) | ||
{ | ||
return parent::cardRedirect($paymentParameters); | ||
} | ||
|
||
public function cardConfirm() | ||
{ | ||
return parent::cardConfirm(); | ||
} | ||
|
||
public function cardReturn(Request $request) | ||
{ | ||
return parent::cardReturn($request); | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.