[+] MO : Update Paypal to use the new system to store payment cc details

This commit is contained in:
vSchoener
2011-10-28 14:07:57 +00:00
parent 2be4b67a71
commit 16a8500503
2 changed files with 15 additions and 1 deletions
+6
View File
@@ -142,6 +142,12 @@ if (strtoupper($result) == 'VERIFIED')
else
$errors .= $paypal->getL('verified');
// Set transaction details if pcc is defiend in PaymentModule class
if (isset($paypal->pcc))
{
$this->pcc->transaction_id = (isset(.$_POST['txn_id']) ? $_POST['txn_id'] : '');
}
if (!empty($errors) AND isset($_POST['custom']))
{
if (strtoupper($_POST['payment_status']) == 'PENDING')