forked from aleksxp/robokassa
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added the ability to transfer nomenclatures data (#17)
* chane old baseURL on new * add addReceiptData method for sending nomenclatures data * Update README.md
- Loading branch information
Showing
3 changed files
with
91 additions
and
16 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
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,27 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of Robokassa package. | ||
* | ||
* (c) 2014 IDM Agency (http://idma.ru) | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Idma\Robokassa\Exception; | ||
|
||
/** | ||
* Class EmptyDescriptionException | ||
* | ||
* @author JhaoDa <[email protected]> | ||
* | ||
* @package Idma\Robokassa\Exception | ||
*/ | ||
class ReceiptDataException extends PaymentException | ||
{ | ||
public function __construct($message = '', $code = 0, \Exception $previous = null) | ||
{ | ||
parent::__construct('This receipt data: sum, name, quantity, tax are required and cannot be empty.', $code, $previous); | ||
} | ||
} |
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