Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Page cache is not detected

    why getting the above error? I have enabled the cache and applied Advanced Preset

    Thread Starter natx

    (@natx)

    δείτε στο https://paycenter.piraeusbank.gr/AdminTool/index.aspx#

    στη διαχειριση σφαλματων, τι κωδικο λαθους σας δινει και επικοινωνηστε με τραπεζα.

    Thread Starter natx

    (@natx)

    έχουμε εγκαταστήσει το plugin Piraeus Bank WooCommerce Payment Gateway By Papaki,
    οπότε στη σελίδα μας μέσα στον φάκελο wp-content/plugins/woo-payment-gateway-piraeus-bank-greece/ υπάρχει το αρχείο wooshop-piraeus.php στο οποίο κάνουμε edit
    στη γραμμή 599 βλέπουμε το
    $ticketRequest = array(
    διορθώνουμε σε
    //’BillAddrCity’ => $BillAddrCity, changed by Natalia edine I kai failed order
    ‘BillAddrCountry’ => $BillAddrCountry,
    //’BillAddrLine1′ => $BillAddrLine1,
    //’BillAddrPostCode’ => $BillAddrPostCode,
    //’BillAddrState’ => $BillAddrStateCode,
    //’ShipAddrCity’ => $ShipAddrCity,
    ‘ShipAddrCountry’ => $ShipAddrCountry,
    //’ShipAddrLine1′ => $ShipAddrLine1,
    //’ShipAddrPostCode’ => $ShipAddrPostCode,
    //’ShipAddrState’ => $ShipAddrStateCode,

    έτσι έχουμε ακυρώσει όλα τα πεδία εκτός από BillAddrCountry και ShipAddrCountry
    Η αλλαγή αυτή πρέπει να γίνετα κάθε φορά ου κάνουμε update το plugin!
    Ας ελπίζουμε πως θα υπάρξει καλύτερη λύση από τους προγραμματιστές του.

    Τα πεδία αυτά δεν εμφανίζονται στη σελίδα αφού έχω προσθέσει στο functions.php
    /**
    * @snippet Remove Fields on the WooCommerce Checkout
    */

    add_filter( ‘woocommerce_checkout_fields’ , ‘nat_remove_billing_city_checkout’ );

    function nat_remove_billing_city_checkout( $fields ) {
    unset($fields[‘billing’][‘billing_city’]);
    unset($fields[‘billing’][‘billing_company’]);
    unset($fields[‘billing’][‘billing_address_1’]);
    unset($fields[‘billing’][‘billing_address_2’]);
    unset($fields[‘billing’][‘billing_postcode’]);
    unset($fields[‘billing’][‘billing_state’]);
    return $fields;
    }

    Thread Starter natx

    (@natx)

    στο wooshop-piraeus.php
    στη γραμμή 1834 βρίσκεις
    if(empty($stateCode)){
    //if nothing found for state, assume that is for Attiki
    $stateCode = ‘I’;
    }
    από την τράπεζα μας φώτισαν
    “`Από ότι βλέπουμε καταχωρούνται σε
    όλες τις συναλλαγές οι παρακάτω
    τιμές:

    <BillAddrState>I</BillAddrState>

    <ShipAddrState>I</ShipAddrState>

    Είναι θέμα εκδότριας Τράπεζας αν θα
    απορρίψει τη συναλλαγή ή όχι και για
    το λόγο αυτό κάποιες συναλλαγές
    εγκρίνονται και κάποιες όχι.

    Θα σας πρότεινα να διορθώσετε
    ολοκληρωτικά το πρόβλημα.”

    διορθώσαμε το πρόβλημα ακυρώνοντας αυτά τα πεδία
    BillAddrState, ShipAddrState
    * προσοχή όμως εγώ δεν τα χρειάζομαι γιατί με ενδιαφέρει μόνο η χώρα και μόνο αυτά τα πεδία BillAddrCountry, ShipAddrCountry έχω αφήσει στη σελίδα.

    Thread Starter natx

    (@natx)

    Πρέπει να συνδεθείτε στο
    https://paycenter.piraeusbank.gr/AdminTool/LoginForm.aspx
    με τα στοιχεία σας και μετά στο Συναλλαγές – Διαχείριση Σφαλμάτων
    στο Αναζήτηση συγκεκριμένης συναλλαγής

    δίνοντας το Support Reference ID
    που το έχετε βρει από το Woocommerce/ orders μέσα στην αποτυχημένη παραγγελία.

    Thread Starter natx

    (@natx)

    /* define specific PosId depending on the current language */
    if (ICL_LANGUAGE_CODE == ‘de’)
    {
    $this->pb_PosId = absint($this->get_option(‘pb_PosId_DE’));
    }
    elseif (ICL_LANGUAGE_CODE == ‘el’)
    {
    $this->pb_PosId = absint($this->get_option(‘pb_PosId_EL’));
    }
    elseif (ICL_LANGUAGE_CODE == ‘ru’)
    {
    $this->pb_PosId = absint($this->get_option(‘pb_PosId_RU’));
    }
    else //default language (english (en))
    {
    $this->pb_PosId = absint($this->get_option(‘pb_PosId_EN’));
    }

    Thread Starter natx

    (@natx)

    Συγχαρητήρια για το Plugin και για το support σας!
    ευχαριστώ για την απάντηση σας, έχουμε ταλαιπωρηθεί πολύ με την τράπεζα, ειδικά με την αντιμετώπιση τους, όχι τόσο το οτι είναι άσχετοι, όσο με το ότι δεν έχουν καμία διάθεση να βοηθήσουν…

    Παρακαλώ δείτε τo php πως το έχω τροποποιήσει για να παίρνει και τα πεδία για τις 4 γλώσσες, χωρίς να χρειάζεται plugin για μετάφραση.
    Δεν ξέρω αν είναι απόλυτα σωστά, γιατί οι γνώσεις μου είναι εμπειρικές.
    Αν μπορείτε να ενσωματώσετε κάτι απο αυτά θα χαρώ να δω πως βοήθησα κάπως και εγώ σε καλύτερη έκδοση.

    Keep up the good work! 😀
    [Large code excerpt removed by moderator per our FAQ. Please use Pastebin or a Gist for all large code excerpts, they work better anyway.]

    • This reply was modified 5 years, 4 months ago by Yui.
    • This reply was modified 5 years, 4 months ago by Yui. Reason: large code excerpt moderated

    Καλησπέρα σας,
    Έχω και εγώ το ίδιο πρόβλημα με τηλεφωνικούς αριθμούς, μετά την τελευταία αναβάθμιση όταν στέλνεις σε μια χώρα και βάζεις τηλέφωνο από την ίδια χώρα είναι οκ.
    [CurrencyCode] => 978
    [Installments] => 1
    [Bnpl] => 0
    [Parameters] =>
    [BillAddrCity] => athens
    [BillAddrCountry] => 300
    [BillAddrLine1] => odos
    [BillAddrPostCode] => 12345
    [BillAddrState] => I
    [ShipAddrCity] => athens
    [ShipAddrCountry] => 300
    [ShipAddrLine1] => odos
    [ShipAddrPostCode] => 12345
    [ShipAddrState] => I
    [CardholderName] => test
    [Email] => [email protected]
    [HomePhone] => 30-697xxxxxxx
    [MobilePhone] => 30-697xxxxxxx
    [WorkPhone] => 30-697xxxxxxx

    Όταν όμως βάλεις τηλέφωνο από άλλη χώρα από αυτή που έχεις επιλέξει να στείλεις το προιον, βάζει και τους 2 κωδικούς.
    [BillAddrCity] => Munchen
    [BillAddrCountry] => 276
    [BillAddrLine1] => Breitenbach-Weg
    [BillAddrPostCode] => 80995
    [BillAddrState] =>
    [ShipAddrCity] => Munchen
    [ShipAddrCountry] => 276
    [ShipAddrLine1] => Breitenbach-Weg
    [ShipAddrPostCode] => 80995
    [ShipAddrState] =>
    [CardholderName] => test name
    [Email] => [email protected]
    [HomePhone] => 49-+30697xxxxxxx
    [MobilePhone] => 49-+30697xxxxxxx
    [WorkPhone] => 49-+30697xxxxxxx
    to 49 είναι κωδικός για Γερμανία και το 30 κωδικός της Ελλάδας.
    Πως μπορεί να διορθωθεί αυτό ?

    το άλλο πρόβλημα είναι πως [BillAddrState] kai [ShipAddrState]
    που ζητάει η τράπεζα δεν βγαίνουν σε όλες τις χώρες.

    Thread Starter natx

    (@natx)

    see the screenshot http://prntscr.com/i0mqxt

    please go to https://yellowmarshmallow.gr/about-us/
    this is a page without products
    then roll over from browse categories (drop down menu) to the baby category,
    you will see the menu block appear with 4 products without sales prices.
    if you go to the category (https://yellowmarshmallow.gr/kids/baby/)
    you will see that all the products have sales

    Thread Starter natx

    (@natx)

    PLEASE CHECK THE DROP-DOWN MENU
    The problem is there when you are not in a page with products the menu is without sales, when you are at a page with products the menu is with sales

    Thread Starter natx

    (@natx)

    Hi,

    at home page https://yellowmarshmallow.gr please check the menu drop down all the products are without discount, http://prntscr.com/hzd0b3, but the same menu is ok if you are at a page with products, like shop online
    https://yellowmarshmallow.gr/shop-online/ http://prntscr.com/hzd00i

    Thread Starter natx

    (@natx)

    Thank you for your prompt reply.

    Problem is fixed!
    At general settings of WooCommerce I had 0 number of decimals !!!

    Hi!

    I need this too…
    I have extra charge for cod. Is it possible to add tax to the extra charge?
    Did you find any solution ?

    Thanks

    Thread Starter natx

    (@natx)

    I am talking about the Payment methods from woocommerce/Accounts
    Endpoint for the “My Account-Payment Methods” page
    I also have created a page Payment Methods with slug payment-methods at 4 languages, so I think there is a conflict, is that possible ?

    Thread Starter natx

    (@natx)

    I am using WPML for translation and everything is ok, except the checkout with payment method the Piraeus Bank.

Viewing 15 replies - 1 through 15 (of 20 total)