Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Billsafe: Bestätigungsmail erst nach Bezahlt

    D.L.

    • Mitglied
    • Beiträge: 108
    Billsafe: Bestätigungsmail erst nach Bezahlt
    am: 11. September 2014, 11:02:12
    checkout_process.php

    vor:
    Code: PHP  [Auswählen]
    include ('send_order.php');
    einfügen:
    Code: PHP  [Auswählen]
    if($_SESSION['payment'] != 'billsafe_2')

    ersetzen von:
    Code: PHP  [Auswählen]
    $payment_modules->after_process();
    mit:
    Code: PHP  [Auswählen]
    $success = $payment_modules->after_process();    
    if($_SESSION['payment'] == 'billsafe_2' && $success)
            include ('send_order.php');

    includes/modules/payment/billsafe_2.php

    nach [in function after_process()]:
    Code: PHP  [Auswählen]
    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:
    Code: PHP  [Auswählen]
    return true;

    getestet mit billsafe_2 in v1.06 rev 4642

    Linkback: https://www.modified-shop.org/forum/index.php?topic=31040.0
    2 Antworten
    2913 Aufrufe
    07. Juli 2014, 16:00:13 von D.L.
    4 Antworten
    2958 Aufrufe
    26. August 2014, 17:59:03 von Aladin
    2 Antworten
    3193 Aufrufe
    23. März 2012, 14:47:50 von fishnet