Merge branch 'paypal_billing' into develop

This commit is contained in:
Thibault UBUNTU 2016-04-06 16:33:00 +02:00
commit 83675d8a08

View File

@ -151,6 +151,7 @@ class PayPalOrder
if (!isset($transaction['payment_status']) || !$transaction['payment_status'])
$transaction['payment_status'] = 'NULL';
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'paypal_order`
(`id_order`, `id_transaction`, `id_invoice`, `currency`, `total_paid`, `shipping`, `capture`, `payment_date`, `payment_method`, `payment_status`, `is_billing`)
@ -161,9 +162,8 @@ class PayPalOrder
\''.(int)Configuration::get('PAYPAL_CAPTURE').'\',
\''.pSQL($transaction['payment_date']).'\',
\''.(int)Configuration::get('PAYPAL_PAYMENT_METHOD').'\',
\''.(int)Configuration::get('PAYPAL_PAYMENT_METHOD').'\',
\''.pSQL($transaction['payment_status']).'\',
\''.(int) $is_billing.'\')'
'.(int) $is_billing.')'
);
}