Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cdesp72

    (@cdesp72)

    ναι και γω για χωρίς δόσεις έχω προσθέσει κώδικα για να τα βγάζει από τον πίνακα αλλιώς δεν λειτουργεί σωστα όταν δεν επιλέγεις δόσεις.

     $form_data_array = [

                'version' => $version,

                'mid' => esc_attr($this->eb_PayMerchantId),

                'lang' => $lang,

                'deviceCategory' => '0',

                'orderid' => $order_id . 'at' . date('Ymdhisu'),

                'orderDesc' => 'Order #' . $order_id,

                'orderAmount' => $order->get_total(),

                'currency' => $currency,

                'payerEmail' => $order->get_billing_email(),

                'billCountry' => $country,

                'billState' => $state_code,

                'billZip' => $order->get_billing_postcode(),

                'billCity' => $order->get_billing_city(),

                'billAddress' => $order->get_billing_address_1(),

                'trType' => $trType,

                'extInstallmentoffset' => 1,

                'extInstallmentperiod' => "",

                'confirmUrl' => get_site_url() . "/?wc-api=WC_eurobank_Gateway&result=success",

                'cancelUrl' => get_site_url() . "/?wc-api=WC_eurobank_Gateway&result=failure",

                'var2' => $order_id,

            ];

            if ($installments > 1) {

                $form_data_array['extInstallmentoffset'] = 0;

                $form_data_array['extInstallmentperiod'] = $installments;

            }

            else {

                unset($form_data_array['extInstallmentoffset']);

                unset($form_data_array['extInstallmentperiod']);  

            }

    • This reply was modified 1 year, 9 months ago by cdesp72.
    Thread Starter cdesp72

    (@cdesp72)

    Just uploaded the zip file containing the plugin with the fixes

    Thread Starter cdesp72

    (@cdesp72)

    Hi,

    we are using it on our primary school website, so the kids can see what books we have at our library and then they can borrow it and read it, so we don’t want everyone to be able to check in or out the books. We have a team of students to do that with their own username.

    Where and how can i sent you the files? I will zip them into one file.

Viewing 3 replies - 1 through 3 (of 3 total)