• Resolved adistler

    (@adistler)


    Hi community,
    I’m using WooCommerce 3.4.7 with the plugin WooCommerce “Germanized” 2.2.1 on our page.
    We’ve enabled direct SEPA debit payment in the european region. I’m aware that some encryption with a passphrase happens because of the new data protection laws (GDPR) in the germanized plugin.

    After a customer has placed his order with SEPA details (IBAN + BIC etc.) I want to export these payment details to office file (e.g. excel/csv/…). Currently I’m using the additional plugin “Advanced Order Export for WooCommerce” v. 1.5.6.

    When doing so, Im only able to see the encrypted IBAN + BIC values in the exported office file from this order column.
    Question: Is it possible to export the plaintext IBAN & bic number from the placed orders into a office file? How would be the best way to do so?

    Thank you very much in advance!

    Andy

    • This topic was modified 6 years, 1 month ago by adistler.
    • This topic was modified 6 years, 1 month ago by adistler.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Dennis

    (@vdwoocommercesupport)

    Hi there,

    you may need to use a Hook within the Advanced Order Export Plugin to adjust the column output. You may decrypt the IBAN/BIC the following way:

    
    $order   = wc_get_order( $order_id );
    $gateway = new WC_GZD_Gateway_Direct_Debit();
    $iban    = $gateway->maybe_decrypt( wc_gzd_get_crud_data( $order, 'direct_debit_iban' ) );
    $bic     = $gateway->maybe_decrypt( wc_gzd_get_crud_data( $order, 'direct_debit_bic' ) );

    Cheers

    Thread Starter adistler

    (@adistler)

    Thank you Dennis! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Germanized” encryption of direct debit iban + bic number in WooCommerce’ is closed to new replies.