Skip to content
Code-Schnipsel Gruppen Projekte
Commit bea830a9 erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

docs: PHPDoc and @todo's

Übergeordneter 7a5b0d4c
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -235,6 +235,7 @@ class Payment extends QUI\ERP\Accounting\Payments\Api\AbstractPayment
*
* @throws AmazonPayException
* @throws QUI\ERP\Exception
* @throws QUI\Exception
*/
public function authorizePayment($orderReferenceId, AbstractOrder $Order)
{
......@@ -413,6 +414,7 @@ class Payment extends QUI\ERP\Accounting\Payments\Api\AbstractPayment
break;
default:
// @todo Order ggf. pending
$reason = $status['ReasonCode'];
$Order->addHistory(
......@@ -429,8 +431,10 @@ class Payment extends QUI\ERP\Accounting\Payments\Api\AbstractPayment
*
* @param AbstractOrder $Order
* @return void
*
* @throws AmazonPayException
* @throws QUI\ERP\Exception
* @throws QUI\Exception
*/
public function capturePayment(AbstractOrder $Order)
{
......@@ -524,6 +528,8 @@ class Payment extends QUI\ERP\Accounting\Payments\Api\AbstractPayment
$Order->update(QUI::getUsers()->getSystemUser());
break;
// @todo pending status
default:
$reason = $status['ReasonCode'];
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren