WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Integrating Payment Processor

Integrating Payment Processor

  • I’m planning to integrate a payment processor into my checkout Woocommerce plugin.

    The platform I’m using accepts payments through bank cards. They provide the following lines of code for website integration (into their framework).

    <div width="120px">
    <form method="post" action="https://voguepay.com/pay/">
    Enter Amount<br />
    <input type="text" name="total" style="width:120px" /><br />
    <input type="hidden" name="v_merchant_id" value="12347-5552" />
    <input type="hidden" name="notify_url" value="" />
    <input type="hidden" name="success_url" value="" />
    <input type="hidden" name="fail_url" value="" />
    <input type="hidden" name="memo" value="Payment to G Accessories" />
    <input type="image" src="http://voguepay.com/images/buttons/make_payment_blue.png" alt="PAY" />
    </form>
    </div>

    I inserted it in the ‘Edit Page’ text box for my Checkout page (under the [woocommerce_checkout] shortcode).

    On testing, when I click on ‘Place Order’, the following error comes up (just the raw code shows up on the page):

    {"result":"failure","messages":"
    
        \n\t\t\t
        Action failed. Please refresh the page and retry.<\/li>\n\t\t\t
        Sorry, your session has expired. Return to homepage →<\/a><\/li>\n\t\t\t
        First Name<\/strong> is a required field.<\/li>\n\t\t\t
        Last Name<\/strong> is a required field.<\/li>\n\t\t\t
        Address<\/strong> is a required field.<\/li>\n\t\t\t
        Town\/City<\/strong> is a required field.<\/li>\n\t\t\t
        Postcode\/Zip<\/strong> is a required field.<\/li>\n\t\t\t
        Country<\/strong> is a required field.<\/li>\n\t\t\t
        State\/County<\/strong> is a required field.<\/li>\n\t\t\t
        Email Address<\/strong> is a required field.<\/li>\n\t\t\t
        Phone<\/strong> is a required field.<\/li>\n\t<\/ul>","refresh":"false"}

    How would you advise that I would integrate this payment option (which is the primary, maybe only one) that I plan to use, into Woocommerce.

    Thanks a lot.

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Integrating Payment Processor’ is closed to new replies.
Skip to toolbar