Fixed error handling issue in payment processing
authorMarcel Werk <burntime@woltlab.com>
Wed, 3 Jun 2015 15:45:21 +0000 (17:45 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 3 Jun 2015 15:45:21 +0000 (17:45 +0200)
wcfsetup/install/files/lib/system/payment/type/PaidSubscriptionPaymentType.class.php

index 14c6dcbe524d14d7792f3cf896eb755863ef794a..ad0ea3d05e551005a09d2ac6f2ccdcdd6f85477b 100644 (file)
@@ -115,7 +115,7 @@ class PaidSubscriptionPaymentType extends AbstractPaymentType {
                                'paymentMethodObjectTypeID' => $paymentMethodObjectTypeID,
                                'logTime' => TIME_NOW,
                                'transactionID' => $transactionID,
-                               'logMessage' => $e,
+                               'logMessage' => $e->getMessage(),
                                'transactionDetails' => serialize($transactionDetails)
                        )));
                        $action->executeAction();