WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Problem with support my theme and pay (1 post)

  1. olegga88
    Member
    Posted 1 year ago #

    I created my own wordpress theme. But i'm a beginner in development

    I use robokassa payment gateway for my e-shop. And i have a problem on the page where is the following shortcode: [woocommerce_pay].

    I'll try to describe:
    When i add to cart some products, then i fill the shipping form, and i choose robokassa payment gateway and on the page "pay" there is no button "pay" what must send me to payment gateway site. So i can't buy on my site. It's because of there is no following code:

    <p>Thank you. Now i can press the button "pay" for pay your order</p><form action="https://merchant.roboxchange.com/Index.aspx" method="POST" id="robokassa_payment_form">
    <input type="hidden" name="MrchLogin" value="[login]" />
    <input type="hidden" name="OutSum" value="[price]" />
    <input type="hidden" name="InvId" value="[...]" />
    <input type="hidden" name="SignatureValue" value="[...]" />
    <input type="hidden" name="Shp_item" value="[...]" />
    <input type="hidden" name="Culture" value="ru" /><input type="submit" class="button alt" id="submit_robokassa_payment_form" value="Оплатить" /> <a class="button cancel" href="http://mysitedomain.ru/?order_id=[...]&order=order_[...]&cancel_order=true&_n=[...]">Сancel the order</a>
    </form>

    But when i change my wordpress theme to any other everything is ok, and there is button "pay" and i can do it! So i see that problem is in my theme

    I think that i must wrote some code to header.php or functions.php or page.php to support woocommerce. But i'm a beginner, and i don't know what to write. This is the one problem that i have with my theme and woocommerce.

    i use last versions of wordpress, woocommerce, robokassa payment gateway.
    Please help.
    Thank you!

    http://wordpress.org/extend/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic