checkout_process.phpvor:
include ('send_order.php');
einfügen:
if($_SESSION['payment'] != 'billsafe_2')
ersetzen von:
$payment_modules->after_process();
mit:
$success = $payment_modules->after_process();
if($_SESSION['payment'] == 'billsafe_2' && $success)
include ('send_order.php');
includes/modules/payment/billsafe_2.phpnach [in function after_process()]:
xtc_db_query('INSERT INTO billsafe_payinstructs_2 (bsorders_id, order_id, bankCode, accountNumber, recipient, bankName, bic, iban, reference, amount, currencyCode, shopUrl, paymentPeriod, note, legalNote) values("'.xtc_db_input($result['id']).'", "'.xtc_db_input($insert_id).'", "'.$pins->bankCode.'", "'.$pins->accountNumber.'", "'.$pins->recipient.'", "'.$pins->bankName.'", "'.$pins->bic.'", "'.$pins->iban.'", "'.$pins->reference.'", "'.$pins->amount.'", "'.$pins->currencyCode.'", "'.$pins->shopUrl.'", "'.$pins->paymentPeriod.'", "'.$pins->note.'", "'.$pins->legalNote.'")');
einfügen:
return true;
getestet mit billsafe_2 in v1.06 rev 4642
Linkback: https://www.modified-shop.org/forum/index.php?topic=31040.0