• Hi ! Im creating my own store theme/website in full coded pages. Im about to finish but i got an issue with my payment gateways on my theme. Everything is set correctly in Payments Settings and it works perfectly with StoreFront. Im overriding some woocommerce files but even with no functions and with no override, the payment gateways are not showing up. I think this is caused by my index.php navigation, wich is direct :

    <?php

    if (is_shop()) {

    // Page Boutique

    include(‘shop.php’);

    } elseif (is_product()) {

    // Page Produit Individuel

    include(‘wp-content/themes/httpsarchive/woocommerce/single-product.php’);

    } elseif (is_page(‘creations’)) {

    include(‘creations.php’);

    } elseif (is_page(‘cgv’)) {

    include(‘cgv.php’);

    } elseif (is_page(‘pdc’)) {

    include(‘pdc.php’);

    } elseif (is_page(‘cart’)) {

    include(‘wp-content/themes/httpsarchive/woocommerce/cart.php’);

    } elseif (is_page(‘checkout’)) {

    include(‘checkout.php’);

    } else {

    // Page d’accueil

    include(‘front-page.php’);

    }

    ?>

    My shortcodes works only when I echo them with php, not in the wordpress page builder, it can be linked, idk. I have only Woocommerce and Woopayment activated, this is not a plugin conflict.I tried on Safari and Chrome, same issue. My site is https://www.httpsarchive.com, SSL activated and HTTPS too.

    Im completely lost, thanks in advance,

    Quentin.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter qt1thm

    (@qt1thm)

    Thread Starter qt1thm

    (@qt1thm)

    Thanks for your response. I tried everything : it works with StoreFront, there are no JS issues or plugin conflict, Woopayment is well enabled, and i override form-checkout.php.

    But, my checkout.php code not include do_action(‘woocommerce_checkout_order_review’); , my checkout.php page is in my theme repertory and only include :

    <?php

    if ( class_exists( ‘WooCommerce’ ) ) {

    echo do_shortcode(‘[woocommerce_checkout]’);

    }

    ?>

    Shortcodes don’t work on my site when i place in the WordPress page builder, only when I echo with php…

    Maybe i need to create a blank checkout page with the shortcode in it with my customization added by template, what do you think ? The website is now live at this link : https://httpsarchive.com/?woo-share=lxQqmzuAy8jJhZAjPKtCljDyjsuvHyG3 (not the ancient one)

    I would say that the JavaScript files that are responsible for the payment are completely missing. Take a look at how the WooPayments plugin you installed integrates these. If you have any questions, please contact their support forum: https://www.ads-software.com/plugins/woocommerce-payments/

    Thread Starter qt1thm

    (@qt1thm)

    thanks, i noticed this too but i think the issue is linked just with woocommerce. I tried lots of changes and each time woocommerce pages dont display normally… Checkout, cart and single products cant showing up with no reason. Even with no added function and templates instead of hard php pages, it not display the cart, the checkout or the single product (with shortcode in the cart and the checkout wordpress page builder and Woopayment pages linked)… My plugins and wordpress are updated. I think something simple is missing.

    Thread Starter qt1thm

    (@qt1thm)

    Just changed the way my nav was working. I use shortcodes and wordpress page builder then i apply my custom php via template. My index.php was not able to return posts and content before.

    It dont change anything… My woopayment/stripe account is restricted, i need to update my info, maybe everything came from this ahah. If someone have a better idea, i posted the access link above.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.